diff options
Diffstat (limited to 'client/e2e/src/videos.e2e-spec.ts')
-rw-r--r-- | client/e2e/src/videos.e2e-spec.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/client/e2e/src/videos.e2e-spec.ts b/client/e2e/src/videos.e2e-spec.ts index 0cba8331f..bbc5f7da3 100644 --- a/client/e2e/src/videos.e2e-spec.ts +++ b/client/e2e/src/videos.e2e-spec.ts | |||
@@ -99,7 +99,7 @@ describe('Videos workflow', () => { | |||
99 | it('Should play the video', async () => { | 99 | it('Should play the video', async () => { |
100 | videoWatchUrl = await browser.getCurrentUrl() | 100 | videoWatchUrl = await browser.getCurrentUrl() |
101 | 101 | ||
102 | await videoWatchPage.playAndPauseVideo(true, await isMobileDevice()) | 102 | await videoWatchPage.playAndPauseVideo(true) |
103 | expect(videoWatchPage.getWatchVideoPlayerCurrentTime()).toBeGreaterThanOrEqual(2) | 103 | expect(videoWatchPage.getWatchVideoPlayerCurrentTime()).toBeGreaterThanOrEqual(2) |
104 | }) | 104 | }) |
105 | 105 | ||
@@ -108,7 +108,7 @@ describe('Videos workflow', () => { | |||
108 | 108 | ||
109 | await videoWatchPage.goOnAssociatedEmbed() | 109 | await videoWatchPage.goOnAssociatedEmbed() |
110 | 110 | ||
111 | await videoWatchPage.playAndPauseVideo(false, await isMobileDevice()) | 111 | await videoWatchPage.playAndPauseVideo(false) |
112 | expect(videoWatchPage.getWatchVideoPlayerCurrentTime()).toBeGreaterThanOrEqual(2) | 112 | expect(videoWatchPage.getWatchVideoPlayerCurrentTime()).toBeGreaterThanOrEqual(2) |
113 | 113 | ||
114 | await browser.waitForAngularEnabled(true) | 114 | await browser.waitForAngularEnabled(true) |
@@ -119,7 +119,7 @@ describe('Videos workflow', () => { | |||
119 | 119 | ||
120 | await videoWatchPage.goOnP2PMediaLoaderEmbed() | 120 | await videoWatchPage.goOnP2PMediaLoaderEmbed() |
121 | 121 | ||
122 | await videoWatchPage.playAndPauseVideo(false, await isMobileDevice()) | 122 | await videoWatchPage.playAndPauseVideo(false) |
123 | expect(videoWatchPage.getWatchVideoPlayerCurrentTime()).toBeGreaterThanOrEqual(2) | 123 | expect(videoWatchPage.getWatchVideoPlayerCurrentTime()).toBeGreaterThanOrEqual(2) |
124 | 124 | ||
125 | await browser.waitForAngularEnabled(true) | 125 | await browser.waitForAngularEnabled(true) |