Skip to content

hmcts/cuira-accessibility

Repository files navigation

Playwright Project

This project is set up for automated UI accessibility testing of CUIRA pages using Playwright (tests written in JavaScript) as well as Axe-core for testing against WCAG 2.2 guidelines.

Running Tests

Run Checklist Tests

This is to run tests and view results using Allure Reporting. First run the following

npm run test-allure:checklist

Once tests have completed, run the following to open the Allure report

npm run allure-generate

Run all tests on all browsers:

npm run test-allure:all

Run tests in headed mode (For test purpose): Uncomment lines 114-123 in the playwright.config.js file.

npm run test:cui-headed

Structure

  • tests/cui: Test folders for each website
  • page-objects/: Page Object Model files
  • utils/: Shared utilities (e.g., accessibility helpers)
  • data/: Test data files

Best Practices

  • Use tags (e.g., @checklist, @smoke) for filtering

About

Automated accessibility tests for CUI-RA using Playwright and axe-core. This project uses Playwright for browser automation and axe-core to audit compliance with WCAG accessibility standards in the CUI-RA application.

Resources

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors