diff options
author | Chocobozzz <me@florianbigard.com> | 2021-04-20 15:36:00 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-04-20 15:36:00 +0200 |
commit | 51b66ea7cb39f075f4deb8ea92ba70f3be289769 (patch) | |
tree | 62c60473bcec76c44ebbb3b52e762eeaafc8beb3 /client/e2e/src/videos.e2e-spec.ts | |
parent | 9929fbd6f4e209346cd31d05888417a94949da84 (diff) | |
download | PeerTube-51b66ea7cb39f075f4deb8ea92ba70f3be289769.tar.gz PeerTube-51b66ea7cb39f075f4deb8ea92ba70f3be289769.tar.zst PeerTube-51b66ea7cb39f075f4deb8ea92ba70f3be289769.zip |
Fix E2E tests
Diffstat (limited to 'client/e2e/src/videos.e2e-spec.ts')
-rw-r--r-- | client/e2e/src/videos.e2e-spec.ts | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/client/e2e/src/videos.e2e-spec.ts b/client/e2e/src/videos.e2e-spec.ts index cb7926258..bcc810297 100644 --- a/client/e2e/src/videos.e2e-spec.ts +++ b/client/e2e/src/videos.e2e-spec.ts | |||
@@ -1,5 +1,4 @@ | |||
1 | import { browser } from 'protractor' | 1 | import { browser } from 'protractor' |
2 | import { AppPage } from './po/app.po' | ||
3 | import { LoginPage } from './po/login.po' | 2 | import { LoginPage } from './po/login.po' |
4 | import { MyAccountPage } from './po/my-account' | 3 | import { MyAccountPage } from './po/my-account' |
5 | import { PlayerPage } from './po/player.po' | 4 | import { PlayerPage } from './po/player.po' |
@@ -23,7 +22,6 @@ describe('Videos workflow', () => { | |||
23 | let videoUpdatePage: VideoUpdatePage | 22 | let videoUpdatePage: VideoUpdatePage |
24 | let myAccountPage: MyAccountPage | 23 | let myAccountPage: MyAccountPage |
25 | let loginPage: LoginPage | 24 | let loginPage: LoginPage |
26 | let appPage: AppPage | ||
27 | let playerPage: PlayerPage | 25 | let playerPage: PlayerPage |
28 | 26 | ||
29 | let videoName = new Date().getTime() + ' video' | 27 | let videoName = new Date().getTime() + ' video' |
@@ -37,7 +35,6 @@ describe('Videos workflow', () => { | |||
37 | videoUpdatePage = new VideoUpdatePage() | 35 | videoUpdatePage = new VideoUpdatePage() |
38 | myAccountPage = new MyAccountPage() | 36 | myAccountPage = new MyAccountPage() |
39 | loginPage = new LoginPage() | 37 | loginPage = new LoginPage() |
40 | appPage = new AppPage() | ||
41 | playerPage = new PlayerPage() | 38 | playerPage = new PlayerPage() |
42 | 39 | ||
43 | if (await isIOS()) { | 40 | if (await isIOS()) { |
@@ -66,12 +63,6 @@ describe('Videos workflow', () => { | |||
66 | return loginPage.loginAsRootUser() | 63 | return loginPage.loginAsRootUser() |
67 | }) | 64 | }) |
68 | 65 | ||
69 | it('Should close the welcome modal', async () => { | ||
70 | if (await skipIfUploadNotSupported()) return | ||
71 | |||
72 | await appPage.closeWelcomeModal() | ||
73 | }) | ||
74 | |||
75 | it('Should upload a video', async () => { | 66 | it('Should upload a video', async () => { |
76 | if (await skipIfUploadNotSupported()) return | 67 | if (await skipIfUploadNotSupported()) return |
77 | 68 | ||