Fix e2e tests
This commit is contained in:
parent
4b7a20d88b
commit
2024a3b933
|
@ -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 () {
|
||||||
|
|
Loading…
Reference in New Issue