refactor: replace slow performing CSS selectors #13223
Annotations
3 errors, 1 warning, and 1 notice
showcases/e2e/default.ts#L94
1) [webkit] › default.ts:57:2 › DBNavigation › should match screenshot ───────────────────────────
Error: Screenshot comparison failed:
1860 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/mono/mono/__snapshots__/navigation/showcase/webkit/DBNavigation-should-match-screenshot-1/DBNavigation-should-match-screenshot.png
Received: /__w/mono/mono/showcases/angular-showcase/test-results/navigation-showcase-naviga-1138c-ion-should-match-screenshot-webkit/DBNavigation-should-match-screenshot-1-actual.png
Diff: /__w/mono/mono/showcases/angular-showcase/test-results/navigation-showcase-naviga-1138c-ion-should-match-screenshot-webkit/DBNavigation-should-match-screenshot-1-diff.png
Call log:
- expect.toHaveScreenshot with timeout 10000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 1860 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
- 1860 pixels (ratio 0.01 of all image pixels) are different.
92 | }
93 |
> 94 | await expect(page).toHaveScreenshot(config);
| ^
95 | });
96 |
97 | for (const color of COLORS) {
at /__w/mono/mono/showcases/e2e/default.ts:94:22
|
showcases/e2e/default.ts#L94
1) [webkit] › default.ts:57:2 › DBNavigation › should match screenshot ───────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
1860 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/mono/mono/__snapshots__/navigation/showcase/webkit/DBNavigation-should-match-screenshot-1/DBNavigation-should-match-screenshot.png
Received: /__w/mono/mono/showcases/angular-showcase/test-results/navigation-showcase-naviga-1138c-ion-should-match-screenshot-webkit-retry1/DBNavigation-should-match-screenshot-1-actual.png
Diff: /__w/mono/mono/showcases/angular-showcase/test-results/navigation-showcase-naviga-1138c-ion-should-match-screenshot-webkit-retry1/DBNavigation-should-match-screenshot-1-diff.png
Call log:
- expect.toHaveScreenshot with timeout 10000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 1860 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
- 1860 pixels (ratio 0.01 of all image pixels) are different.
92 | }
93 |
> 94 | await expect(page).toHaveScreenshot(config);
| ^
95 | });
96 |
97 | for (const color of COLORS) {
at /__w/mono/mono/showcases/e2e/default.ts:94:22
|
|
|
|
This job failed
Loading