summary refs log tree commit diff
path: root/webclient/login/login.html
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2014-09-22 15:00:23 +0100
committerKegan Dougal <kegan@matrix.org>2014-09-22 15:00:23 +0100
commit90f5eb12701bb7e623c176aa123aad41652f3417 (patch)
treedbc10aa2976e06a10523f64c86312f111c809746 /webclient/login/login.html
parentUpdated test README to include a section on environment-protractor.js (diff)
downloadsynapse-90f5eb12701bb7e623c176aa123aad41652f3417.tar.xz
Set required environment variables for e2e testing.
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.
Diffstat (limited to 'webclient/login/login.html')
-rw-r--r--webclient/login/login.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/webclient/login/login.html b/webclient/login/login.html
index 6297ec4d42..6b321f8fc5 100644
--- a/webclient/login/login.html
+++ b/webclient/login/login.html
@@ -23,7 +23,7 @@
                     <br/>
                     <input id="password" size="32" type="password" ng-model="account.password" placeholder="Password"/>
                     <br/><br/>
-                    <button ng-click="login()" ng-disabled="!account.user_id || !account.password || !account.homeserver">Login</button>
+                    <button id="login" ng-click="login()" ng-disabled="!account.user_id || !account.password || !account.homeserver">Login</button>
                     <br/><br/>
                 </div>