-
Notifications
You must be signed in to change notification settings - Fork 63
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
chore(store-ui): Add a11y tests for all atoms #988
Conversation
✔️ Deploy Preview for storeui ready! 🔨 Explore the source changes: 441a4b3 🔍 Inspect the deploy log: https://app.netlify.com/sites/storeui/deploys/616885905dbbad0008bedaf6 😎 Browse the preview: https://deploy-preview-988--storeui.netlify.app |
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 441a4b3:
|
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.
Awesome work and initiative! 👏🏻 👏🏻 👏🏻
Co-authored-by: Victor Hugo Miranda Pinto <victor2142@gmail.com>
|
||
await act(async () => { | ||
expect(await axe(getByTestId('store-popover'))).toHaveNoViolations() | ||
}) |
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.
What do you think about adding a click event after to test it also?
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.
The popover is always present so that the click event won't change the popover behavior.
What's the purpose of this pull request?
How it works?
How to test it?
References