aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/e2e/src/po/video-watch.po.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/e2e/src/po/video-watch.po.ts')
-rw-r--r--client/e2e/src/po/video-watch.po.ts6
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 () {