refactor: patternhub examples to align with figma props #15592
Annotations
4 errors, 3 warnings, and 1 notice
👩🔬 Test showcase with Playwright 🎭
Process completed with exit code 1.
|
🔣 Print GitHub Report:
showcases/e2e/default.ts#L210
1) [chromium-highContrast] › default.ts:174:2 › DBInput › test with accessibility checker ────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 33
- Array []
+ Array [
+ Object {
+ "apiArgs": Array [],
+ "bounds": Object {
+ "height": 40,
+ "left": 411,
+ "top": 1453,
+ "width": 221,
+ },
+ "category": "Accessibility",
+ "help": "https://able.ibm.com/rules/archives/2024.11.13/doc/en-US/aria_id_unique.html#%7B%22message%22%3A%22The%20'id'%20%5C%22input-8d668a0e-a53c-4d59-b804-0bd81747daec-message%5C%22%20specified%20for%20the%20ARIA%20property%20'aria-describedby'%20value%20is%20not%20valid%22%2C%22snippet%22%3A%22%3Cinput%20id%3D%5C%22input-8d668a0e-a53c-4d59-b804-0bd81747daec%5C%22%20class%3D%5C%22%5C%22%20aria-describedby%3D%5C%22input-8d668a0e-a53c-4d59-b804-0bd81747daec-message%5C%22%20placeholder%3D%5C%22(Default)%20False%5C%22%20type%3D%5C%22text%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%2C%22ruleId%22%3A%22aria_id_unique%22%2C%22msgArgs%22%3A%5B%22input-8d668a0e-a53c-4d59-b804-0bd81747daec-message%22%2C%22aria-describedby%22%2C%22input%22%5D%7D",
+ "ignored": false,
+ "level": "violation",
+ "message": "The 'id' \"input-8d668a0e-a53c-4d59-b804-0bd81747daec-message\" specified for the ARIA property 'aria-describedby' value is not valid",
+ "messageArgs": Array [
+ "input-8d668a0e-a53c-4d59-b804-0bd81747daec-message",
+ "aria-describedby",
+ "input",
+ ],
+ "path": Object {
+ "aria": "/document[1]/main[1]/textbox[8]",
+ "dom": "/html[1]/body[1]/app-root[1]/db-page[1]/div[1]/main[1]/div[1]/app-input[1]/app-default-component[1]/div[1]/div[4]/db-card[1]/div[1]/div[1]/div[1]/db-input[1]/div[1]/input[1]",
+ },
+ "reasonId": "Fail_1",
+ "ruleId": "aria_id_unique",
+ "ruleTime": 0,
+ "snippet": "<input id=\"input-8d668a0e-a53c-4d59-b804-0bd81747daec\" class=\"\" aria-describedby=\"input-8d668a0e-a53c-4d59-b804-0bd81747daec-message\" placeholder=\"(Default) False\" type=\"text\">",
+ "value": Array [
+ "VIOLATION",
+ "FAIL",
+ ],
+ },
+ ]
208 | }
209 |
> 210 | expect(failures).toEqual([]);
| ^
211 | });
212 | };
213 |
at /__w/mono/mono/showcases/e2e/default.ts:210:20
|
🔣 Print GitHub Report:
showcases/e2e/default.ts#L210
1) [chromium-highContrast] › default.ts:174:2 › DBInput › test with accessibility checker ────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 33
- Array []
+ Array [
+ Object {
+ "apiArgs": Array [],
+ "bounds": Object {
+ "height": 40,
+ "left": 411,
+ "top": 1453,
+ "width": 221,
+ },
+ "category": "Accessibility",
+ "help": "https://able.ibm.com/rules/archives/2024.11.13/doc/en-US/aria_id_unique.html#%7B%22message%22%3A%22The%20'id'%20%5C%22input-de614e79-ae71-4130-a1a3-bd15a9156c6f-message%5C%22%20specified%20for%20the%20ARIA%20property%20'aria-describedby'%20value%20is%20not%20valid%22%2C%22snippet%22%3A%22%3Cinput%20id%3D%5C%22input-de614e79-ae71-4130-a1a3-bd15a9156c6f%5C%22%20class%3D%5C%22%5C%22%20aria-describedby%3D%5C%22input-de614e79-ae71-4130-a1a3-bd15a9156c6f-message%5C%22%20placeholder%3D%5C%22(Default)%20False%5C%22%20type%3D%5C%22text%5C%22%3E%22%2C%22value%22%3A%5B%22VIOLATION%22%2C%22FAIL%22%5D%2C%22reasonId%22%3A%22Fail_1%22%2C%22ruleId%22%3A%22aria_id_unique%22%2C%22msgArgs%22%3A%5B%22input-de614e79-ae71-4130-a1a3-bd15a9156c6f-message%22%2C%22aria-describedby%22%2C%22input%22%5D%7D",
+ "ignored": false,
+ "level": "violation",
+ "message": "The 'id' \"input-de614e79-ae71-4130-a1a3-bd15a9156c6f-message\" specified for the ARIA property 'aria-describedby' value is not valid",
+ "messageArgs": Array [
+ "input-de614e79-ae71-4130-a1a3-bd15a9156c6f-message",
+ "aria-describedby",
+ "input",
+ ],
+ "path": Object {
+ "aria": "/document[1]/main[1]/textbox[8]",
+ "dom": "/html[1]/body[1]/app-root[1]/db-page[1]/div[1]/main[1]/div[1]/app-input[1]/app-default-component[1]/div[1]/div[4]/db-card[1]/div[1]/div[1]/div[1]/db-input[1]/div[1]/input[1]",
+ },
+ "reasonId": "Fail_1",
+ "ruleId": "aria_id_unique",
+ "ruleTime": 0,
+ "snippet": "<input id=\"input-de614e79-ae71-4130-a1a3-bd15a9156c6f\" class=\"\" aria-describedby=\"input-de614e79-ae71-4130-a1a3-bd15a9156c6f-message\" placeholder=\"(Default) False\" type=\"text\">",
+ "value": Array [
+ "VIOLATION",
+ "FAIL",
+ ],
+ },
+ ]
208 | }
209 |
> 210 | expect(failures).toEqual([]);
| ^
211 | });
212 | };
213 |
at /__w/mono/mono/showcases/e2e/default.ts:210:20
|
🔣 Print GitHub Report:
showcases/e2e/default.ts#L111
2) [chromium-highContrast] › default.ts:79:2 › DBAccordionItem › should match screenshot ─────────
Error: expect(page).toHaveScreenshot(expected)
Expected an image 1280px by 1661px, received 1280px by 1677px. 20480 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/mono/mono/__snapshots__/accordion-item/showcase/chromium-highContrast/DBAccordionItem-should-match-screenshot-1/DBAccordionItem-should-match-screenshot.png
Received: /__w/mono/mono/showcases/stencil-showcase/test-results/accordion-item-accordion-i-5f968-tem-should-match-screenshot-chromium-highContrast/DBAccordionItem-should-match-screenshot-1-actual.png
Diff: /__w/mono/mono/showcases/stencil-showcase/test-results/accordion-item-accordion-i-5f968-tem-should-match-screenshot-chromium-highContrast/DBAccordionItem-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
- Expected an image 1280px by 1661px, received 1280px by 1677px. 20480 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
- Expected an image 1280px by 1661px, received 1280px by 1677px. 20480 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
|
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/stencil-showcase-showcase/results. No artifacts will be uploaded.
|
🔣 Print GitHub Report:
[chromium] › default.ts#L1
[chromium] › default.ts took 46.3s
|
🔣 Print GitHub Report
1 failed
[chromium-highContrast] › default.ts:174:2 › DBInput › test with accessibility checker ─────────
1 flaky
[chromium-highContrast] › default.ts:79:2 › DBAccordionItem › should match screenshot ──────────
22 skipped
117 passed (3.5m)
|
Loading