aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/e2e/src/suites-all/videos.e2e-spec.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-10-28 11:19:54 +0200
committerChocobozzz <me@florianbigard.com>2022-10-28 15:22:40 +0200
commit814e9e07ba65446af8446dbbd2f0d70c85fd1b33 (patch)
tree9c1f130d4a773208c5bdf33ec942be060e3c3ad2 /client/e2e/src/suites-all/videos.e2e-spec.ts
parent672e185bf3004b46552c227483ffd2802ebf6844 (diff)
downloadPeerTube-814e9e07ba65446af8446dbbd2f0d70c85fd1b33.tar.gz
PeerTube-814e9e07ba65446af8446dbbd2f0d70c85fd1b33.tar.zst
PeerTube-814e9e07ba65446af8446dbbd2f0d70c85fd1b33.zip
Improve E2E tests
Add tests for private video static endpoints Fix tests for local firefox
Diffstat (limited to 'client/e2e/src/suites-all/videos.e2e-spec.ts')
-rw-r--r--client/e2e/src/suites-all/videos.e2e-spec.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/client/e2e/src/suites-all/videos.e2e-spec.ts b/client/e2e/src/suites-all/videos.e2e-spec.ts
index b3a87c8e2..997d58884 100644
--- a/client/e2e/src/suites-all/videos.e2e-spec.ts
+++ b/client/e2e/src/suites-all/videos.e2e-spec.ts
@@ -49,7 +49,7 @@ describe('Videos all workflow', () => {
49 videoUploadPage = new VideoUploadPage() 49 videoUploadPage = new VideoUploadPage()
50 videoUpdatePage = new VideoUpdatePage() 50 videoUpdatePage = new VideoUpdatePage()
51 myAccountPage = new MyAccountPage() 51 myAccountPage = new MyAccountPage()
52 loginPage = new LoginPage() 52 loginPage = new LoginPage(isMobileDevice())
53 playerPage = new PlayerPage() 53 playerPage = new PlayerPage()
54 videoListPage = new VideoListPage(isMobileDevice(), isSafari()) 54 videoListPage = new VideoListPage(isMobileDevice(), isSafari())
55 55
@@ -72,7 +72,7 @@ describe('Videos all workflow', () => {
72 72
73 await videoUploadPage.navigateTo() 73 await videoUploadPage.navigateTo()
74 74
75 await videoUploadPage.uploadVideo() 75 await videoUploadPage.uploadVideo('video.mp4')
76 return videoUploadPage.validSecondUploadStep(videoName) 76 return videoUploadPage.validSecondUploadStep(videoName)
77 }) 77 })
78 78
@@ -147,7 +147,7 @@ describe('Videos all workflow', () => {
147 147
148 await videoUploadPage.navigateTo() 148 await videoUploadPage.navigateTo()
149 149
150 await videoUploadPage.uploadVideo() 150 await videoUploadPage.uploadVideo('video2.mp4')
151 await videoUploadPage.validSecondUploadStep(video2Name) 151 await videoUploadPage.validSecondUploadStep(video2Name)
152 152
153 await videoWatchPage.clickOnSave() 153 await videoWatchPage.clickOnSave()