From 814e9e07ba65446af8446dbbd2f0d70c85fd1b33 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 28 Oct 2022 11:19:54 +0200 Subject: Improve E2E tests Add tests for private video static endpoints Fix tests for local firefox --- client/e2e/src/po/video-watch.po.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'client/e2e/src/po/video-watch.po.ts') diff --git a/client/e2e/src/po/video-watch.po.ts b/client/e2e/src/po/video-watch.po.ts index 65bf21837..982c90908 100644 --- a/client/e2e/src/po/video-watch.po.ts +++ b/client/e2e/src/po/video-watch.po.ts @@ -49,7 +49,11 @@ export class VideoWatchPage { url = url.replace(':3333', ':9001') await go(url) - await $('.vjs-big-play-button').waitForDisplayed() + await this.waitEmbedForDisplayed() + } + + waitEmbedForDisplayed () { + return $('.vjs-big-play-button').waitForDisplayed() } isEmbedWarningDisplayed () { -- cgit v1.2.3