diff options
author | Kegan Dougal <kegan@matrix.org> | 2014-09-22 14:29:12 +0100 |
---|---|---|
committer | Kegan Dougal <kegan@matrix.org> | 2014-09-22 14:29:12 +0100 |
commit | e3152188ef27c1952185764ce0d1c072cb149d99 (patch) | |
tree | 068a742d908f5746f96a4a9a522eea0c1dae5d06 /webclient/test/README | |
parent | Merge branch 'master' of github.com:matrix-org/synapse into develop (diff) | |
download | synapse-e3152188ef27c1952185764ce0d1c072cb149d99.tar.xz |
Added boilerplate for running end-to-end tests.\nThis is done using Protractor, which looks for a .gitignored file environment-protractor.js which contains the selenium endpoint url.
Diffstat (limited to 'webclient/test/README')
-rw-r--r-- | webclient/test/README | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/webclient/test/README b/webclient/test/README index b1e0d7adea..1813883196 100644 --- a/webclient/test/README +++ b/webclient/test/README @@ -1,9 +1,22 @@ Requires: - - npm + - nodejs/npm - npm install karma - npm install jasmine + - npm install protractor (e2e testing) -Setting up continuous integration / run the tests: +Setting up continuous integration / run the unit tests (make sure you're in +this directory so it can find the config file): karma start +Setting up e2e tests (only if you don't have a selenium server to run the tests +on. If you do, edit the config to point to that url): + webdriver-manager update + webdriver-manager start + +Running e2e tests: + protractor protractor.conf.js + + + + |