Fix e2e tests

pull/4935/head
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()
}
async isEmbedWarningDisplayed () {
const text = await $('.vjs-dock-description').getText()
return !!text.trim()
isEmbedWarningDisplayed () {
return $('.peertube-dock-description').isDisplayed()
}
goOnP2PMediaLoaderEmbed () {