From 5b94394a1a6d471f897d14ac62fe7bec5f9a74c2 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 27 Feb 2023 10:44:32 +0100 Subject: Fix E2E with firefox --- client/e2e/src/po/login.po.ts | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'client/e2e/src/po') 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 { } loginOnPeerTube2 () { + if (!process.env.PEERTUBE2_E2E_PASSWORD) { + throw new Error('PEERTUBE2_E2E_PASSWORD env is missing for user e2e on peertube2.cpy.re') + } + return this.login({ username: 'e2e', password: process.env.PEERTUBE2_E2E_PASSWORD, url: 'https://peertube2.cpy.re/login' }) } -- cgit v1.2.3