aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/e2e/src/po/login.po.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-04-20 15:36:00 +0200
committerChocobozzz <me@florianbigard.com>2021-04-20 15:36:00 +0200
commit51b66ea7cb39f075f4deb8ea92ba70f3be289769 (patch)
tree62c60473bcec76c44ebbb3b52e762eeaafc8beb3 /client/e2e/src/po/login.po.ts
parent9929fbd6f4e209346cd31d05888417a94949da84 (diff)
downloadPeerTube-51b66ea7cb39f075f4deb8ea92ba70f3be289769.tar.gz
PeerTube-51b66ea7cb39f075f4deb8ea92ba70f3be289769.tar.zst
PeerTube-51b66ea7cb39f075f4deb8ea92ba70f3be289769.zip
Fix E2E tests
Diffstat (limited to 'client/e2e/src/po/login.po.ts')
-rw-r--r--client/e2e/src/po/login.po.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/client/e2e/src/po/login.po.ts b/client/e2e/src/po/login.po.ts
index 90b65c7ea..20412ee0d 100644
--- a/client/e2e/src/po/login.po.ts
+++ b/client/e2e/src/po/login.po.ts
@@ -4,6 +4,9 @@ export class LoginPage {
4 async loginAsRootUser () { 4 async loginAsRootUser () {
5 await browser.get('/login') 5 await browser.get('/login')
6 6
7 await browser.executeScript(`window.localStorage.setItem('no_instance_config_warning_modal', 'true')`)
8 await browser.executeScript(`window.localStorage.setItem('no_welcome_modal', 'true')`)
9
7 element(by.css('input#username')).sendKeys('root') 10 element(by.css('input#username')).sendKeys('root')
8 element(by.css('input#password')).sendKeys('test1') 11 element(by.css('input#password')).sendKeys('test1')
9 12