aboutsummaryrefslogtreecommitdiffhomepage
path: root/client
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-04-20 10:53:45 +0200
committerChocobozzz <me@florianbigard.com>2022-04-20 10:53:45 +0200
commit2024a3b9338d667640aa115da6071ea83d088c50 (patch)
treec411766215535f22fafff35d8ba57fd919f3668c /client
parent4b7a20d88b11b2935aca0605c43b34bba745b40c (diff)
downloadPeerTube-2024a3b9338d667640aa115da6071ea83d088c50.tar.gz
PeerTube-2024a3b9338d667640aa115da6071ea83d088c50.tar.zst
PeerTube-2024a3b9338d667640aa115da6071ea83d088c50.zip
Fix e2e tests
Diffstat (limited to 'client')
-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 () {