aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/e2e/src/videos.e2e-spec.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-09-20 15:45:11 +0200
committerChocobozzz <me@florianbigard.com>2018-09-20 15:45:11 +0200
commit6247b2057b792cea155a1abd9788c363ae7d2cc2 (patch)
treedf48c12f19ef1969d243315a881bfde01b232aaf /client/e2e/src/videos.e2e-spec.ts
parent93ea9c47d989e28405cf1039f89be71e592e36a5 (diff)
downloadPeerTube-6247b2057b792cea155a1abd9788c363ae7d2cc2.tar.gz
PeerTube-6247b2057b792cea155a1abd9788c363ae7d2cc2.tar.zst
PeerTube-6247b2057b792cea155a1abd9788c363ae7d2cc2.zip
Fix client 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 3d4d46292..606b6ac5d 100644
--- a/client/e2e/src/videos.e2e-spec.ts
+++ b/client/e2e/src/videos.e2e-spec.ts
@@ -12,7 +12,7 @@ describe('Videos workflow', () => {
12 let isSafari = false 12 let isSafari = false
13 13
14 beforeEach(async () => { 14 beforeEach(async () => {
15 browser.waitForAngularEnabled(false) 15 await browser.waitForAngularEnabled(false)
16 16
17 videoWatchPage = new VideoWatchPage() 17 videoWatchPage = new VideoWatchPage()
18 pageUploadPage = new VideoUploadPage() 18 pageUploadPage = new VideoUploadPage()
@@ -62,7 +62,7 @@ describe('Videos workflow', () => {
62 if (isMobileDevice || isSafari) videoNameToExcept = await videoWatchPage.clickOnFirstVideo() 62 if (isMobileDevice || isSafari) videoNameToExcept = await videoWatchPage.clickOnFirstVideo()
63 else await videoWatchPage.clickOnVideo(videoName) 63 else await videoWatchPage.clickOnVideo(videoName)
64 64
65 return videoWatchPage.waitWatchVideoName(videoNameToExcept, isSafari) 65 return videoWatchPage.waitWatchVideoName(videoNameToExcept, isMobileDevice, isSafari)
66 }) 66 })
67 67
68 it('Should play the video', async () => { 68 it('Should play the video', async () => {