test: add a11y tests to showcases #11352
Annotations
3 errors, 1 warning, and 1 notice
🔣 Print GitHub Report:
showcases/e2e/default.ts#L75
1) [firefox] › default.ts:42:4 › DBNotification › should match screenshot ────────────────────────
Error: Screenshot comparison failed:
8394 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/mono/mono/__snapshots__/notification/showcase/firefox/regular/neutral/DBNotification-should-match-screenshot.png
Received: /__w/mono/mono/showcases/react-showcase/test-results/notification-showcase-noti-779d1-ion-should-match-screenshot-firefox/regular-neutral-actual.png
Diff: /__w/mono/mono/showcases/react-showcase/test-results/notification-showcase-noti-779d1-ion-should-match-screenshot-firefox/regular-neutral-diff.png
Call log:
- page._expectScreenshot with timeout 10000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 8394 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- captured a stable screenshot
- 8394 pixels (ratio 0.01 of all image pixels) are different.
73 | config.mask = [header];
74 |
> 75 | await expect(page).toHaveScreenshot(
| ^
76 | [density, `${color}.png`],
77 | config
78 | );
at /__w/mono/mono/showcases/e2e/default.ts:75:24
|
🔣 Print GitHub Report:
showcases/e2e/default.ts#L75
1) [firefox] › default.ts:42:4 › DBNotification › should match screenshot ────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
8394 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/mono/mono/__snapshots__/notification/showcase/firefox/regular/neutral/DBNotification-should-match-screenshot.png
Received: /__w/mono/mono/showcases/react-showcase/test-results/notification-showcase-noti-779d1-ion-should-match-screenshot-firefox-retry1/regular-neutral-actual.png
Diff: /__w/mono/mono/showcases/react-showcase/test-results/notification-showcase-noti-779d1-ion-should-match-screenshot-firefox-retry1/regular-neutral-diff.png
Call log:
- page._expectScreenshot with timeout 10000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 8394 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- captured a stable screenshot
- 8394 pixels (ratio 0.01 of all image pixels) are different.
73 | config.mask = [header];
74 |
> 75 | await expect(page).toHaveScreenshot(
| ^
76 | [density, `${color}.png`],
77 | config
78 | );
at /__w/mono/mono/showcases/e2e/default.ts:75:24
|
👩🔬 Test showcase with Playwright 🎭
Process completed with exit code 1.
|
🔣 Print GitHub Report:
[webkit] › default.ts#L1
[webkit] › default.ts took 20.8s
|
🔣 Print GitHub Report
1 failed
[firefox] › default.ts:42:4 › DBNotification › should match screenshot ─────────────────────────
42 passed (1.0m)
|
Loading