Skip to content

Commit

Permalink
test: skip avif test on linux/webkit (#32869)
Browse files Browse the repository at this point in the history
  • Loading branch information
mxschmitt authored Sep 30, 2024
1 parent 2f7b067 commit df16f6e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tests/library/capabilities.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down

0 comments on commit df16f6e

Please sign in to comment.