]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/e2e/src/videos.e2e-spec.ts
Add ability to update the banner
[github/Chocobozzz/PeerTube.git] / client / e2e / src / videos.e2e-spec.ts
index d9d2cb9b994c07fd3b82964ed654145803a8af69..cb792625834c051475d0ef9fa33b28ec2cc2fc82 100644 (file)
@@ -158,6 +158,7 @@ describe('Videos workflow', () => {
     await videoWatchPage.createPlaylist(playlistName)
 
     await videoWatchPage.saveToPlaylist(playlistName)
+    await browser.sleep(5000)
 
     await videoUploadPage.navigateTo()
 
@@ -206,6 +207,10 @@ describe('Videos workflow', () => {
 
     await myAccountPage.goOnAssociatedPlaylistEmbed()
 
+    await playerPage.waitUntilPlayerWrapper()
+
+    console.log('Will set %s and %s tokens in local storage.', accessToken, refreshToken)
+
     await browser.executeScript(`window.localStorage.setItem('access_token', '${accessToken}');`)
     await browser.executeScript(`window.localStorage.setItem('refresh_token', '${refreshToken}');`)
     await browser.executeScript(`window.localStorage.setItem('token_type', 'Bearer');`)