-
Notifications
You must be signed in to change notification settings - Fork 2
added test-id to button element - related to pr2496 #2534
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good but the snapshots need to be updated too (yarn test -u
I think?) and there's a tiny indentation thing.
<Styled.CloseIconButton onClick={this.props.onClose}> | ||
<Styled.CloseIconButton | ||
onClick={this.props.onClose} | ||
data-testid='close-search-noresults' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
162 and 163 should be indented
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jivey I think they are indented, it's just how it is shown here in github, no?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I mean indented 2 more spaces so visually it's easy to tell where the tag properties are - here's an example:
rex-web/src/app/content/search/components/SearchResultsSidebar/SearchResultsBarWrapper.tsx
Line 78 in 65e0347
aria-label={useIntl().formatMessage({id: 'i18n:search-results:bar'})} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok. on it. missed that...
All tests passed. Those 2 playwright tests are known and waiting for updates and deploy of rex |
relates to #2496
added test-id as per discussion with @Dantemss
https://openstax.atlassian.net/browse/CORE-988