summary refs log tree commit diff
path: root/webclient/test/README
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2014-09-22 14:29:12 +0100
committerKegan Dougal <kegan@matrix.org>2014-09-22 14:29:12 +0100
commite3152188ef27c1952185764ce0d1c072cb149d99 (patch)
tree068a742d908f5746f96a4a9a522eea0c1dae5d06 /webclient/test/README
parentMerge branch 'master' of github.com:matrix-org/synapse into develop (diff)
downloadsynapse-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/README17
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
+
+
+
+