aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/e2e
diff options
context:
space:
mode:
Diffstat (limited to 'client/e2e')
-rw-r--r--client/e2e/src/po/video-watch.po.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/client/e2e/src/po/video-watch.po.ts b/client/e2e/src/po/video-watch.po.ts
index fce8a6c3d..13f4ae945 100644
--- a/client/e2e/src/po/video-watch.po.ts
+++ b/client/e2e/src/po/video-watch.po.ts
@@ -54,6 +54,12 @@ export class VideoWatchPage {
54 const videojsEl = element(by.css('div.video-js')) 54 const videojsEl = element(by.css('div.video-js'))
55 await browser.wait(browser.ExpectedConditions.elementToBeClickable(videojsEl)) 55 await browser.wait(browser.ExpectedConditions.elementToBeClickable(videojsEl))
56 56
57 // On Android, we need to click twice on "play" (BrowserStack particularity)
58 if (isMobileDevice) {
59 await browser.sleep(3000)
60 await videojsEl.click()
61 }
62
57 await browser.sleep(7000) 63 await browser.sleep(7000)
58 64
59 return videojsEl.click() 65 return videojsEl.click()