refactor: replace slow performing CSS selectors #13202
Annotations
3 errors, 1 warning, and 1 notice
|
showcases/e2e/default.ts#L94
1) [firefox] › 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/firefox/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-firefox/DBNavigation-should-match-screenshot-1-actual.png
Diff: /__w/mono/mono/showcases/angular-showcase/test-results/navigation-showcase-naviga-1138c-ion-should-match-screenshot-firefox/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) [firefox] › 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/firefox/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-firefox-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-firefox-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
|
|
1 failed
[firefox] › default.ts:57:2 › DBNavigation › should match screenshot ───────────────────────────
27 flaky
[firefox] › default.ts:134:2 › DBAccordion › test with accessibility checker ───────────────────
[firefox] › default.ts:134:2 › DBAccordionItem › test with accessibility checker ───────────────
[firefox] › default.ts:134:2 › DBBadge › test with accessibility checker ───────────────────────
[firefox] › default.ts:134:2 › DBBrand › test with accessibility checker ───────────────────────
[firefox] › default.ts:134:2 › DBButton › test with accessibility checker ──────────────────────
[firefox] › default.ts:134:2 › DBCard › test with accessibility checker ────────────────────────
[firefox] › default.ts:134:2 › DBCheckbox › test with accessibility checker ────────────────────
[firefox] › default.ts:134:2 › DBDivider › test with accessibility checker ─────────────────────
[firefox] › default.ts:134:2 › DBDrawer › test with accessibility checker ──────────────────────
[firefox] › default.ts:134:2 › DBHeader › test with accessibility checker ──────────────────────
[firefox] › default.ts:134:2 › DBIcon › test with accessibility checker ────────────────────────
[firefox] › default.ts:134:2 › DBInfotext › test with accessibility checker ────────────────────
[firefox] › default.ts:134:2 › DBInput › test with accessibility checker ───────────────────────
[firefox] › default.ts:134:2 › DBLink › test with accessibility checker ────────────────────────
[firefox] › default.ts:134:2 › DBNavigation › test with accessibility checker ──────────────────
[firefox] › default.ts:134:2 › DBNavigationItem › test with accessibility checker ──────────────
[firefox] › default.ts:134:2 › DBNotification › test with accessibility checker ────────────────
[firefox] › default.ts:134:2 › DBPopover › test with accessibility checker ─────────────────────
[firefox] › default.ts:134:2 › DBRadio › test with accessibility checker ───────────────────────
[firefox] › default.ts:134:2 › DBSection › test with accessibility checker ─────────────────────
[firefox] › default.ts:134:2 › DBSelect › test with accessibility checker ──────────────────────
[firefox] › default.ts:134:2 › DBSwitch › test with accessibility checker ──────────────────────
[firefox] › default.ts:134:2 › DBTabItem › test with accessibility checker ─────────────────────
[firefox] › default.ts:134:2 › DBTabs › test with accessibility checker ────────────────────────
[firefox] › default.ts:134:2 › DBTag › test with accessibility checker ─────────────────────────
[firefox] › default.ts:134:2 › DBTextarea › test with accessibility checker ────────────────────
[firefox] › default.ts:134:2 › DBTooltip › test with accessibility checker ─────────────────────
10 skipped
103 passed (4.0m)
|
This job failed
Loading