diff options
Diffstat (limited to 'client/e2e/src')
-rw-r--r-- | client/e2e/src/po/player.po.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/e2e/src/po/player.po.ts b/client/e2e/src/po/player.po.ts index fca3bcdba..a20e683bc 100644 --- a/client/e2e/src/po/player.po.ts +++ b/client/e2e/src/po/player.po.ts | |||
@@ -35,7 +35,7 @@ export class PlayerPage { | |||
35 | 35 | ||
36 | // Autoplay is disabled on iOS and Safari | 36 | // Autoplay is disabled on iOS and Safari |
37 | if (isIOS() || isSafari() || isMobileDevice()) { | 37 | if (isIOS() || isSafari() || isMobileDevice()) { |
38 | // We can't play the video using protractor if it is not muted | 38 | // We can't play the video if it is not muted |
39 | await browser.execute(`document.querySelector('video').muted = true`) | 39 | await browser.execute(`document.querySelector('video').muted = true`) |
40 | await this.clickOnPlayButton() | 40 | await this.clickOnPlayButton() |
41 | } else if (isAutoplay === false) { | 41 | } else if (isAutoplay === false) { |