refactor: added autofocus
property
#14896
Annotations
4 errors, 1 warning, and 1 notice
👩🔬 Test showcase with Playwright 🎭
Process completed with exit code 1.
|
🔣 Print GitHub Report:
showcases/patternhub/tests/default.spec.ts#L16
1) [chromium] › default.spec.ts:10:2 › switch › properties should match screenshot ───────────────
Error: Screenshot comparison failed:
69200 pixels (ratio 0.08 of all image pixels) are different.
Expected: /__w/mono/mono/__snapshots__/switch/patternhub/switch-properties-should-match-screenshot.png
Received: /__w/mono/mono/showcases/patternhub/test-results/default-switch-properties-should-match-screenshot-chromium/switch/patternhub-actual.png
Diff: /__w/mono/mono/showcases/patternhub/test-results/default-switch-properties-should-match-screenshot-chromium/switch/patternhub-diff.png
Call log:
- expect.toHaveScreenshot(switch/patternhub.png) with timeout 30000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 67461 pixels (ratio 0.08 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
- 1001 pixels (ratio 0.01 of all image pixels) are different.
- waiting 250ms before taking screenshot
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 57700 pixels (ratio 0.07 of all image pixels) are different.
- waiting 500ms before taking screenshot
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- captured a stable screenshot
- 69200 pixels (ratio 0.08 of all image pixels) are different.
14 | });
15 | await fn(page);
> 16 | await expect(page).toHaveScreenshot([name, 'patternhub.png']);
| ^
17 | });
18 | };
19 |
at /__w/mono/mono/showcases/patternhub/tests/default.spec.ts:16:22
|
🔣 Print GitHub Report:
showcases/patternhub/tests/default.spec.ts#L16
1) [chromium] › default.spec.ts:10:2 › switch › properties should match screenshot ───────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
69200 pixels (ratio 0.08 of all image pixels) are different.
Expected: /__w/mono/mono/__snapshots__/switch/patternhub/switch-properties-should-match-screenshot.png
Received: /__w/mono/mono/showcases/patternhub/test-results/default-switch-properties-should-match-screenshot-chromium-retry1/switch/patternhub-actual.png
Diff: /__w/mono/mono/showcases/patternhub/test-results/default-switch-properties-should-match-screenshot-chromium-retry1/switch/patternhub-diff.png
Call log:
- expect.toHaveScreenshot(switch/patternhub.png) with timeout 30000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 66614 pixels (ratio 0.08 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
- 57700 pixels (ratio 0.07 of all image pixels) are different.
- waiting 250ms before taking screenshot
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- captured a stable screenshot
- 69200 pixels (ratio 0.08 of all image pixels) are different.
14 | });
15 | await fn(page);
> 16 | await expect(page).toHaveScreenshot([name, 'patternhub.png']);
| ^
17 | });
18 | };
19 |
at /__w/mono/mono/showcases/patternhub/tests/default.spec.ts:16:22
|
🔣 Print GitHub Report:
showcases/patternhub/tests/default.spec.ts#L16
2) [chromium] › default.spec.ts:10:2 › select › docs should match screenshot ─────────────────────
Error: Screenshot comparison failed:
472381 pixels (ratio 0.52 of all image pixels) are different.
Expected: /__w/mono/mono/__snapshots__/select/patternhub/select-docs-should-match-screenshot.png
Received: /__w/mono/mono/showcases/patternhub/test-results/default-select-docs-should-match-screenshot-chromium/select/patternhub-actual.png
Diff: /__w/mono/mono/showcases/patternhub/test-results/default-select-docs-should-match-screenshot-chromium/select/patternhub-diff.png
Call log:
- expect.toHaveScreenshot(select/patternhub.png) with timeout 30000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 472381 pixels (ratio 0.52 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
- 472381 pixels (ratio 0.52 of all image pixels) are different.
14 | });
15 | await fn(page);
> 16 | await expect(page).toHaveScreenshot([name, 'patternhub.png']);
| ^
17 | });
18 | };
19 |
at /__w/mono/mono/showcases/patternhub/tests/default.spec.ts:16:22
|
🆙 Upload aChecker results
No files were found with the provided path: ./showcases/-showcase/results. No artifacts will be uploaded.
|
🔣 Print GitHub Report
1 failed
[chromium] › default.spec.ts:10:2 › switch › properties should match screenshot ────────────────
1 flaky
[chromium] › default.spec.ts:10:2 › select › docs should match screenshot ──────────────────────
11 passed (1.1m)
|
Loading