Skip to content

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

test(chromium): disable large screenshot test (#4446)

Joel Einbinder3da1f73f1d02
diff --git a/test/page-screenshot.spec.ts b/test/page-screenshot.spec.ts
index aece541c94..5de104fe77 100644
--- a/test/page-screenshot.spec.ts
+++ b/test/page-screenshot.spec.ts
@@ -298,8 +298,9 @@ describe('page screenshot', (suite, { browserName, headful }) => {
expect([buffer[0], buffer[1], buffer[2]]).toEqual([0xFF, 0xD8, 0xFF]);
});
- it('should work with large size', test => {
+ it('should work with large size', (test, {browserName, headful, platform}) => {
test.slow('Large screenshot is slow');
+ test.fixme(browserName === 'chromium' && headful === true && platform === 'linux', 'Chromium has gpu problems on linux with large screnshots');
}, async ({ page }) => {
await page.setViewportSize({ width: 1280, height: 800 });
await page.evaluate(() => {