]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Fix e2e tests
authorChocobozzz <me@florianbigard.com>
Tue, 14 May 2019 11:59:10 +0000 (13:59 +0200)
committerChocobozzz <me@florianbigard.com>
Tue, 14 May 2019 11:59:10 +0000 (13:59 +0200)
client/e2e/src/po/video-watch.po.ts
client/e2e/src/videos.e2e-spec.ts
support/doc/development/release.md

index 8369e14863a674606dd8d9911fe55f7e3fd310ca..5f61d566883b1bd7c7a1e4e46347acbda2083e57 100644 (file)
@@ -99,6 +99,6 @@ export class VideoWatchPage {
   }
 
   async goOnP2PMediaLoaderEmbed () {
-    return browser.get('https://peertube2.cpy.re/videos/embed/4b997fc0-e106-42d9-bff9-ae9d64902bbb?mode=p2p-media-loader')
+    return browser.get('https://peertube2.cpy.re/videos/embed/969bf103-7818-43b5-94a0-de159e13de50?mode=p2p-media-loader')
   }
 }
index 7f8ba71b119f9fdc01d0df9b529f236ebf43ef5a..25521cad9840a59e662f0d8ffa27b380faef3b6b 100644 (file)
@@ -50,7 +50,7 @@ describe('Videos workflow', () => {
     return pageUploadPage.validSecondUploadStep(videoName)
   })
 
-  it('Should list the video', async () => {
+  it('Should list videos', async () => {
     await videoWatchPage.goOnVideosList(isMobileDevice, isSafari)
 
     if (isMobileDevice || isSafari) {
index 1b027faf74a879dcb2c134db79bea4e4e4a4b9b0..352a1f0d33e15f1c6f79a7e2f2ccbc6456f0ead4 100644 (file)
@@ -13,6 +13,7 @@
  * Check Travis tests are green
  * Run E2E tests: `BROWSERSTACK_USER=my_user BROWSERSTACK_KEY=my_key npm run e2e`
  * Release: `GITHUB_TOKEN=my_token npm run release -- 1.x.x`
+ * Create a dedicated branch: `git checkout -b release/1.x.x && git push origin release/1.x.x`
  * Check the release is okay: https://github.com/Chocobozzz/PeerTube/releases
  * Update https://peertube3.cpy.re and check it works correctly
  * Update all other instances and check it works correctly