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

This commit is contained in:
Max Schmitt 2024-09-30 10:30:45 +02:00 committed by GitHub
parent 2f7b06736f
commit df16f6efb4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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({