1
0
Fork 0

Fix e2e tests

This commit is contained in:
Chocobozzz 2022-04-20 10:53:45 +02:00
parent 4b7a20d88b
commit 2024a3b933
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 2 additions and 4 deletions

View File

@ -52,10 +52,8 @@ export class VideoWatchPage {
await $('.vjs-big-play-button').waitForDisplayed() await $('.vjs-big-play-button').waitForDisplayed()
} }
async isEmbedWarningDisplayed () { isEmbedWarningDisplayed () {
const text = await $('.vjs-dock-description').getText() return $('.peertube-dock-description').isDisplayed()
return !!text.trim()
} }
goOnP2PMediaLoaderEmbed () { goOnP2PMediaLoaderEmbed () {