diff options
Diffstat (limited to 'client/e2e/src')
-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 a73b9f318..4fccdf1b6 100644 --- a/client/e2e/src/videos.e2e-spec.ts +++ b/client/e2e/src/videos.e2e-spec.ts | |||
@@ -208,6 +208,8 @@ describe('Videos workflow', () => { | |||
208 | 208 | ||
209 | await playerPage.waitUntilPlayerWrapper() | 209 | await playerPage.waitUntilPlayerWrapper() |
210 | 210 | ||
211 | console.log('Will set %s and %s tokens in local storage.', accessToken, refreshToken) | ||
212 | |||
211 | await browser.executeScript(`window.localStorage.setItem('access_token', '${accessToken}');`) | 213 | await browser.executeScript(`window.localStorage.setItem('access_token', '${accessToken}');`) |
212 | await browser.executeScript(`window.localStorage.setItem('refresh_token', '${refreshToken}');`) | 214 | await browser.executeScript(`window.localStorage.setItem('refresh_token', '${refreshToken}');`) |
213 | await browser.executeScript(`window.localStorage.setItem('token_type', 'Bearer');`) | 215 | await browser.executeScript(`window.localStorage.setItem('token_type', 'Bearer');`) |