Added Axe reporting functionality to run accessibility tests and generate a report.
Added ability to run non-headless tests on MacOS using Chrome.
Updated invalid characters to be replaced in 'remove_invalid_characters' function.
Motivation and Context
Allows NHSuk testers to automate accessibility testing using the Axe Tool. This will generate a report locally and in Azure which will allow the frontend devs to make improvements.
A user with a Mac can now use this framework the same way as a Windows user. The Chromedriver file needs to be placed in the browser_executables folder.
Additional special characters are replaced. The new characters to be replaced were added to an exiting function.
Checklist
[x] Verified in Test PyPi
[x] New and/or updated tests
[x] All the unit tests are passing.
This is enforced automatically as part of the pull request, but we'd appreciate you running locally first.
[x] Linting score remains above threshold.
This is enforced automatically as part of the pull request, but we'd appreciate you running locally first.
Description
Added Axe reporting functionality to run accessibility tests and generate a report. Added ability to run non-headless tests on MacOS using Chrome. Updated invalid characters to be replaced in 'remove_invalid_characters' function.
Motivation and Context
Allows NHSuk testers to automate accessibility testing using the Axe Tool. This will generate a report locally and in Azure which will allow the frontend devs to make improvements. A user with a Mac can now use this framework the same way as a Windows user. The Chromedriver file needs to be placed in the browser_executables folder. Additional special characters are replaced. The new characters to be replaced were added to an exiting function.
Checklist
CHANGELOG