Automated Accessibility tests for scope.
Follow instructions on the node.js site to install Node.js.
Follow instructions in the NVM repository to install NVM.
Follow instructions on the Docker Desktop to install Docker.
Run the following in a terminal/command line window to install dependencies.
cd test/e2e
npm i
Running all tests
npx playwright test
Running a single test file
npx playwright test accessibility.spec.ts
Run a set of test files
npx playwright test tests/accessibility/
Run files that have accessibility in the file name
npx playwright test report accessibility
Run the test with the title
npx playwright test -g "accessibility"
Run group of tests with certain tag
npx playwright test --grep @pro
Run multiple groups of tags
npx playwright test --grep @lite | @pro
Skip the tests with a certain tag:
npx playwright test --grep-invert @pro