Skip to content

Commit

Permalink
Merge pull request #6988 from Sage/FE-6635-react-tabbing-library
Browse files Browse the repository at this point in the history
refactor(tabs): convert tests to use react-testing-library
  • Loading branch information
robinzigmond authored Oct 3, 2024
2 parents 19f1b47 + 49e859f commit f474823
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 f474823

Please sign in to comment.