refactor: tag component to improve ux #16401
Annotations
3 errors, 1 warning, and 1 notice
🔣 Print GitHub Report:
showcases/patternhub/tests/default.spec.ts#L15
1) [chromium] › default.spec.ts:10:2 › badge › overview should match screenshot ──────────────────
Error: expect(page).toHaveScreenshot(expected)
1704 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/mono/mono/__snapshots__/badge/patternhub/badge-overview-should-match-screenshot.png
Received: /__w/mono/mono/showcases/patternhub/test-results/default-badge-overview-should-match-screenshot-chromium/badge/patternhub-actual.png
Diff: /__w/mono/mono/showcases/patternhub/test-results/default-badge-overview-should-match-screenshot-chromium/badge/patternhub-diff.png
Call log:
- expect.toHaveScreenshot(badge/patternhub.png) with timeout 30000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 1704 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
- 1704 pixels (ratio 0.01 of all image pixels) are different.
13 | });
14 | await fn(page);
> 15 | await expect(page).toHaveScreenshot([name, 'patternhub.png']);
| ^
16 | });
17 | };
18 |
at /__w/mono/mono/showcases/patternhub/tests/default.spec.ts:15:22
|
🔣 Print GitHub Report:
showcases/patternhub/tests/default.spec.ts#L15
1) [chromium] › default.spec.ts:10:2 › badge › overview should match screenshot ──────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(page).toHaveScreenshot(expected)
1704 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/mono/mono/__snapshots__/badge/patternhub/badge-overview-should-match-screenshot.png
Received: /__w/mono/mono/showcases/patternhub/test-results/default-badge-overview-should-match-screenshot-chromium-retry1/badge/patternhub-actual.png
Diff: /__w/mono/mono/showcases/patternhub/test-results/default-badge-overview-should-match-screenshot-chromium-retry1/badge/patternhub-diff.png
Call log:
- expect.toHaveScreenshot(badge/patternhub.png) with timeout 30000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 1704 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
- 1704 pixels (ratio 0.01 of all image pixels) are different.
13 | });
14 | await fn(page);
> 15 | await expect(page).toHaveScreenshot([name, 'patternhub.png']);
| ^
16 | });
17 | };
18 |
at /__w/mono/mono/showcases/patternhub/tests/default.spec.ts:15:22
|
👩🔬 Test showcase with Playwright 🎭
Process completed with exit code 1.
|
🆙 Upload aChecker results
No files were found with the provided path: ./showcases/patternhub-showcase/results. No artifacts will be uploaded.
|
🔣 Print GitHub Report
1 failed
[chromium] › default.spec.ts:10:2 › badge › overview should match screenshot ───────────────────
12 passed (11.2s)
|
Loading