Skip to content

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

test: skip avif test on linux/webkit (#32869)

Max Schmittdf16f6efb420
diff --git a/tests/library/capabilities.spec.ts b/tests/library/capabilities.spec.ts
index bde5a8bd0b..3f71c7db9e 100644
--- a/tests/library/capabilities.spec.ts
+++ b/tests/library/capabilities.spec.ts
@@ -402,8 +402,14 @@ it('service worker should register in an iframe', async ({ page, server }) => {
expect(response).toBe('responseFromServiceWorker');
});
-it('should be able to render avif images', async ({ page, server, browserName, platform }) => {
+it('should be able to render avif images', {
+ annotation: {
+ type: 'issue',
+ description: 'https://github.com/microsoft/playwright/issues/32673',
+ }
+}, async ({ page, server, browserName, platform }) => {
it.fixme(browserName === 'webkit' && platform === 'win32');
+ it.fixme(browserName === 'webkit' && platform === 'linux', 'https://github.com/microsoft/playwright/issues/32673');
await page.goto(server.EMPTY_PAGE);
await page.setContent(`<img src="${server.PREFIX}/rgb.avif" onerror="window.error = true">`);
await expect.poll(() => page.locator('img').boundingBox()).toEqual(expect.objectContaining({