diff options
author | Chocobozzz <me@florianbigard.com> | 2022-10-28 11:19:54 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-10-28 15:22:40 +0200 |
commit | 814e9e07ba65446af8446dbbd2f0d70c85fd1b33 (patch) | |
tree | 9c1f130d4a773208c5bdf33ec942be060e3c3ad2 /client/e2e/src/suites-local/custom-server-defaults.e2e-spec.ts | |
parent | 672e185bf3004b46552c227483ffd2802ebf6844 (diff) | |
download | PeerTube-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-local/custom-server-defaults.e2e-spec.ts')
-rw-r--r-- | client/e2e/src/suites-local/custom-server-defaults.e2e-spec.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/client/e2e/src/suites-local/custom-server-defaults.e2e-spec.ts b/client/e2e/src/suites-local/custom-server-defaults.e2e-spec.ts index e060d382f..71840d707 100644 --- a/client/e2e/src/suites-local/custom-server-defaults.e2e-spec.ts +++ b/client/e2e/src/suites-local/custom-server-defaults.e2e-spec.ts | |||
@@ -11,7 +11,7 @@ describe('Custom server defaults', () => { | |||
11 | before(async () => { | 11 | before(async () => { |
12 | await waitServerUp() | 12 | await waitServerUp() |
13 | 13 | ||
14 | loginPage = new LoginPage() | 14 | loginPage = new LoginPage(isMobileDevice()) |
15 | videoUploadPage = new VideoUploadPage() | 15 | videoUploadPage = new VideoUploadPage() |
16 | videoWatchPage = new VideoWatchPage(isMobileDevice(), isSafari()) | 16 | videoWatchPage = new VideoWatchPage(isMobileDevice(), isSafari()) |
17 | 17 | ||
@@ -25,7 +25,7 @@ describe('Custom server defaults', () => { | |||
25 | 25 | ||
26 | it('Should upload a video with custom default values', async function () { | 26 | it('Should upload a video with custom default values', async function () { |
27 | await videoUploadPage.navigateTo() | 27 | await videoUploadPage.navigateTo() |
28 | await videoUploadPage.uploadVideo() | 28 | await videoUploadPage.uploadVideo('video.mp4') |
29 | await videoUploadPage.validSecondUploadStep('video') | 29 | await videoUploadPage.validSecondUploadStep('video') |
30 | 30 | ||
31 | await videoWatchPage.waitWatchVideoName('video') | 31 | await videoWatchPage.waitWatchVideoName('video') |
@@ -60,7 +60,7 @@ describe('Custom server defaults', () => { | |||
60 | before(async () => { | 60 | before(async () => { |
61 | await loginPage.loginAsRootUser() | 61 | await loginPage.loginAsRootUser() |
62 | await videoUploadPage.navigateTo() | 62 | await videoUploadPage.navigateTo() |
63 | await videoUploadPage.uploadVideo() | 63 | await videoUploadPage.uploadVideo('video2.mp4') |
64 | await videoUploadPage.setAsPublic() | 64 | await videoUploadPage.setAsPublic() |
65 | await videoUploadPage.validSecondUploadStep('video') | 65 | await videoUploadPage.validSecondUploadStep('video') |
66 | 66 | ||