diff options
author | Chocobozzz <me@florianbigard.com> | 2018-05-24 14:33:58 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-05-24 14:35:24 +0200 |
commit | b528582df28f20ec7481d3c73d16b4291fe9c7e7 (patch) | |
tree | 1ff4e7b51e884b1a158bdfcc0f7a53d8fd287588 /client/e2e/src/videos.e2e-spec.ts | |
parent | 108a66f0dac7586f2f7871c6bb77f73cb924f2b3 (diff) | |
download | PeerTube-b528582df28f20ec7481d3c73d16b4291fe9c7e7.tar.gz PeerTube-b528582df28f20ec7481d3c73d16b4291fe9c7e7.tar.zst PeerTube-b528582df28f20ec7481d3c73d16b4291fe9c7e7.zip |
Clean up E2E tests
Diffstat (limited to 'client/e2e/src/videos.e2e-spec.ts')
-rw-r--r-- | client/e2e/src/videos.e2e-spec.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/e2e/src/videos.e2e-spec.ts b/client/e2e/src/videos.e2e-spec.ts index 16fe6b70d..b15c03198 100644 --- a/client/e2e/src/videos.e2e-spec.ts +++ b/client/e2e/src/videos.e2e-spec.ts | |||
@@ -66,14 +66,14 @@ describe('Videos workflow', () => { | |||
66 | }) | 66 | }) |
67 | 67 | ||
68 | it('Should play the video', async () => { | 68 | it('Should play the video', async () => { |
69 | await videoWatchPage.pauseVideo(!isMobileDevice, isSafari && isMobileDevice === false) | 69 | await videoWatchPage.pauseVideo(!isMobileDevice) |
70 | expect(videoWatchPage.getWatchVideoPlayerCurrentTime()).toBeGreaterThanOrEqual(2) | 70 | expect(videoWatchPage.getWatchVideoPlayerCurrentTime()).toBeGreaterThanOrEqual(2) |
71 | }) | 71 | }) |
72 | 72 | ||
73 | it('Should watch the associated embed video', async () => { | 73 | it('Should watch the associated embed video', async () => { |
74 | await videoWatchPage.goOnAssociatedEmbed() | 74 | await videoWatchPage.goOnAssociatedEmbed() |
75 | 75 | ||
76 | await videoWatchPage.pauseVideo(false, isSafari && isMobileDevice === false) | 76 | await videoWatchPage.pauseVideo(false) |
77 | expect(videoWatchPage.getWatchVideoPlayerCurrentTime()).toBeGreaterThanOrEqual(2) | 77 | expect(videoWatchPage.getWatchVideoPlayerCurrentTime()).toBeGreaterThanOrEqual(2) |
78 | }) | 78 | }) |
79 | }) | 79 | }) |