refactor(accordion): adapt native standard for behaviour
#15082
Annotations
5 errors, 1 warning, and 1 notice
🔣 Print GitHub Report:
showcases/patternhub/tests/default.spec.ts#L15
1) [chromium] › default.spec.ts:10:2 › accordion › properties should match screenshot ────────────
Error: Screenshot comparison failed:
91678 pixels (ratio 0.10 of all image pixels) are different.
Expected: /__w/mono/mono/__snapshots__/accordion/patternhub/accordion-properties-should-match-screenshot.png
Received: /__w/mono/mono/showcases/patternhub/test-results/default-accordion-properties-should-match-screenshot-chromium/accordion/patternhub-actual.png
Diff: /__w/mono/mono/showcases/patternhub/test-results/default-accordion-properties-should-match-screenshot-chromium/accordion/patternhub-diff.png
Call log:
- expect.toHaveScreenshot(accordion/patternhub.png) with timeout 30000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 91678 pixels (ratio 0.10 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
- 91678 pixels (ratio 0.10 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 › accordion › properties should match screenshot ────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
91678 pixels (ratio 0.10 of all image pixels) are different.
Expected: /__w/mono/mono/__snapshots__/accordion/patternhub/accordion-properties-should-match-screenshot.png
Received: /__w/mono/mono/showcases/patternhub/test-results/default-accordion-properties-should-match-screenshot-chromium-retry1/accordion/patternhub-actual.png
Diff: /__w/mono/mono/showcases/patternhub/test-results/default-accordion-properties-should-match-screenshot-chromium-retry1/accordion/patternhub-diff.png
Call log:
- expect.toHaveScreenshot(accordion/patternhub.png) with timeout 30000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 91678 pixels (ratio 0.10 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
- 91678 pixels (ratio 0.10 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
2) [chromium] › default.spec.ts:10:2 › accordion-item › properties should match screenshot ───────
Error: Screenshot comparison failed:
47149 pixels (ratio 0.06 of all image pixels) are different.
Expected: /__w/mono/mono/__snapshots__/accordion-item/patternhub/accordion-item-properties-should-match-screenshot.png
Received: /__w/mono/mono/showcases/patternhub/test-results/default-accordion-item-properties-should-match-screenshot-chromium/accordion-item/patternhub-actual.png
Diff: /__w/mono/mono/showcases/patternhub/test-results/default-accordion-item-properties-should-match-screenshot-chromium/accordion-item/patternhub-diff.png
Call log:
- expect.toHaveScreenshot(accordion-item/patternhub.png) with timeout 30000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 47149 pixels (ratio 0.06 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
- 47149 pixels (ratio 0.06 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
2) [chromium] › default.spec.ts:10:2 › accordion-item › properties should match screenshot ───────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
47149 pixels (ratio 0.06 of all image pixels) are different.
Expected: /__w/mono/mono/__snapshots__/accordion-item/patternhub/accordion-item-properties-should-match-screenshot.png
Received: /__w/mono/mono/showcases/patternhub/test-results/default-accordion-item-properties-should-match-screenshot-chromium-retry1/accordion-item/patternhub-actual.png
Diff: /__w/mono/mono/showcases/patternhub/test-results/default-accordion-item-properties-should-match-screenshot-chromium-retry1/accordion-item/patternhub-diff.png
Call log:
- expect.toHaveScreenshot(accordion-item/patternhub.png) with timeout 30000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 47149 pixels (ratio 0.06 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
- 47149 pixels (ratio 0.06 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/-showcase/results. No artifacts will be uploaded.
|
🔣 Print GitHub Report
2 failed
[chromium] › default.spec.ts:10:2 › accordion › properties should match screenshot ─────────────
[chromium] › default.spec.ts:10:2 › accordion-item › properties should match screenshot ────────
12 passed (16.2s)
|
Loading