-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
tests: add cypress-axe test for homepage #4362
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
tests: add cypress-axe test for homepage #4362
Conversation
Thanks for the PR, @JoshuaKGoldberg! typescript-eslint is a 100% community driven project, and we are incredibly grateful that you are contributing to that community. The core maintainers work on this in their personal time, so please understand that it may not be possible for them to review your work immediately. Thanks again! 🙏 Please, if you or your company is finding typescript-eslint valuable, help us sustain the project by sponsoring it transparently on https://opencollective.com/typescript-eslint. As a thank you, your profile/company logo will be added to our main README which receives thousands of unique visitors per day. |
❌ Deploy Preview for typescript-eslint failed. 🔨 Explore the source changes: b91a294 🔍 Inspect the deploy log: https://app.netlify.com/sites/typescript-eslint/deploys/6220a16efdccad0007afdbfd |
Codecov Report
@@ Coverage Diff @@
## main #4362 +/- ##
==========================================
+ Coverage 92.41% 92.61% +0.19%
==========================================
Files 350 303 -47
Lines 12059 10988 -1071
Branches 3430 3257 -173
==========================================
- Hits 11144 10176 -968
+ Misses 642 554 -88
+ Partials 273 258 -15
Flags with carried forward coverage won't be shown. Click here to find out more.
|
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.
Better we get the e2e test flake out now than in random unrelated PRs... |
https://www.color-hex.com/color/7d8293 -> that's My hunch from previous Cypress aXe color contrast flake is that the page is still transitioning colors in some way. Other than disabling animations altogether in tests (a little heavyweight IMO) I have yet to implement any better solution than upping the I do want to play with https://developer.mozilla.org/en-US/docs/Web/API/Document/getAnimations though... maybe that's a good library to make. |
PR Checklist
Overview
Uses the failures table logging suggested in cypress-axe's docs:
Screenshot and video artifacts are made available per https://docs.github.com/en/actions/managing-workflow-runs/downloading-workflow-artifacts.