test: add a11y tests to showcases #11352
Annotations
3 errors and 1 notice
👩🔬 Test showcase with Playwright 🎭
Process completed with exit code 1.
|
🔣 Print GitHub Report:
showcases/e2e/default.ts#L75
1) [chromium] › default.ts:42:4 › DBNotification › should match screenshot ───────────────────────
Error: Screenshot comparison failed:
8080 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/mono/mono/__snapshots__/notification/showcase/chromium/regular/neutral/DBNotification-should-match-screenshot.png
Received: /__w/mono/mono/showcases/react-showcase/test-results/notification-showcase-noti-779d1-ion-should-match-screenshot-chromium/regular-neutral-actual.png
Diff: /__w/mono/mono/showcases/react-showcase/test-results/notification-showcase-noti-779d1-ion-should-match-screenshot-chromium/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
- 8080 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
- 8080 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) [chromium] › default.ts:42:4 › DBNotification › should match screenshot ───────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
8080 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/mono/mono/__snapshots__/notification/showcase/chromium/regular/neutral/DBNotification-should-match-screenshot.png
Received: /__w/mono/mono/showcases/react-showcase/test-results/notification-showcase-noti-779d1-ion-should-match-screenshot-chromium-retry1/regular-neutral-actual.png
Diff: /__w/mono/mono/showcases/react-showcase/test-results/notification-showcase-noti-779d1-ion-should-match-screenshot-chromium-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
- 8080 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
- 8080 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
1 failed
[chromium] › default.ts:42:4 › DBNotification › should match screenshot ────────────────────────
42 passed (45.5s)
|
Loading