From ac043122aec60c175cd414dbc1ac5b06a75c761a Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 14 May 2019 13:59:10 +0200 Subject: Fix e2e tests --- client/e2e/src/po/video-watch.po.ts | 2 +- client/e2e/src/videos.e2e-spec.ts | 2 +- support/doc/development/release.md | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/client/e2e/src/po/video-watch.po.ts b/client/e2e/src/po/video-watch.po.ts index 8369e1486..5f61d5668 100644 --- a/client/e2e/src/po/video-watch.po.ts +++ b/client/e2e/src/po/video-watch.po.ts @@ -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') } } diff --git a/client/e2e/src/videos.e2e-spec.ts b/client/e2e/src/videos.e2e-spec.ts index 7f8ba71b1..25521cad9 100644 --- a/client/e2e/src/videos.e2e-spec.ts +++ b/client/e2e/src/videos.e2e-spec.ts @@ -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) { diff --git a/support/doc/development/release.md b/support/doc/development/release.md index 1b027faf7..352a1f0d3 100644 --- a/support/doc/development/release.md +++ b/support/doc/development/release.md @@ -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 -- cgit v1.2.3