aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/e2e/src/suites-all
diff options
context:
space:
mode:
Diffstat (limited to 'client/e2e/src/suites-all')
-rw-r--r--client/e2e/src/suites-all/private-videos.e2e-spec.ts15
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})