Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix e2e tests

Chocobozzz2024a3b9338d
diff --git a/client/e2e/src/po/video-watch.po.ts b/client/e2e/src/po/video-watch.po.ts
index cecda3a8b9..65bf218370 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 {
await $('.vjs-big-play-button').waitForDisplayed()
}
- async isEmbedWarningDisplayed () {
- const text = await $('.vjs-dock-description').getText()
-
- return !!text.trim()
+ isEmbedWarningDisplayed () {
+ return $('.peertube-dock-description').isDisplayed()
}
goOnP2PMediaLoaderEmbed () {