diff options
author | Chocobozzz <me@florianbigard.com> | 2021-10-14 11:50:22 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-10-14 11:50:22 +0200 |
commit | afb7d2d5c6ca09d2c678781ae4dd3f527604c1b4 (patch) | |
tree | e0b9c2039c541f5866c596b1531f820fc938ca50 /client/e2e/src | |
parent | 37cd44d04f2ad4d90535d28340c78d8d85b31f18 (diff) | |
download | PeerTube-afb7d2d5c6ca09d2c678781ae4dd3f527604c1b4.tar.gz PeerTube-afb7d2d5c6ca09d2c678781ae4dd3f527604c1b4.tar.zst PeerTube-afb7d2d5c6ca09d2c678781ae4dd3f527604c1b4.zip |
Remove protractor workaround
We don't use it anymore
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) { |