From b528582df28f20ec7481d3c73d16b4291fe9c7e7 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 24 May 2018 14:33:58 +0200 Subject: Clean up E2E tests --- client/e2e/src/videos.e2e-spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'client/e2e/src/videos.e2e-spec.ts') 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', () => { }) it('Should play the video', async () => { - await videoWatchPage.pauseVideo(!isMobileDevice, isSafari && isMobileDevice === false) + await videoWatchPage.pauseVideo(!isMobileDevice) expect(videoWatchPage.getWatchVideoPlayerCurrentTime()).toBeGreaterThanOrEqual(2) }) it('Should watch the associated embed video', async () => { await videoWatchPage.goOnAssociatedEmbed() - await videoWatchPage.pauseVideo(false, isSafari && isMobileDevice === false) + await videoWatchPage.pauseVideo(false) expect(videoWatchPage.getWatchVideoPlayerCurrentTime()).toBeGreaterThanOrEqual(2) }) }) -- cgit v1.2.3