diff options
author | Chocobozzz <me@florianbigard.com> | 2020-08-07 14:03:46 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-08-07 14:20:38 +0200 |
commit | 61c299eb24016dc6c76cf0c7a6fc6b05ccb654fc (patch) | |
tree | 7254506ca888a9f90d5d67cf65334f5f62a50728 /client/e2e/src/po | |
parent | d5cefc1fa5b961b9c6f0efb60baf876b3f453658 (diff) | |
download | PeerTube-61c299eb24016dc6c76cf0c7a6fc6b05ccb654fc.tar.gz PeerTube-61c299eb24016dc6c76cf0c7a6fc6b05ccb654fc.tar.zst PeerTube-61c299eb24016dc6c76cf0c7a6fc6b05ccb654fc.zip |
Add ipad e2e test
Diffstat (limited to 'client/e2e/src/po')
-rw-r--r-- | client/e2e/src/po/player.po.ts | 4 |
1 files changed, 2 insertions, 2 deletions
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 { | |||
28 | const videojsEl = element(by.css('div.video-js')) | 28 | const videojsEl = element(by.css('div.video-js')) |
29 | await browser.wait(browser.ExpectedConditions.elementToBeClickable(videojsEl)) | 29 | await browser.wait(browser.ExpectedConditions.elementToBeClickable(videojsEl)) |
30 | 30 | ||
31 | // On Android, we need to click twice on "play" (BrowserStack particularity) | ||
32 | if (await isMobileDevice()) { | 31 | if (await isMobileDevice()) { |
33 | await browserSleep(5000) | 32 | await browserSleep(5000) |
34 | 33 | ||
35 | await videojsEl.click() | 34 | // On Android, we need to click twice on "play" (BrowserStack particularity) |
35 | if (!await isIOS()) await videojsEl.click() | ||
36 | } | 36 | } |
37 | 37 | ||
38 | browser.ignoreSynchronization = false | 38 | browser.ignoreSynchronization = false |