From 71e3e879c0616882ee82a0e44f8c2e5ee9698a3e Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 2 Dec 2022 14:47:21 +0100 Subject: Support reinjecting token in private m3u8 playlist --- client/e2e/src/suites-all/private-videos.e2e-spec.ts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'client/e2e/src/suites-all') diff --git a/client/e2e/src/suites-all/private-videos.e2e-spec.ts b/client/e2e/src/suites-all/private-videos.e2e-spec.ts index db3554659..a25208bb3 100644 --- a/client/e2e/src/suites-all/private-videos.e2e-spec.ts +++ b/client/e2e/src/suites-all/private-videos.e2e-spec.ts @@ -15,6 +15,7 @@ describe('Private videos all workflow', () => { let playerPage: PlayerPage const internalVideoName = 'Internal E2E test' + const internalHLSOnlyVideoName = 'Internal E2E test - HLS only' beforeEach(async () => { videoWatchPage = new VideoWatchPage(isMobileDevice(), isSafari()) @@ -44,6 +45,13 @@ describe('Private videos all workflow', () => { await checkCorrectlyPlay(playerPage) }) + it('Should play an internal HLS only video', async () => { + await go(FIXTURE_URLS.INTERNAL_HLS_ONLY_VIDEO) + + await videoWatchPage.waitWatchVideoName(internalHLSOnlyVideoName) + await checkCorrectlyPlay(playerPage) + }) + it('Should play an internal WebTorrent video in embed', async () => { await go(FIXTURE_URLS.INTERNAL_EMBED_WEBTORRENT_VIDEO) @@ -57,4 +65,11 @@ describe('Private videos all workflow', () => { await videoWatchPage.waitEmbedForDisplayed() await checkCorrectlyPlay(playerPage) }) + + it('Should play an internal HLS only video in embed', async () => { + await go(FIXTURE_URLS.INTERNAL_EMBED_HLS_ONLY_VIDEO) + + await videoWatchPage.waitEmbedForDisplayed() + await checkCorrectlyPlay(playerPage) + }) }) -- cgit v1.2.3