summary refs log tree commit diff
path: root/webclient/test (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Move webclient to a python module so that it can be installedMark Haines2014-11-045-233/+0
|
* Don't need this; should be on -g path.Kegan Dougal2014-11-041-1/+0
|
* Use phantomjs as the default browser and not chrome.Kegan Dougal2014-11-042-7/+25
|
* Update karma.conf.js to A: actually run the tests, and B: generate JUnit XML.Kegan Dougal2014-11-041-3/+13
|
* Add working protractor e2e test.Kegan Dougal2014-09-224-8/+26
| | | | | | | | 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-222-5/+14
| | | | | 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-224-6/+29
| | | | 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.
* Added test directory, karma conf, and angular-mocks. Expect it to work? Pah, ↵Kegan Dougal2014-09-182-0/+141
not yet.