From 61c299eb24016dc6c76cf0c7a6fc6b05ccb654fc Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 7 Aug 2020 14:03:46 +0200 Subject: Add ipad e2e test --- client/e2e/src/po/player.po.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'client/e2e/src/po/player.po.ts') diff --git a/client/e2e/src/po/player.po.ts b/client/e2e/src/po/player.po.ts index c03f20c68..bc61704fb 100644 --- a/client/e2e/src/po/player.po.ts +++ b/client/e2e/src/po/player.po.ts @@ -28,11 +28,11 @@ export class PlayerPage { const videojsEl = element(by.css('div.video-js')) await browser.wait(browser.ExpectedConditions.elementToBeClickable(videojsEl)) - // On Android, we need to click twice on "play" (BrowserStack particularity) if (await isMobileDevice()) { await browserSleep(5000) - await videojsEl.click() + // On Android, we need to click twice on "play" (BrowserStack particularity) + if (!await isIOS()) await videojsEl.click() } browser.ignoreSynchronization = false -- cgit v1.2.3