mirror of https://github.com/Chocobozzz/PeerTube
Fix local E2E timeout
parent
078c97b357
commit
19dbbdafcc
|
@ -40,7 +40,7 @@ export class PlayerPage {
|
||||||
|
|
||||||
await browser.waitUntil(async () => {
|
await browser.waitUntil(async () => {
|
||||||
return (await this.getWatchVideoPlayerCurrentTime()) >= waitUntilSec
|
return (await this.getWatchVideoPlayerCurrentTime()) >= waitUntilSec
|
||||||
})
|
}, { timeout: waitUntilSec * 2 * 1000 })
|
||||||
|
|
||||||
// Pause video
|
// Pause video
|
||||||
await $('div.video-js').click()
|
await $('div.video-js').click()
|
||||||
|
|
Loading…
Reference in New Issue