UI Tests
The Traffic Portal UI tests use Protractor, which thus must be installed prior to their execution. To run them, follow these steps:
- Start up Selenium Server - typically done with
webdriver-manager start
- Make sure Traffic Portal is running (see the official documentation)
- Edit conf.js if necessary to match the environment (most notably ensure the port numbers match those in (../conf/conf.js and that the login credentials are correct).
- Run the tests - typically done with
protractor conf.js
Errors with webdriver
Most errors with webdriver can be remedied by running:
$ webdriver-manager clean
$ webdriver-manager update