refactor: patternhub examples to align with figma props #15599
Annotations
5 errors, 2 warnings, and 1 notice
🔣 Print GitHub Report:
showcases/e2e/default.ts#L229
1) [mobile_chrome] › default.ts:219:2 › DBSelect › should have same aria-snapshot ────────────────
Error: expect(string).toMatchSnapshot(expected)
- main:
- heading "DBSelect" [level=1]
- link "Density arrow_up_right\" / \""
- text: Label
- combobox "Label":
- option "Option 1"
- option "Option 2"
- text: Functional
- text: Functional
- status
- text: chevron_down" / " Label
- combobox "Label":
- option "Option 1"
- option "Option 2"
- text: (Default) Regular
- text: (Default) Regular
- status
- text: chevron_down" / " Label
- combobox "Label":
- option "Option 1"
- option "Option 2"
- text: Expressive
- text: Expressive
- status
- text: chevron_down" / "
- link "Variant arrow_up_right\" / \""
- text: Label
- combobox "Label":
- option "Option 1"
- option "Option 2"
- text: (Default) Label Above
- text: (Default) Label Above
- status
- text: chevron_down" / " Label
- combobox "Label":
- option "Floating Label" [selected]
- option "Option 2"
- text: Floating Label
- status
- text: chevron_down" / "
- link "Show Label arrow_up_right\" / \""
- text: Label
- combobox "Label":
- option "Option 1"
- option "Option 2"
- text: (Default) True
- text: (Default) True
- status
- text: chevron_down" / " Label
- combobox "Label":
- option "Option 1"
- option "Option 2"
- text: "False"
- text: "False"
- status
- text: chevron_down" / "
- link "Show Message arrow_up_right\" / \""
- text: Label
- combobox "Label":
- option "Option 1"
- option "Option 2"
- text: (Default) False
- text: (Default) False
- status
- text: chevron_down" / " Label
- combobox "Label":
- option "Option 1"
- option "Option 2"
- text: "True"
- text: True information_circle" / " Message
- status
- text: chevron_down" / "
- link "State arrow_up_right\" / \""
- text: Label
- combobox "Label":
- option "Option 1"
- option "Option 2"
- text: (Default) Empty
- text: (Default) Empty
- status
- text: chevron_down" / " Label
- combobox "Label":
- option "Filled" [selected]
- option "Option 2"
- text: Filled
- status
- text: chevron_down" / "
- link "Validation arrow_up_right\" / \""
- text: Label
- combobox "Label":
- option "Option 1"
- option "Option 2"
- text: (Default) No validation
- text: (Default) No validation
- status
- text: chevron_down" / " Label
- combobox "Label":
- option "Option 1"
- option "Option 2"
- text: Invalid
- text: Invalid exclamation_mark_circle" / " Invalid Message
- status
- text: chevron_down" / " Label
- combobox "Label":
- option "Valid" [selected]
- option "Option 2"
- text: Valid
- text: Valid check_circle" / " Valid message
- status
- text: chevron_down" / "
- link "Disabled arrow_up_right\" / \""
- text: Label
- combobox "Label":
- option "Option 1"
- option "Option 2"
- text: (Default) False
- text: (Default) False
- status
- text: chevron_down" / " Label
- combobox "Label" [disabled]:
- option "Option 1"
- option "Option 2"
- text: "True"
- text: "True"
- status
- text: chevron_down" / "
- link "Content arrow_up_right\" / \""
- text:
|
🔣 Print GitHub Report:
showcases/e2e/default.ts#L229
1) [mobile_chrome] › default.ts:219:2 › DBSelect › should have same aria-snapshot ────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(string).toMatchSnapshot(expected)
- main:
- heading "DBSelect" [level=1]
- link "Density arrow_up_right\" / \""
- text: Label
- combobox "Label":
- option "Option 1"
- option "Option 2"
- text: Functional
- text: Functional
- status
- text: chevron_down" / " Label
- combobox "Label":
- option "Option 1"
- option "Option 2"
- text: (Default) Regular
- text: (Default) Regular
- status
- text: chevron_down" / " Label
- combobox "Label":
- option "Option 1"
- option "Option 2"
- text: Expressive
- text: Expressive
- status
- text: chevron_down" / "
- link "Variant arrow_up_right\" / \""
- text: Label
- combobox "Label":
- option "Option 1"
- option "Option 2"
- text: (Default) Label Above
- text: (Default) Label Above
- status
- text: chevron_down" / " Label
- combobox "Label":
- option "Floating Label" [selected]
- option "Option 2"
- text: Floating Label
- status
- text: chevron_down" / "
- link "Show Label arrow_up_right\" / \""
- text: Label
- combobox "Label":
- option "Option 1"
- option "Option 2"
- text: (Default) True
- text: (Default) True
- status
- text: chevron_down" / " Label
- combobox "Label":
- option "Option 1"
- option "Option 2"
- text: "False"
- text: "False"
- status
- text: chevron_down" / "
- link "Show Message arrow_up_right\" / \""
- text: Label
- combobox "Label":
- option "Option 1"
- option "Option 2"
- text: (Default) False
- text: (Default) False
- status
- text: chevron_down" / " Label
- combobox "Label":
- option "Option 1"
- option "Option 2"
- text: "True"
- text: True information_circle" / " Message
- status
- text: chevron_down" / "
- link "State arrow_up_right\" / \""
- text: Label
- combobox "Label":
- option "Option 1"
- option "Option 2"
- text: (Default) Empty
- text: (Default) Empty
- status
- text: chevron_down" / " Label
- combobox "Label":
- option "Filled" [selected]
- option "Option 2"
- text: Filled
- status
- text: chevron_down" / "
- link "Validation arrow_up_right\" / \""
- text: Label
- combobox "Label":
- option "Option 1"
- option "Option 2"
- text: (Default) No validation
- text: (Default) No validation
- status
- text: chevron_down" / " Label
- combobox "Label":
- option "Option 1"
- option "Option 2"
- text: Invalid
- text: Invalid exclamation_mark_circle" / " Invalid Message
- status
- text: chevron_down" / " Label
- combobox "Label":
- option "Valid" [selected]
- option "Option 2"
- text: Valid
- text: Valid check_circle" / " Valid message
- status
- text: chevron_down" / "
- link "Disabled arrow_up_right\" / \""
- text: Label
- combobox "Label":
- option "Option 1"
- option "Option 2"
- text: (Default) False
- text: (Default) False
- status
- text: chevron_down" / " Label
- combobox "Label" [disabled]:
- option "Option 1"
- option "Option 2"
- text: "True"
- text: "True"
- s
|
🔣 Print GitHub Report:
showcases/e2e/default.ts#L111
2) [mobile_chrome] › default.ts:79:2 › DBSwitch › should match screenshot ────────────────────────
Error: expect(page).toHaveScreenshot(expected)
1192 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/mono/mono/__snapshots__/switch/showcase/mobile-chrome/DBSwitch-should-match-screenshot-1/DBSwitch-should-match-screenshot.png
Received: /__w/mono/mono/showcases/angular-showcase/test-results/switch-switch-snapshot-DBSwitch-should-match-screenshot-mobile-chrome/DBSwitch-should-match-screenshot-1-actual.png
Diff: /__w/mono/mono/showcases/angular-showcase/test-results/switch-switch-snapshot-DBSwitch-should-match-screenshot-mobile-chrome/DBSwitch-should-match-screenshot-1-diff.png
Call log:
- expect.toHaveScreenshot with timeout 30000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 1187 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
- 1192 pixels (ratio 0.01 of all image pixels) are different.
109 | }
110 |
> 111 | await expect(page).toHaveScreenshot(config);
| ^
112 | });
113 | };
114 |
at /__w/mono/mono/showcases/e2e/default.ts:111:22
|
🔣 Print GitHub Report:
showcases/e2e/default.ts#L111
2) [mobile_chrome] › default.ts:79:2 › DBSwitch › should match screenshot ────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(page).toHaveScreenshot(expected)
1192 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/mono/mono/__snapshots__/switch/showcase/mobile-chrome/DBSwitch-should-match-screenshot-1/DBSwitch-should-match-screenshot.png
Received: /__w/mono/mono/showcases/angular-showcase/test-results/switch-switch-snapshot-DBSwitch-should-match-screenshot-mobile-chrome-retry1/DBSwitch-should-match-screenshot-1-actual.png
Diff: /__w/mono/mono/showcases/angular-showcase/test-results/switch-switch-snapshot-DBSwitch-should-match-screenshot-mobile-chrome-retry1/DBSwitch-should-match-screenshot-1-diff.png
Call log:
- expect.toHaveScreenshot with timeout 30000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 1187 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
- 1192 pixels (ratio 0.01 of all image pixels) are different.
109 | }
110 |
> 111 | await expect(page).toHaveScreenshot(config);
| ^
112 | });
113 | };
114 |
at /__w/mono/mono/showcases/e2e/default.ts:111:22
|
👩🔬 Test showcase with Playwright 🎭
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
🆙 Upload aChecker results
No files were found with the provided path: ./showcases/angular-showcase-showcase/results. No artifacts will be uploaded.
|
🔣 Print GitHub Report
2 failed
[mobile_chrome] › default.ts:219:2 › DBSelect › should have same aria-snapshot ─────────────────
[mobile_chrome] › default.ts:79:2 › DBSwitch › should match screenshot ─────────────────────────
63 skipped
104 passed (2.1m)
|
Loading