test: add a11y tests to showcases #11352
Annotations
3 errors and 1 notice
🔣 Print GitHub Report:
showcases/e2e/default.ts#L75
1) [mobile_safari] › default.ts:42:4 › DBNotification › should match screenshot ──────────────────
Error: Screenshot comparison failed:
Expected an image 390px by 4697px, received 390px by 4673px. 47532 pixels (ratio 0.03 of all image pixels) are different.
Expected: /__w/mono/mono/__snapshots__/notification/showcase/mobile-safari/regular/neutral/DBNotification-should-match-screenshot.png
Received: /__w/mono/mono/showcases/angular-showcase/test-results/notification-showcase-noti-779d1-ion-should-match-screenshot-mobile-safari/regular-neutral-actual.png
Diff: /__w/mono/mono/showcases/angular-showcase/test-results/notification-showcase-noti-779d1-ion-should-match-screenshot-mobile-safari/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
- Expected an image 390px by 4697px, received 390px by 4673px. 47532 pixels (ratio 0.03 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
- Expected an image 390px by 4697px, received 390px by 4673px. 47532 pixels (ratio 0.03 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) [mobile_safari] › default.ts:42:4 › DBNotification › should match screenshot ──────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
Expected an image 390px by 4697px, received 390px by 4673px. 47532 pixels (ratio 0.03 of all image pixels) are different.
Expected: /__w/mono/mono/__snapshots__/notification/showcase/mobile-safari/regular/neutral/DBNotification-should-match-screenshot.png
Received: /__w/mono/mono/showcases/angular-showcase/test-results/notification-showcase-noti-779d1-ion-should-match-screenshot-mobile-safari-retry1/regular-neutral-actual.png
Diff: /__w/mono/mono/showcases/angular-showcase/test-results/notification-showcase-noti-779d1-ion-should-match-screenshot-mobile-safari-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
- Expected an image 390px by 4697px, received 390px by 4673px. 47532 pixels (ratio 0.03 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
- Expected an image 390px by 4697px, received 390px by 4673px. 47532 pixels (ratio 0.03 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
1 failed
[mobile_safari] › default.ts:42:4 › DBNotification › should match screenshot ───────────────────
2 skipped
39 passed (53.0s)
|
Loading