About Continuum for Protractor
Access Continuum for Protractor allows organizations managing AngularJS applications to embed accessibility testing in their existing automated testing process using Protractor. Protractor (https://www.protractortest.org/#/) is an end-to-end test framework for Angular applications.
Continuum for Protractor includes:
- Access Engine, Level Access' testing engine, specifically the fully automatic tests
- A sample project for Protractor, providing users with an example of how to integrate accessibility testing into their current automated testing process
Getting Started with Continuum Protractor
Access Continuum for Protractor requires Node.js (https://nodejs.org/en/)
Installation and Configuration
- Download Continuum for Protractor from AMP Toolbox
- In the console, cd\ to the directory containing the Continuum for Protractor download and enter 'npm install' to install.
- After installation, update the webdriver:
`node node_modules/protractor/bin/webdriver-manager update`
Testing with Access Continuum for Protractor
- Once installed, you can test with Continuum for Protractor using:
`node node_modules/protractor/bin/protractor ./protractor.conf.js`
Test results will display the list of accessibility errors, along with details to guide remediation efforts. See "Access Continuum Test Results" for more details.
The `spec/e2e/example_app_spec.js` file shows how to use Continuum. Generally speaking, it does the following:
- Converts Access Engine into an injectable format.
- Injects Access Engine into the page when tests are run.