/accessibility-testing-with-cypress

Learn acccessibility-testing-with-cypres

Primary LanguageJavaScript

Accessibility testing with Cypress

CircleCI

A repository to test accessibility issues with Cypress.

Set up instructions.

1. Clone app and install dependencies.

# Clone repository
git clone https://github.com/mwaz/accessibility-testing-with-cypress.

# CD into the directory 
cd accessibility-testing-with-cypress

# Install dependencies 
npm install

2. Start web app server

# default application server is port :3000
npm start

3. Running tests with accessibility violations

# checkout 'main' branch using git on cloned repository
git checkout main

# run test command
npx cypress run

4. Running tests without accessibility violations

# checkout 'fix/accessibility-violations' branch using git on cloned repository

git checkout main

# run test command
npx cypress run