Fix e2e tests
This commit is contained in:
parent
6565916605
commit
ac043122ae
|
@ -99,6 +99,6 @@ export class VideoWatchPage {
|
||||||
}
|
}
|
||||||
|
|
||||||
async goOnP2PMediaLoaderEmbed () {
|
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')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -50,7 +50,7 @@ describe('Videos workflow', () => {
|
||||||
return pageUploadPage.validSecondUploadStep(videoName)
|
return pageUploadPage.validSecondUploadStep(videoName)
|
||||||
})
|
})
|
||||||
|
|
||||||
it('Should list the video', async () => {
|
it('Should list videos', async () => {
|
||||||
await videoWatchPage.goOnVideosList(isMobileDevice, isSafari)
|
await videoWatchPage.goOnVideosList(isMobileDevice, isSafari)
|
||||||
|
|
||||||
if (isMobileDevice || isSafari) {
|
if (isMobileDevice || isSafari) {
|
||||||
|
|
|
@ -13,6 +13,7 @@
|
||||||
* Check Travis tests are green
|
* Check Travis tests are green
|
||||||
* Run E2E tests: `BROWSERSTACK_USER=my_user BROWSERSTACK_KEY=my_key npm run e2e`
|
* 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`
|
* 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
|
* Check the release is okay: https://github.com/Chocobozzz/PeerTube/releases
|
||||||
* Update https://peertube3.cpy.re and check it works correctly
|
* Update https://peertube3.cpy.re and check it works correctly
|
||||||
* Update all other instances and check it works correctly
|
* Update all other instances and check it works correctly
|
||||||
|
|
Loading…
Reference in New Issue
Block a user