Fix e2e tests

pull/1813/head
Chocobozzz 2019-05-14 13:59:10 +02:00
parent 6565916605
commit ac043122ae
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
3 changed files with 3 additions and 2 deletions

View 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')
}
}

View 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) {

View 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