Axe-core is now fully integrated in to the uitestcore framework
No longer necessary to pip install axe-selenium-python-nhsuk in your test pack, the framework handles this
No longer necessary to initialise Axe in your test pack, the framework handles this
Motivation and Context
Prior to this change, to run Axe-core you would need to pip install a git version of axe-selenium-python and run npm install in your test pack and then initialise the Axe class. The framework would then handle the running and reporting of the initialised Axe class.
Now, the framework installs the axe-selenium-python-nhsuk PyPi package during the setup/install. The framework also initialises the Axe class as well the running and reporting. This reduces the amount of setup you would need to do in your own test pack.
Checklist
[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
Axe-core is now fully integrated in to the uitestcore framework
Motivation and Context
Prior to this change, to run Axe-core you would need to pip install a git version of axe-selenium-python and run
npm install
in your test pack and then initialise the Axe class. The framework would then handle the running and reporting of the initialised Axe class. Now, the framework installs the axe-selenium-python-nhsuk PyPi package during the setup/install. The framework also initialises the Axe class as well the running and reporting. This reduces the amount of setup you would need to do in your own test pack.Checklist
CHANGELOG