Skip to content

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

test: mark "should produce screencast frames fit" as flaky on wk linux (#6617)

Yury Semikhatskyc23a06c96eb1
diff --git a/tests/tracing.spec.ts b/tests/tracing.spec.ts
index f9e5917255..e49edf888f 100644
--- a/tests/tracing.spec.ts
+++ b/tests/tracing.spec.ts
@@ -118,6 +118,7 @@ for (const params of [
browserTest(`should produce screencast frames ${params.id}`, async ({ video, contextFactory, browserName, platform }, testInfo) => {
browserTest.fixme(browserName === 'chromium' && video, 'Same screencast resolution conflicts');
browserTest.fixme(params.id === 'fit' && browserName === 'chromium' && platform === 'darwin', 'High DPI maxes image at 600x600');
+ browserTest.fixme(params.id === 'fit' && browserName === 'webkit' && platform === 'linux', 'Image size is flaky');
const scale = Math.min(800 / params.width, 600 / params.height, 1);
const previewWidth = params.width * scale;