aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--client/e2e/src/po/video-watch.po.ts6
1 files changed, 2 insertions, 4 deletions
diff --git a/client/e2e/src/po/video-watch.po.ts b/client/e2e/src/po/video-watch.po.ts
index cecda3a8b..65bf21837 100644
--- a/client/e2e/src/po/video-watch.po.ts
+++ b/client/e2e/src/po/video-watch.po.ts
@@ -52,10 +52,8 @@ export class VideoWatchPage {
52 await $('.vjs-big-play-button').waitForDisplayed() 52 await $('.vjs-big-play-button').waitForDisplayed()
53 } 53 }
54 54
55 async isEmbedWarningDisplayed () { 55 isEmbedWarningDisplayed () {
56 const text = await $('.vjs-dock-description').getText() 56 return $('.peertube-dock-description').isDisplayed()
57
58 return !!text.trim()
59 } 57 }
60 58
61 goOnP2PMediaLoaderEmbed () { 59 goOnP2PMediaLoaderEmbed () {