Skip to content

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

test: disable "should work with video+trace" on headed (#20299)

Dmitry Gozman0ec1d5d45295
diff --git a/tests/library/video.spec.ts b/tests/library/video.spec.ts
index 52a4ffee38..17cb788add 100644
--- a/tests/library/video.spec.ts
+++ b/tests/library/video.spec.ts
@@ -724,8 +724,9 @@ it.describe('screencast', () => {
expectAll(pixels, almostRed);
});
- it('should work with video+trace', async ({ browser, trace }, testInfo) => {
+ it('should work with video+trace', async ({ browser, trace, headless }, testInfo) => {
it.skip(trace === 'on');
+ it.fixme(!headless, 'different trace screencast image size on all browsers');
const size = { width: 500, height: 400 };
const traceFile = testInfo.outputPath('trace.zip');