Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: add test for avif image format #32815

Merged
merged 1 commit into from
Sep 27, 2024
Merged

Conversation

mxschmitt
Copy link
Member

@mxschmitt mxschmitt commented Sep 25, 2024

Fixes #32673

it.fixme(browserName === 'webkit' && platform === 'win32');
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({
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not use toHaveScreenshot?

Copy link
Contributor

Test results for "tests 1"

2 failed
❌ [webkit-library] › library/capabilities.spec.ts:403:3 › should be able to render avif images
❌ [playwright-test] › fixture-errors.spec.ts:471:5 › should not give enough time for second fixture teardown after timeout

3 flaky ⚠️ [firefox-library] › library/inspector/cli-codegen-1.spec.ts:416:7 › cli codegen › should update selected element after pressing Tab
⚠️ [webkit-library] › library/video.spec.ts:797:5 › screencast › should work with video+trace
⚠️ [webkit-page] › page/workers.spec.ts:245:3 › should support offline

36344 passed, 747 skipped
✔️✔️✔️

Merge workflow run.

@yury-s yury-s merged commit ded567d into microsoft:main Sep 27, 2024
28 of 30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: WebKit / Linux support avif image format
2 participants