diff options
author | Chocobozzz <me@florianbigard.com> | 2018-05-19 13:58:29 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-05-22 09:17:21 +0200 |
commit | 0b33c5206023de0946b247e767087a518e0dec9a (patch) | |
tree | 69bebf7db9271c54938ce9457b43eff15222e243 /client/e2e/src/po/login.po.ts | |
parent | cd4d7a2ca868209fb1e2dbd790c1e5d6cca77e86 (diff) | |
download | PeerTube-0b33c5206023de0946b247e767087a518e0dec9a.tar.gz PeerTube-0b33c5206023de0946b247e767087a518e0dec9a.tar.zst PeerTube-0b33c5206023de0946b247e767087a518e0dec9a.zip |
Improve e2e tests
Diffstat (limited to 'client/e2e/src/po/login.po.ts')
-rw-r--r-- | client/e2e/src/po/login.po.ts | 6 |
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 | ||