summary refs log tree commit diff
path: root/webclient/test/e2e
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/e2e
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/e2e')
-rw-r--r--webclient/test/e2e/user.spec.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/webclient/test/e2e/user.spec.js b/webclient/test/e2e/user.spec.js
new file mode 100644
index 0000000000..bbac53899b
--- /dev/null
+++ b/webclient/test/e2e/user.spec.js
@@ -0,0 +1,6 @@
+describe("user page", function() {
+    it("should have a title", function() {
+        browser.get("http://matrix.org/alpha/#/login");
+        expect(browser.getTitle()).toEqual("[matrix]");
+    });
+});