-
Notifications
You must be signed in to change notification settings - Fork 115
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
Introduce ARIA snapshot tests for all components #3271
Conversation
|
… state * The markup shouldn't change based on the theme so let's just generate the snapshot for one component on default theme. * The markup may change based on interaction so add support for that.
|
@@ -0,0 +1,63 @@ | |||
- toolbar: |
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.
Is it useful or possible to throw these snapshots into axe testing?
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.
Essentially I am wondering if we can use these snapshots to validate that the markup is correct ... This might be a pointless question if we are already running axe on lookbook.
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.
We already have Axe tests running against these previews and in interactions that take place in system tests 🎉 .
7fbf826
to
3afd47a
Compare
73c8b4b
to
d850a1c
Compare
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.
Cool! Sounds good to me 👍
why aren't the checks kicking off 😠 |
I'm ignoring the broken "Demo Build & Deploy" check per #3258 (comment). |
What are you trying to accomplish?
This PR:
Why is this helpful?
Consequences
Integration
List the issues that this change affects.
Closes # (type the GitHub issue number after #)
Risk Assessment
What approach did you choose and why?
Anything you want to highlight for special attention from reviewers?
Merge checklist
Take a look at the What we look for in reviews section of the contributing guidelines for more information on how we review PRs.