refactor: tag component to improve ux #16413
Annotations
5 errors, 1 warning, and 1 notice
👩🔬 Test showcase with Playwright 🎭
Process completed with exit code 1.
|
🔣 Print GitHub Report:
showcases/e2e/default.ts#L111
1) [chromium] › default.ts:79:2 › DBTag › should match screenshot ────────────────────────────────
Error: expect(page).toHaveScreenshot(expected)
904 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/mono/mono/__snapshots__/tag/showcase/chromium/DBTag-should-match-screenshot-1/DBTag-should-match-screenshot.png
Received: /__w/mono/mono/showcases/stencil-showcase/test-results/tag-tag-snapshot-DBTag-should-match-screenshot-chromium/DBTag-should-match-screenshot-1-actual.png
Diff: /__w/mono/mono/showcases/stencil-showcase/test-results/tag-tag-snapshot-DBTag-should-match-screenshot-chromium/DBTag-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
- 904 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
- 904 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
1) [chromium] › default.ts:79:2 › DBTag › should match screenshot ────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(page).toHaveScreenshot(expected)
904 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/mono/mono/__snapshots__/tag/showcase/chromium/DBTag-should-match-screenshot-1/DBTag-should-match-screenshot.png
Received: /__w/mono/mono/showcases/stencil-showcase/test-results/tag-tag-snapshot-DBTag-should-match-screenshot-chromium-retry1/DBTag-should-match-screenshot-1-actual.png
Diff: /__w/mono/mono/showcases/stencil-showcase/test-results/tag-tag-snapshot-DBTag-should-match-screenshot-chromium-retry1/DBTag-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
- 904 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
- 904 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#L232
2) [chromium] › default.ts:219:2 › DBTag › should have same aria-snapshot ────────────────────────
Error: expect(string).toMatchSnapshot(expected)
- main:
- heading "DBTag" [level=1]
- link "Density arrow_up_right\" / \""
- text: Functional (Default) Regular Expressive
- link "Emphasis arrow_up_right\" / \""
- text: (Default) Weak Origin Strong
- link "Semantic arrow_up_right\" / \""
- text: (Default) Adaptive Critical Informational Neutral Successful Warning Adaptive Origin Critical Origin Informational Origin Neutral Origin Successful Origin Warning Origin Adaptive Strong Critical Strong Informational Strong Neutral Strong Successful Strong Warning Strong
- link "Behaviour arrow_up_right\" / \""
- group "Behaviour":
- text: (Default) Static
- button "Interactive Button"
- link "Interactive Link"
- checkbox "Interactive Checkbox circle\" / \"": "on"
- text: Interactive Checkbox circle" / "
- radio "Interactive Radio 1 circle\" / \"": "on"
- text: Interactive Radio 1 circle" / "
- radio "Interactive Radio 2 circle\" / \"": "on"
- text: Interactive Radio 2 circle" / " Removeable
- button "cross\" / \" Remove tag"
- link "State arrow_up_right\" / \""
- group "State":
- checkbox "(Default) Unchecked circle\" / \"": "on"
- text: (Default) Unchecked circle" / "
- checkbox "Checked check_circle\" / \"" [checked]: "on"
- text: Checked check_circle" / "
- checkbox "Disabled check_circle\" / \"" [checked] [disabled]: "on"
- text: Disabled check_circle" / "
- link "Content arrow_up_right\" / \""
- text: (Default) Text x_placeholder" / " Icon x_placeholder" / " Icon & Text x_placeholder" / " Swap Slot Content Slot
- link "Show Check State arrow_up_right\" / \""
- checkbox "(Default )True circle\" / \"": "on"
- text: (Default )True circle" / "
- checkbox "False circle\" / \"": "on"
- text: "False circle" / "
- link "Overflow arrow_up_right\" / \""
- text: (Default) No Overflow With Overflow (max-width)
- link "Example Strong arrow_up_right\" / \""
- group "Example Strong":
- text: x_placeholder" / "
- button "Interactive Strong Button with Icon"
- text: x_placeholder" / "
- link "Interactive Strong Link with Icon"
- text: x_placeholder" / "
- checkbox "Interactive Strong Checkbox with Icon circle\" / \"": "on"
- text: Interactive Strong Checkbox with Icon circle" / " x_placeholder" / "
- radio "Interactive Strong Radio 1 with Icon circle\" / \"": "on"
- text: Interactive Strong Radio 1 with Icon circle" / " x_placeholder" / "
- radio "Interactive Strong Radio 2 with Icon circle\" / \"": "on"
- text: Interactive Strong Radio 2 with Icon circle" / "
- link "Example Origin arrow_up_right\" / \""
- group "Example Origin":
- text: x_placeholder" / "
- button "Interactive Origin Button with Icon"
- text: x_placeholder" / "
- link "Interactive Origin Link with Icon"
- text: x_placeholder" / "
- checkbox "Interactive Origin Checkbox with Icon circle\" / \"": "on"
- text: Interactive Origin Checkbox with Icon circle" / " x_placeholder" / "
- radio "Interactive Origin Radio 1 with Icon circle\" / \"": "on"
- text: Interactive Origin Radio 1 with Icon circle" / " x_placeholder" / "
- radio "Interactive Origin Radio 2 with Icon circle\" / \"": "on"
- text: Interactive Origin Radio 2 with Icon circle" / "
Expected: /__w/mono/mono/__snapshots__/tag/showcase/chromium/should-have-same-aria-snapshot/DBTag-should-have-same-aria-snapshot.yaml
Received: /__w/mono/mono/showcases/stencil-showcase/test-results/tag-tag-snapshot-DBTag-should-have-same-aria-snapshot-chromium/
|
🔣 Print GitHub Report:
showcases/e2e/default.ts#L232
2) [chromium] › default.ts:219:2 › DBTag › should have same aria-snapshot ────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(string).toMatchSnapshot(expected)
- main:
- heading "DBTag" [level=1]
- link "Density arrow_up_right\" / \""
- text: Functional (Default) Regular Expressive
- link "Emphasis arrow_up_right\" / \""
- text: (Default) Weak Origin Strong
- link "Semantic arrow_up_right\" / \""
- text: (Default) Adaptive Critical Informational Neutral Successful Warning Adaptive Origin Critical Origin Informational Origin Neutral Origin Successful Origin Warning Origin Adaptive Strong Critical Strong Informational Strong Neutral Strong Successful Strong Warning Strong
- link "Behaviour arrow_up_right\" / \""
- group "Behaviour":
- text: (Default) Static
- button "Interactive Button"
- link "Interactive Link"
- checkbox "Interactive Checkbox circle\" / \"": "on"
- text: Interactive Checkbox circle" / "
- radio "Interactive Radio 1 circle\" / \"": "on"
- text: Interactive Radio 1 circle" / "
- radio "Interactive Radio 2 circle\" / \"": "on"
- text: Interactive Radio 2 circle" / " Removeable
- button "cross\" / \" Remove tag"
- link "State arrow_up_right\" / \""
- group "State":
- checkbox "(Default) Unchecked circle\" / \"": "on"
- text: (Default) Unchecked circle" / "
- checkbox "Checked check_circle\" / \"" [checked]: "on"
- text: Checked check_circle" / "
- checkbox "Disabled check_circle\" / \"" [checked] [disabled]: "on"
- text: Disabled check_circle" / "
- link "Content arrow_up_right\" / \""
- text: (Default) Text x_placeholder" / " Icon x_placeholder" / " Icon & Text x_placeholder" / " Swap Slot Content Slot
- link "Show Check State arrow_up_right\" / \""
- checkbox "(Default )True circle\" / \"": "on"
- text: (Default )True circle" / "
- checkbox "False circle\" / \"": "on"
- text: "False circle" / "
- link "Overflow arrow_up_right\" / \""
- text: (Default) No Overflow With Overflow (max-width)
- link "Example Strong arrow_up_right\" / \""
- group "Example Strong":
- text: x_placeholder" / "
- button "Interactive Strong Button with Icon"
- text: x_placeholder" / "
- link "Interactive Strong Link with Icon"
- text: x_placeholder" / "
- checkbox "Interactive Strong Checkbox with Icon circle\" / \"": "on"
- text: Interactive Strong Checkbox with Icon circle" / " x_placeholder" / "
- radio "Interactive Strong Radio 1 with Icon circle\" / \"": "on"
- text: Interactive Strong Radio 1 with Icon circle" / " x_placeholder" / "
- radio "Interactive Strong Radio 2 with Icon circle\" / \"": "on"
- text: Interactive Strong Radio 2 with Icon circle" / "
- link "Example Origin arrow_up_right\" / \""
- group "Example Origin":
- text: x_placeholder" / "
- button "Interactive Origin Button with Icon"
- text: x_placeholder" / "
- link "Interactive Origin Link with Icon"
- text: x_placeholder" / "
- checkbox "Interactive Origin Checkbox with Icon circle\" / \"": "on"
- text: Interactive Origin Checkbox with Icon circle" / " x_placeholder" / "
- radio "Interactive Origin Radio 1 with Icon circle\" / \"": "on"
- text: Interactive Origin Radio 1 with Icon circle" / " x_placeholder" / "
- radio "Interactive Origin Radio 2 with Icon circle\" / \"": "on"
- text: Interactive Origin Radio 2 with Icon circle" / "
Expected: /__w/mono/mono/__snapshots__/tag/showcase/chromium/should-have-same-aria-snapshot/DBTag-should-have-same-aria-snapshot.yaml
Received: /__w/mono/mono/s
|
🆙 Upload aChecker results
No files were found with the provided path: ./showcases/stencil-showcase-showcase/results. No artifacts will be uploaded.
|
🔣 Print GitHub Report
2 failed
[chromium] › default.ts:79:2 › DBTag › should match screenshot ─────────────────────────────────
[chromium] › default.ts:219:2 › DBTag › should have same aria-snapshot ─────────────────────────
22 skipped
117 passed (3.4m)
|
Loading