Skip to content

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

test: unskip test in headless (#26844)

Yury Semikhatskyce3e0dcf8416
diff --git a/tests/library/video.spec.ts b/tests/library/video.spec.ts
index d7b7c09421..e2857907bf 100644
--- a/tests/library/video.spec.ts
+++ b/tests/library/video.spec.ts
@@ -713,7 +713,7 @@ it.describe('screencast', () => {
it.info().annotations.push({ type: 'issue', description: 'https://github.com/microsoft/playwright/issues/22411' });
it.fixme(browserName === 'chromium' && (!headless || !!process.env.PLAYWRIGHT_CHROMIUM_USE_HEADLESS_NEW), 'The square is not on the video');
it.fixme(browserName === 'firefox' && isWindows, 'https://github.com/microsoft/playwright/issues/14405');
- it.fixme(browserName === 'webkit' && isLinux, 'https://github.com/microsoft/playwright/issues/22617');
+ it.fixme(browserName === 'webkit' && isLinux && !headless, 'https://github.com/microsoft/playwright/issues/22617');
const size = { width: 600, height: 400 };
const browser = await browserType.launch();