diff options
author | Chocobozzz <me@florianbigard.com> | 2020-11-30 09:11:12 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-11-30 09:11:12 +0100 |
commit | 6b88559babc1e0490119a6b52411b10910d9da9d (patch) | |
tree | 5a82afdc92899e921f8631f2e6b07b889b794278 /client/e2e/src/videos.e2e-spec.ts | |
parent | 4a7f90248b546803cab07188521ac97e175b31e6 (diff) | |
download | PeerTube-6b88559babc1e0490119a6b52411b10910d9da9d.tar.gz PeerTube-6b88559babc1e0490119a6b52411b10910d9da9d.tar.zst PeerTube-6b88559babc1e0490119a6b52411b10910d9da9d.zip |
Fix local e2e tests
Diffstat (limited to 'client/e2e/src/videos.e2e-spec.ts')
-rw-r--r-- | client/e2e/src/videos.e2e-spec.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/client/e2e/src/videos.e2e-spec.ts b/client/e2e/src/videos.e2e-spec.ts index d9d2cb9b9..a73b9f318 100644 --- a/client/e2e/src/videos.e2e-spec.ts +++ b/client/e2e/src/videos.e2e-spec.ts | |||
@@ -206,6 +206,8 @@ describe('Videos workflow', () => { | |||
206 | 206 | ||
207 | await myAccountPage.goOnAssociatedPlaylistEmbed() | 207 | await myAccountPage.goOnAssociatedPlaylistEmbed() |
208 | 208 | ||
209 | await playerPage.waitUntilPlayerWrapper() | ||
210 | |||
209 | await browser.executeScript(`window.localStorage.setItem('access_token', '${accessToken}');`) | 211 | await browser.executeScript(`window.localStorage.setItem('access_token', '${accessToken}');`) |
210 | await browser.executeScript(`window.localStorage.setItem('refresh_token', '${refreshToken}');`) | 212 | await browser.executeScript(`window.localStorage.setItem('refresh_token', '${refreshToken}');`) |
211 | await browser.executeScript(`window.localStorage.setItem('token_type', 'Bearer');`) | 213 | await browser.executeScript(`window.localStorage.setItem('token_type', 'Bearer');`) |