Skip to content

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

test(screencast): skip test that depends on accelerated compositing (#3458)

Yury Semikhatsky737bfa2676ac
diff --git a/test/screencast.spec.ts b/test/screencast.spec.ts
index 6d988375a0..cc959d0704 100644
--- a/test/screencast.spec.ts
+++ b/test/screencast.spec.ts
@@ -231,7 +231,8 @@ it.fail(CHROMIUM)('should capture navigation', async({page, tmpDir, server, vide
}
});
-it.fail(CHROMIUM)('should capture css transformation', async({page, tmpDir, server, videoPlayer, toImpl}) => {
+// Accelerated compositing is disabled in WebKit on Windows.
+it.fail(CHROMIUM || (WEBKIT && WIN))('should capture css transformation', async({page, tmpDir, server, videoPlayer, toImpl}) => {
if (!toImpl)
return;
const videoFile = path.join(tmpDir, 'v.webm');