Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

test(video): mark test as failing in WebKit Linux (#3344)

Yury Semikhatsky1bcbf19e86f1
diff --git a/test/capabilities.spec.ts b/test/capabilities.spec.ts
index 72052c04b1..adcb908ca1 100644
--- a/test/capabilities.spec.ts
+++ b/test/capabilities.spec.ts
@@ -50,9 +50,10 @@ it('should respect CSP', async({page, server}) => {
expect(await page.evaluate(() => window['testStatus'])).toBe('SUCCESS');
});
-it.fail(WEBKIT && WIN)('should play video', async({page}) => {
+it.fail(WEBKIT && (WIN || LINUX))('should play video', async({page}) => {
// TODO: the test passes on Windows locally but fails on GitHub Action bot,
// apparently due to a Media Pack issue in the Windows Server.
+ // Also the test is very flaky on Linux WebKit.
//
// Safari only plays mp4 so we test WebKit with an .mp4 clip.
const fileName = WEBKIT ? 'video_mp4.html' : 'video.html';