-
Notifications
You must be signed in to change notification settings - Fork 160
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
feat(accessibility-testing): introduce cypress-axe-core #8233
feat(accessibility-testing): introduce cypress-axe-core #8233
Conversation
Deploy preview created for package Built with commit: badbc88e83c2b1c5365dff058afdb38c4a324bfc |
Deploy preview created for package Built with commit: badbc88e83c2b1c5365dff058afdb38c4a324bfc |
Deploy preview created for package Built with commit: badbc88e83c2b1c5365dff058afdb38c4a324bfc |
Deploy preview created for package Built with commit: badbc88e83c2b1c5365dff058afdb38c4a324bfc |
Deploy preview created for package Built with commit: badbc88e83c2b1c5365dff058afdb38c4a324bfc |
Deploy preview created for package Built with commit: badbc88e83c2b1c5365dff058afdb38c4a324bfc |
Deploy preview created for package Built with commit: badbc88e83c2b1c5365dff058afdb38c4a324bfc |
The cloud-masthead e2e failures look like what I would expect if the tests are running without the experimental platform feature. @proeung Do you know how to enable that for a specific PR? |
packages/web-components/tests/e2e-storybook/cypress/plugins/index.js
Outdated
Show resolved
Hide resolved
Deploy preview created for package Built with commit: badbc88e83c2b1c5365dff058afdb38c4a324bfc |
Deploy preview created for package Built with commit: badbc88e83c2b1c5365dff058afdb38c4a324bfc |
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.
Thank you @ariellalgilmore !
### Related Ticket(s) #8233 #8147 ### Description This PR downgrades Cypress in the `web-components` package back to v8.1.0 due to out of memory issues present in v8.2+ Firefox is also added to the browsers matrix again for end to end tests <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) -->
Related Ticket(s)
#8063
Description
Add axe-core with cypress.
Changelog
New
checkAxeA11y
which callscheckA11y
context
andadditionalRules
cy.injectAxe()
andcy.checkAxeA11y()
plugins/index.js
for us to use to be able to log as we test and use the table which is being used to print the validationscritical
issues and always returning true -> will change in the future as we resovle issuescy.checkAxeA11y()