test: add a11y tests to showcases #11410
Annotations
11 errors and 1 notice
🔣 Print GitHub Report:
showcases/e2e/default.ts#L89
1) [chromium] › default.ts:52:2 › DBCheckbox › should match screenshot ───────────────────────────
Error: Screenshot comparison failed:
3732 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/mono/mono/__snapshots__/checkbox/showcase/chromium/regular/neutral-bg-lvl-1/DBCheckbox-should-match-screenshot.png
Received: /__w/mono/mono/showcases/angular-showcase/test-results/checkbox-showcase-checkbox-b4ab0-box-should-match-screenshot-chromium/regular-neutral-bg-lvl-1-actual.png
Diff: /__w/mono/mono/showcases/angular-showcase/test-results/checkbox-showcase-checkbox-b4ab0-box-should-match-screenshot-chromium/regular-neutral-bg-lvl-1-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
- 3732 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
- 3732 pixels (ratio 0.01 of all image pixels) are different.
87 | }
88 |
> 89 | await expect(page).toHaveScreenshot(
| ^
90 | [density, `neutral-bg-lvl-1.png`],
91 | config
92 | );
at /__w/mono/mono/showcases/e2e/default.ts:89:22
|
🔣 Print GitHub Report:
showcases/e2e/default.ts#L89
1) [chromium] › default.ts:52:2 › DBCheckbox › should match screenshot ───────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
3732 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/mono/mono/__snapshots__/checkbox/showcase/chromium/regular/neutral-bg-lvl-1/DBCheckbox-should-match-screenshot.png
Received: /__w/mono/mono/showcases/angular-showcase/test-results/checkbox-showcase-checkbox-b4ab0-box-should-match-screenshot-chromium-retry1/regular-neutral-bg-lvl-1-actual.png
Diff: /__w/mono/mono/showcases/angular-showcase/test-results/checkbox-showcase-checkbox-b4ab0-box-should-match-screenshot-chromium-retry1/regular-neutral-bg-lvl-1-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
- 3732 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
- 3732 pixels (ratio 0.01 of all image pixels) are different.
87 | }
88 |
> 89 | await expect(page).toHaveScreenshot(
| ^
90 | [density, `neutral-bg-lvl-1.png`],
91 | config
92 | );
at /__w/mono/mono/showcases/e2e/default.ts:89:22
|
🔣 Print GitHub Report:
showcases/e2e/default.ts#L89
2) [chromium] › default.ts:52:2 › DBNavigation › should match screenshot ─────────────────────────
Error: Screenshot comparison failed:
1396 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/mono/mono/__snapshots__/navigation/showcase/chromium/regular/neutral-bg-lvl-1/DBNavigation-should-match-screenshot.png
Received: /__w/mono/mono/showcases/angular-showcase/test-results/navigation-showcase-naviga-1138c-ion-should-match-screenshot-chromium/regular-neutral-bg-lvl-1-actual.png
Diff: /__w/mono/mono/showcases/angular-showcase/test-results/navigation-showcase-naviga-1138c-ion-should-match-screenshot-chromium/regular-neutral-bg-lvl-1-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
- 1396 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
- 1396 pixels (ratio 0.01 of all image pixels) are different.
87 | }
88 |
> 89 | await expect(page).toHaveScreenshot(
| ^
90 | [density, `neutral-bg-lvl-1.png`],
91 | config
92 | );
at /__w/mono/mono/showcases/e2e/default.ts:89:22
|
🔣 Print GitHub Report:
showcases/e2e/default.ts#L89
2) [chromium] › default.ts:52:2 › DBNavigation › should match screenshot ─────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
1396 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/mono/mono/__snapshots__/navigation/showcase/chromium/regular/neutral-bg-lvl-1/DBNavigation-should-match-screenshot.png
Received: /__w/mono/mono/showcases/angular-showcase/test-results/navigation-showcase-naviga-1138c-ion-should-match-screenshot-chromium-retry1/regular-neutral-bg-lvl-1-actual.png
Diff: /__w/mono/mono/showcases/angular-showcase/test-results/navigation-showcase-naviga-1138c-ion-should-match-screenshot-chromium-retry1/regular-neutral-bg-lvl-1-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
- 1396 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
- 1396 pixels (ratio 0.01 of all image pixels) are different.
87 | }
88 |
> 89 | await expect(page).toHaveScreenshot(
| ^
90 | [density, `neutral-bg-lvl-1.png`],
91 | config
92 | );
at /__w/mono/mono/showcases/e2e/default.ts:89:22
|
🔣 Print GitHub Report:
showcases/e2e/default.ts#L89
3) [chromium] › default.ts:52:2 › DBRadio › should match screenshot ──────────────────────────────
Error: Screenshot comparison failed:
1882 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/mono/mono/__snapshots__/radio/showcase/chromium/regular/neutral-bg-lvl-1/DBRadio-should-match-screenshot.png
Received: /__w/mono/mono/showcases/angular-showcase/test-results/radio-showcase-radio-DBRadio-should-match-screenshot-chromium/regular-neutral-bg-lvl-1-actual.png
Diff: /__w/mono/mono/showcases/angular-showcase/test-results/radio-showcase-radio-DBRadio-should-match-screenshot-chromium/regular-neutral-bg-lvl-1-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
- 1882 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
- 1882 pixels (ratio 0.01 of all image pixels) are different.
87 | }
88 |
> 89 | await expect(page).toHaveScreenshot(
| ^
90 | [density, `neutral-bg-lvl-1.png`],
91 | config
92 | );
at /__w/mono/mono/showcases/e2e/default.ts:89:22
|
🔣 Print GitHub Report:
showcases/e2e/default.ts#L89
3) [chromium] › default.ts:52:2 › DBRadio › should match screenshot ──────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
1882 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/mono/mono/__snapshots__/radio/showcase/chromium/regular/neutral-bg-lvl-1/DBRadio-should-match-screenshot.png
Received: /__w/mono/mono/showcases/angular-showcase/test-results/radio-showcase-radio-DBRadio-should-match-screenshot-chromium-retry1/regular-neutral-bg-lvl-1-actual.png
Diff: /__w/mono/mono/showcases/angular-showcase/test-results/radio-showcase-radio-DBRadio-should-match-screenshot-chromium-retry1/regular-neutral-bg-lvl-1-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
- 1882 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
- 1882 pixels (ratio 0.01 of all image pixels) are different.
87 | }
88 |
> 89 | await expect(page).toHaveScreenshot(
| ^
90 | [density, `neutral-bg-lvl-1.png`],
91 | config
92 | );
at /__w/mono/mono/showcases/e2e/default.ts:89:22
|
🔣 Print GitHub Report:
showcases/e2e/default.ts#L89
4) [chromium] › default.ts:52:2 › DBSelect › should match screenshot ─────────────────────────────
Error: Screenshot comparison failed:
3007 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/mono/mono/__snapshots__/select/showcase/chromium/regular/neutral-bg-lvl-1/DBSelect-should-match-screenshot.png
Received: /__w/mono/mono/showcases/angular-showcase/test-results/select-showcase-select-DBSelect-should-match-screenshot-chromium/regular-neutral-bg-lvl-1-actual.png
Diff: /__w/mono/mono/showcases/angular-showcase/test-results/select-showcase-select-DBSelect-should-match-screenshot-chromium/regular-neutral-bg-lvl-1-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
- 3007 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
- 3007 pixels (ratio 0.01 of all image pixels) are different.
87 | }
88 |
> 89 | await expect(page).toHaveScreenshot(
| ^
90 | [density, `neutral-bg-lvl-1.png`],
91 | config
92 | );
at /__w/mono/mono/showcases/e2e/default.ts:89:22
|
🔣 Print GitHub Report:
showcases/e2e/default.ts#L89
4) [chromium] › default.ts:52:2 › DBSelect › should match screenshot ─────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
3007 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/mono/mono/__snapshots__/select/showcase/chromium/regular/neutral-bg-lvl-1/DBSelect-should-match-screenshot.png
Received: /__w/mono/mono/showcases/angular-showcase/test-results/select-showcase-select-DBSelect-should-match-screenshot-chromium-retry1/regular-neutral-bg-lvl-1-actual.png
Diff: /__w/mono/mono/showcases/angular-showcase/test-results/select-showcase-select-DBSelect-should-match-screenshot-chromium-retry1/regular-neutral-bg-lvl-1-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
- 3007 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
- 3007 pixels (ratio 0.01 of all image pixels) are different.
87 | }
88 |
> 89 | await expect(page).toHaveScreenshot(
| ^
90 | [density, `neutral-bg-lvl-1.png`],
91 | config
92 | );
at /__w/mono/mono/showcases/e2e/default.ts:89:22
|
🔣 Print GitHub Report:
showcases/e2e/default.ts#L89
5) [chromium] › default.ts:52:2 › DBSwitch › should match screenshot ─────────────────────────────
Error: Screenshot comparison failed:
Expected an image 1280px by 2100px, received 1280px by 2955px. 90131 pixels (ratio 0.03 of all image pixels) are different.
Expected: /__w/mono/mono/__snapshots__/switch/showcase/chromium/regular/neutral-bg-lvl-1/DBSwitch-should-match-screenshot.png
Received: /__w/mono/mono/showcases/angular-showcase/test-results/switch-showcase-switch-DBSwitch-should-match-screenshot-chromium/regular-neutral-bg-lvl-1-actual.png
Diff: /__w/mono/mono/showcases/angular-showcase/test-results/switch-showcase-switch-DBSwitch-should-match-screenshot-chromium/regular-neutral-bg-lvl-1-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 1280px by 2100px, received 1280px by 2955px. 90138 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 1280px by 2100px, received 1280px by 2955px. 90131 pixels (ratio 0.03 of all image pixels) are different.
87 | }
88 |
> 89 | await expect(page).toHaveScreenshot(
| ^
90 | [density, `neutral-bg-lvl-1.png`],
91 | config
92 | );
at /__w/mono/mono/showcases/e2e/default.ts:89:22
|
🔣 Print GitHub Report:
showcases/e2e/default.ts#L89
5) [chromium] › default.ts:52:2 › DBSwitch › should match screenshot ─────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
Expected an image 1280px by 2100px, received 1280px by 2955px. 90131 pixels (ratio 0.03 of all image pixels) are different.
Expected: /__w/mono/mono/__snapshots__/switch/showcase/chromium/regular/neutral-bg-lvl-1/DBSwitch-should-match-screenshot.png
Received: /__w/mono/mono/showcases/angular-showcase/test-results/switch-showcase-switch-DBSwitch-should-match-screenshot-chromium-retry1/regular-neutral-bg-lvl-1-actual.png
Diff: /__w/mono/mono/showcases/angular-showcase/test-results/switch-showcase-switch-DBSwitch-should-match-screenshot-chromium-retry1/regular-neutral-bg-lvl-1-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 1280px by 2100px, received 1280px by 2955px. 90138 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 1280px by 2100px, received 1280px by 2955px. 90131 pixels (ratio 0.03 of all image pixels) are different.
87 | }
88 |
> 89 | await expect(page).toHaveScreenshot(
| ^
90 | [density, `neutral-bg-lvl-1.png`],
91 | config
92 | );
at /__w/mono/mono/showcases/e2e/default.ts:89:22
|
👩🔬 Test showcase with Playwright 🎭
Process completed with exit code 1.
|
🔣 Print GitHub Report
5 failed
[chromium] › default.ts:52:2 › DBCheckbox › should match screenshot ────────────────────────────
[chromium] › default.ts:52:2 › DBNavigation › should match screenshot ──────────────────────────
[chromium] › default.ts:52:2 › DBRadio › should match screenshot ───────────────────────────────
[chromium] › default.ts:52:2 › DBSelect › should match screenshot ──────────────────────────────
[chromium] › default.ts:52:2 › DBSwitch › should match screenshot ──────────────────────────────
7 skipped
90 passed (2.1m)
|
Loading