diff options
author | Chocobozzz <me@florianbigard.com> | 2022-12-02 14:47:21 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-12-02 15:25:20 +0100 |
commit | 71e3e879c0616882ee82a0e44f8c2e5ee9698a3e (patch) | |
tree | 14452d26d240eb6d44178b76fc2dabda4cfc9428 /client/e2e/src/suites-all | |
parent | 04509c43254dc232c61681ac4bb98e09fd126115 (diff) | |
download | PeerTube-71e3e879c0616882ee82a0e44f8c2e5ee9698a3e.tar.gz PeerTube-71e3e879c0616882ee82a0e44f8c2e5ee9698a3e.tar.zst PeerTube-71e3e879c0616882ee82a0e44f8c2e5ee9698a3e.zip |
Support reinjecting token in private m3u8 playlist
Diffstat (limited to 'client/e2e/src/suites-all')
-rw-r--r-- | client/e2e/src/suites-all/private-videos.e2e-spec.ts | 15 |
1 files changed, 15 insertions, 0 deletions
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', () => { | |||
15 | let playerPage: PlayerPage | 15 | let playerPage: PlayerPage |
16 | 16 | ||
17 | const internalVideoName = 'Internal E2E test' | 17 | const internalVideoName = 'Internal E2E test' |
18 | const internalHLSOnlyVideoName = 'Internal E2E test - HLS only' | ||
18 | 19 | ||
19 | beforeEach(async () => { | 20 | beforeEach(async () => { |
20 | videoWatchPage = new VideoWatchPage(isMobileDevice(), isSafari()) | 21 | videoWatchPage = new VideoWatchPage(isMobileDevice(), isSafari()) |
@@ -44,6 +45,13 @@ describe('Private videos all workflow', () => { | |||
44 | await checkCorrectlyPlay(playerPage) | 45 | await checkCorrectlyPlay(playerPage) |
45 | }) | 46 | }) |
46 | 47 | ||
48 | it('Should play an internal HLS only video', async () => { | ||
49 | await go(FIXTURE_URLS.INTERNAL_HLS_ONLY_VIDEO) | ||
50 | |||
51 | await videoWatchPage.waitWatchVideoName(internalHLSOnlyVideoName) | ||
52 | await checkCorrectlyPlay(playerPage) | ||
53 | }) | ||
54 | |||
47 | it('Should play an internal WebTorrent video in embed', async () => { | 55 | it('Should play an internal WebTorrent video in embed', async () => { |
48 | await go(FIXTURE_URLS.INTERNAL_EMBED_WEBTORRENT_VIDEO) | 56 | await go(FIXTURE_URLS.INTERNAL_EMBED_WEBTORRENT_VIDEO) |
49 | 57 | ||
@@ -57,4 +65,11 @@ describe('Private videos all workflow', () => { | |||
57 | await videoWatchPage.waitEmbedForDisplayed() | 65 | await videoWatchPage.waitEmbedForDisplayed() |
58 | await checkCorrectlyPlay(playerPage) | 66 | await checkCorrectlyPlay(playerPage) |
59 | }) | 67 | }) |
68 | |||
69 | it('Should play an internal HLS only video in embed', async () => { | ||
70 | await go(FIXTURE_URLS.INTERNAL_EMBED_HLS_ONLY_VIDEO) | ||
71 | |||
72 | await videoWatchPage.waitEmbedForDisplayed() | ||
73 | await checkCorrectlyPlay(playerPage) | ||
74 | }) | ||
60 | }) | 75 | }) |