diff options
author | Chocobozzz <me@florianbigard.com> | 2023-02-27 10:44:32 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-02-27 11:58:35 +0100 |
commit | 5b94394a1a6d471f897d14ac62fe7bec5f9a74c2 (patch) | |
tree | 2bc32ce7f620968f6eb5864f01b29af5a8869231 /client/e2e/src/po/login.po.ts | |
parent | 2be1fecc99dbc788c01d8dea381126212960f8a1 (diff) | |
download | PeerTube-5b94394a1a6d471f897d14ac62fe7bec5f9a74c2.tar.gz PeerTube-5b94394a1a6d471f897d14ac62fe7bec5f9a74c2.tar.zst PeerTube-5b94394a1a6d471f897d14ac62fe7bec5f9a74c2.zip |
Fix E2E with firefox
Diffstat (limited to 'client/e2e/src/po/login.po.ts')
-rw-r--r-- | client/e2e/src/po/login.po.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/client/e2e/src/po/login.po.ts b/client/e2e/src/po/login.po.ts index f1d13a2b0..30469cf1b 100644 --- a/client/e2e/src/po/login.po.ts +++ b/client/e2e/src/po/login.po.ts | |||
@@ -60,6 +60,10 @@ export class LoginPage { | |||
60 | } | 60 | } |
61 | 61 | ||
62 | loginOnPeerTube2 () { | 62 | loginOnPeerTube2 () { |
63 | if (!process.env.PEERTUBE2_E2E_PASSWORD) { | ||
64 | throw new Error('PEERTUBE2_E2E_PASSWORD env is missing for user e2e on peertube2.cpy.re') | ||
65 | } | ||
66 | |||
63 | return this.login({ username: 'e2e', password: process.env.PEERTUBE2_E2E_PASSWORD, url: 'https://peertube2.cpy.re/login' }) | 67 | return this.login({ username: 'e2e', password: process.env.PEERTUBE2_E2E_PASSWORD, url: 'https://peertube2.cpy.re/login' }) |
64 | } | 68 | } |
65 | 69 | ||