diff options
author | Chocobozzz <me@florianbigard.com> | 2022-10-28 11:19:54 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-10-28 15:22:40 +0200 |
commit | 814e9e07ba65446af8446dbbd2f0d70c85fd1b33 (patch) | |
tree | 9c1f130d4a773208c5bdf33ec942be060e3c3ad2 /client/e2e/src/po/video-watch.po.ts | |
parent | 672e185bf3004b46552c227483ffd2802ebf6844 (diff) | |
download | PeerTube-814e9e07ba65446af8446dbbd2f0d70c85fd1b33.tar.gz PeerTube-814e9e07ba65446af8446dbbd2f0d70c85fd1b33.tar.zst PeerTube-814e9e07ba65446af8446dbbd2f0d70c85fd1b33.zip |
Improve E2E tests
Add tests for private video static endpoints
Fix tests for local firefox
Diffstat (limited to 'client/e2e/src/po/video-watch.po.ts')
-rw-r--r-- | client/e2e/src/po/video-watch.po.ts | 6 |
1 files changed, 5 insertions, 1 deletions
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 { | |||
49 | url = url.replace(':3333', ':9001') | 49 | url = url.replace(':3333', ':9001') |
50 | 50 | ||
51 | await go(url) | 51 | await go(url) |
52 | await $('.vjs-big-play-button').waitForDisplayed() | 52 | await this.waitEmbedForDisplayed() |
53 | } | ||
54 | |||
55 | waitEmbedForDisplayed () { | ||
56 | return $('.vjs-big-play-button').waitForDisplayed() | ||
53 | } | 57 | } |
54 | 58 | ||
55 | isEmbedWarningDisplayed () { | 59 | isEmbedWarningDisplayed () { |