aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/e2e/src/po
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-06-08 11:25:12 +0200
committerChocobozzz <me@florianbigard.com>2018-06-08 11:25:12 +0200
commit7cf26f433f5d93fb5325495bc87bdef87260aada (patch)
tree675e45abf0d63f20e3b6da9293ed5a32e0d1b1a4 /client/e2e/src/po
parentdbe868c07080135cf62ecb8ad556d471c1e6c2ca (diff)
downloadPeerTube-7cf26f433f5d93fb5325495bc87bdef87260aada.tar.gz
PeerTube-7cf26f433f5d93fb5325495bc87bdef87260aada.tar.zst
PeerTube-7cf26f433f5d93fb5325495bc87bdef87260aada.zip
Fix e2e tests
Diffstat (limited to 'client/e2e/src/po')
-rw-r--r--client/e2e/src/po/video-watch.po.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/e2e/src/po/video-watch.po.ts b/client/e2e/src/po/video-watch.po.ts
index 5bb7e5694..fce8a6c3d 100644
--- a/client/e2e/src/po/video-watch.po.ts
+++ b/client/e2e/src/po/video-watch.po.ts
@@ -41,7 +41,7 @@ export class VideoWatchPage {
41 .then(seconds => parseInt(seconds, 10)) 41 .then(seconds => parseInt(seconds, 10))
42 } 42 }
43 43
44 async pauseVideo (isAutoplay: boolean) { 44 async pauseVideo (isAutoplay: boolean, isMobileDevice: boolean) {
45 if (isAutoplay === false) { 45 if (isAutoplay === false) {
46 const playButton = element(by.css('.vjs-big-play-button')) 46 const playButton = element(by.css('.vjs-big-play-button'))
47 await browser.wait(browser.ExpectedConditions.elementToBeClickable(playButton)) 47 await browser.wait(browser.ExpectedConditions.elementToBeClickable(playButton))