zr-cypress-tests
v1.0.2
Published
test description
Downloads
3
Readme
README
Leverage Cypress and Axe to perform automated accessibility tests
How do I get set up?
- Ensure that AVN has activated node 18.12.1
- Install dependencies:
npm install
Running Cypress Axe Accessibility tests
npx cypress open
opens the interactive Cypress dashboard.- select E2E Testing and choose a browser
- Write and run tests in the
cypress/e2e
directory. cypress run --record --browser chrome --key c11f7f50-efc2-40c6-a592-ad950f008761
runs and records tests.control + C
stops cypress.
Cypress Dashboard
- To view recorded test runs, go to
https://cloud.cypress.io/organizations/50ef64a5-e5b2-4024-9582-4a2187c5b651/projects
- Login credentials are in lastpass
Cypress Resources
- Documentation on
cypress run
: https://docs.cypress.io/guides/guides/command-line#cypress-run - Using cypress with axe: https://timdeschryver.dev/blog/setting-up-cypress-with-axe-for-accessibility#configuration