aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/e2e/src/po/login.po.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/e2e/src/po/login.po.ts')
-rw-r--r--client/e2e/src/po/login.po.ts6
1 files changed, 4 insertions, 2 deletions
diff --git a/client/e2e/src/po/login.po.ts b/client/e2e/src/po/login.po.ts
index 5a36fd611..40f958d2b 100644
--- a/client/e2e/src/po/login.po.ts
+++ b/client/e2e/src/po/login.po.ts
@@ -4,8 +4,10 @@ export class LoginPage {
4 async loginAsRootUser () { 4 async loginAsRootUser () {
5 await browser.get('/login') 5 await browser.get('/login')
6 6
7 await element(by.css('input#username')).sendKeys('root') 7 element(by.css('input#username')).sendKeys('root')
8 await element(by.css('input#password')).sendKeys('test1') 8 element(by.css('input#password')).sendKeys('test1')
9
10 await browser.sleep(1000)
9 11
10 await element(by.css('form input[type=submit]')).click() 12 await element(by.css('form input[type=submit]')).click()
11 13