You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.
Debra Willrett edited this page Mar 16, 2017
·
22 revisions
Running the tests
Unit Tests
Tests are written in Jasmine and run with the Karma test runner.
To avoid Google Analytics errors while running Karma tests the value of analyticsKey in the tracking-service.conf.json file should be the string false.
To run the tests:
npm test
To have karma watch for changes:
$ karma start
End-to-end (e2e) Tests
e2e tests use Protractor. To run them, make sure you are on node version 6. Then install dependencies:
$ nvm node 6 (if you need to update it)
$ npm install
$ npm gulp -g
$ npm protractor -g
$ webdriver-manager update
To run the tests:
$ webdriver-manager start
Now open another terminal window. Make sure you gulp first before running e2e the first time.