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.
Run Checklist Tests
This is to run tests and view results using Allure Reporting. First run the following
npm run test-allure:checklistOnce tests have completed, run the following to open the Allure report
npm run allure-generateRun all tests on all browsers:
npm run test-allure:allRun tests in headed mode (For test purpose):
Uncomment lines 114-123 in the playwright.config.js file.
npm run test:cui-headedtests/cui: Test folders for each websitepage-objects/: Page Object Model filesutils/: Shared utilities (e.g., accessibility helpers)data/: Test data files
- Use tags (e.g.,
@checklist,@smoke) for filtering