refactor: replace slow performing CSS selectors #13033
Annotations
3 errors, 1 warning, and 1 notice
|
showcases/e2e/default.ts#L94
1) [chromium-highContrast] › default.ts:57:2 › DBNavigation › should match screenshot ────────────
Error: Screenshot comparison failed:
Expected an image 1280px by 1121px, received 1280px by 1125px. 5120 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/mono/mono/__snapshots__/navigation/showcase/chromium-highContrast/regular/neutral-bg-lvl-1/DBNavigation-should-match-screenshot.png
Received: /__w/mono/mono/showcases/vue-showcase/test-results/navigation-showcase-naviga-1138c-ion-should-match-screenshot-chromium-highContrast/regular-neutral-bg-lvl-1-actual.png
Diff: /__w/mono/mono/showcases/vue-showcase/test-results/navigation-showcase-naviga-1138c-ion-should-match-screenshot-chromium-highContrast/regular-neutral-bg-lvl-1-diff.png
Call log:
- expect.toHaveScreenshot(regular/neutral-bg-lvl-1.png) 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 1121px, received 1280px by 1125px. 5120 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
- Expected an image 1280px by 1121px, received 1280px by 1125px. 5120 pixels (ratio 0.01 of all image pixels) are different.
92 | }
93 |
> 94 | await expect(page).toHaveScreenshot(
| ^
95 | [density, `neutral-bg-lvl-1.png`],
96 | config
97 | );
at /__w/mono/mono/showcases/e2e/default.ts:94:22
|
showcases/e2e/default.ts#L94
1) [chromium-highContrast] › default.ts:57:2 › DBNavigation › should match screenshot ────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
Expected an image 1280px by 1121px, received 1280px by 1125px. 5120 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/mono/mono/__snapshots__/navigation/showcase/chromium-highContrast/regular/neutral-bg-lvl-1/DBNavigation-should-match-screenshot.png
Received: /__w/mono/mono/showcases/vue-showcase/test-results/navigation-showcase-naviga-1138c-ion-should-match-screenshot-chromium-highContrast-retry1/regular-neutral-bg-lvl-1-actual.png
Diff: /__w/mono/mono/showcases/vue-showcase/test-results/navigation-showcase-naviga-1138c-ion-should-match-screenshot-chromium-highContrast-retry1/regular-neutral-bg-lvl-1-diff.png
Call log:
- expect.toHaveScreenshot(regular/neutral-bg-lvl-1.png) 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 1121px, received 1280px by 1125px. 5120 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
- Expected an image 1280px by 1121px, received 1280px by 1125px. 5120 pixels (ratio 0.01 of all image pixels) are different.
92 | }
93 |
> 94 | await expect(page).toHaveScreenshot(
| ^
95 | [density, `neutral-bg-lvl-1.png`],
96 | config
97 | );
at /__w/mono/mono/showcases/e2e/default.ts:94:22
|
|
|
This job failed
Loading