summary refs log tree commit diff
path: root/webclient/test/README (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add working protractor e2e test.Kegan Dougal2014-09-221-1/+2
| | | | | | | | This uses the ignoreSynchronization flag because of the longpoll on the event stream. It would be better to use $interval, but couldn't get that to *reliably* work when testing. I suspect that $interval won't help us here, since there is genuinely an open $http connection, as we're doing a long poll. https://github.com/angular/protractor/issues/49 for more info.
* Set required environment variables for e2e testing.Kegan Dougal2014-09-221-2/+6
| | | | | Added an 'id' to the login button so it can be automatically triggered. Also, added an onPrepare section to protractor.conf to do the login.
* Updated test README to include a section on environment-protractor.jsKegan Dougal2014-09-221-0/+6
| | | | The environment file is .gitignored so random selenium servers aren't accidentally pushed.
* Added boilerplate for running end-to-end tests.\nThis is done using ↵Kegan Dougal2014-09-221-2/+15
| | | | Protractor, which looks for a .gitignored file environment-protractor.js which contains the selenium endpoint url.
* Fixed unit test; it all actually works. Added a README for running the tests ↵Kegan Dougal2014-09-221-0/+9
with karma/jasmine.