Skip to content

Commit

Permalink
refactor(tabs): convert tests to use react-testing-library
Browse files Browse the repository at this point in the history
  • Loading branch information
robinzigmond committed Oct 3, 2024
1 parent f73d0d5 commit 15e9a2d
Show file tree
Hide file tree
Showing 13 changed files with 2,617 additions and 3,170 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ const TabTitle = React.forwardRef(
const titleChildren = (
<>
<StyledTitleContent
data-role="tab-title-content"
error={error}
warning={warning}
info={info}
Expand Down Expand Up @@ -218,6 +219,7 @@ const TabTitle = React.forwardRef(
{!(hasFailedValidation || hasAlternateStyling) && isTabSelected && (
<StyledSelectedIndicator
data-element="tab-selected-indicator"
data-role="tab-selected-indicator"
position={position}
/>
)}
Expand Down
Loading

0 comments on commit 15e9a2d

Please sign in to comment.