aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/e2e/src/videos.e2e-spec.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-06-08 11:25:12 +0200
committerChocobozzz <me@florianbigard.com>2018-06-08 11:25:12 +0200
commit7cf26f433f5d93fb5325495bc87bdef87260aada (patch)
tree675e45abf0d63f20e3b6da9293ed5a32e0d1b1a4 /client/e2e/src/videos.e2e-spec.ts
parentdbe868c07080135cf62ecb8ad556d471c1e6c2ca (diff)
downloadPeerTube-7cf26f433f5d93fb5325495bc87bdef87260aada.tar.gz
PeerTube-7cf26f433f5d93fb5325495bc87bdef87260aada.tar.zst
PeerTube-7cf26f433f5d93fb5325495bc87bdef87260aada.zip
Fix e2e tests
Diffstat (limited to 'client/e2e/src/videos.e2e-spec.ts')
-rw-r--r--client/e2e/src/videos.e2e-spec.ts4
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 b15c03198..3d4d46292 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) 69 await videoWatchPage.pauseVideo(!isMobileDevice, 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) 76 await videoWatchPage.pauseVideo(false, isMobileDevice)
77 expect(videoWatchPage.getWatchVideoPlayerCurrentTime()).toBeGreaterThanOrEqual(2) 77 expect(videoWatchPage.getWatchVideoPlayerCurrentTime()).toBeGreaterThanOrEqual(2)
78 }) 78 })
79}) 79})