mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-10 01:56:16 -08:00
test(playback): verify recommendation capability guards
This commit is contained in:
1 parent
5e13f73912
commit
7c19caba6c
3 files changed
+353
-16
No files matched your search
@@ -150,4 +150,13 @@ test('@web @m3u @dash unsupported DRM shows the encryption diagnostic', async ({
|
||||
const banner = page.locator('[data-test-id="playback-diagnostic-banner"]');
|
||||
await expect(banner).toBeVisible({ timeout: 15_000 });
|
||||
await expect(banner).toContainText(/encrypted or DRM-protected/i);
|
||||
await expect(
|
||||
banner.locator('[data-test-id="playback-fallback-mpv"]')
|
||||
).toHaveCount(0);
|
||||
await expect(
|
||||
banner.locator('[data-test-id="playback-fallback-vlc"]')
|
||||
).toHaveCount(0);
|
||||
await expect(
|
||||
banner.locator('[data-test-id^="playback-recommendation-"]')
|
||||
).toHaveCount(0);
|
||||
});
|
||||
@@ -0,0 +1 @@
|
||||
This fixture intentionally declares Matroska without playable media bytes.
|
||||
Reference in new issue
Block a user