refactor: patternhub examples to align with figma props #15592
Annotations
5 errors, 2 warnings, and 1 notice
🔣 Print GitHub Report:
showcases/e2e/default.ts#L210
1) [chromium] › 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": 1445,
+ "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-55d446bb-11a5-48cf-9585-08ba16ea39cd-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-55d446bb-11a5-48cf-9585-08ba16ea39cd%5C%22%20value%3D%5C%22%5C%22%20aria-describedby%3D%5C%22input-55d446bb-11a5-48cf-9585-08ba16ea39cd-message%5C%22%20placeholder%3D%5C%22(Default)%20False%5C%22%20type%3D%5C%22text%5C%22%20aria-invalid%3D%5C%22false%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-55d446bb-11a5-48cf-9585-08ba16ea39cd-message%22%2C%22aria-describedby%22%2C%22input%22%5D%7D",
+ "ignored": false,
+ "level": "violation",
+ "message": "The 'id' \"input-55d446bb-11a5-48cf-9585-08ba16ea39cd-message\" specified for the ARIA property 'aria-describedby' value is not valid",
+ "messageArgs": Array [
+ "input-55d446bb-11a5-48cf-9585-08ba16ea39cd-message",
+ "aria-describedby",
+ "input",
+ ],
+ "path": Object {
+ "aria": "/document[1]/main[1]/textbox[8]",
+ "dom": "/html[1]/body[1]/div[1]/div[1]/main[1]/div[1]/div[1]/div[4]/div[2]/div[1]/div[1]/div[1]/input[1]",
+ },
+ "reasonId": "Fail_1",
+ "ruleId": "aria_id_unique",
+ "ruleTime": 0,
+ "snippet": "<input id=\"input-55d446bb-11a5-48cf-9585-08ba16ea39cd\" value=\"\" aria-describedby=\"input-55d446bb-11a5-48cf-9585-08ba16ea39cd-message\" placeholder=\"(Default) False\" type=\"text\" aria-invalid=\"false\">",
+ "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] › 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": 1445,
+ "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-3f09599c-e296-42e2-9510-6c9d6073c4f8-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-3f09599c-e296-42e2-9510-6c9d6073c4f8%5C%22%20value%3D%5C%22%5C%22%20aria-describedby%3D%5C%22input-3f09599c-e296-42e2-9510-6c9d6073c4f8-message%5C%22%20placeholder%3D%5C%22(Default)%20False%5C%22%20type%3D%5C%22text%5C%22%20aria-invalid%3D%5C%22false%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-3f09599c-e296-42e2-9510-6c9d6073c4f8-message%22%2C%22aria-describedby%22%2C%22input%22%5D%7D",
+ "ignored": false,
+ "level": "violation",
+ "message": "The 'id' \"input-3f09599c-e296-42e2-9510-6c9d6073c4f8-message\" specified for the ARIA property 'aria-describedby' value is not valid",
+ "messageArgs": Array [
+ "input-3f09599c-e296-42e2-9510-6c9d6073c4f8-message",
+ "aria-describedby",
+ "input",
+ ],
+ "path": Object {
+ "aria": "/document[1]/main[1]/textbox[8]",
+ "dom": "/html[1]/body[1]/div[1]/div[1]/main[1]/div[1]/div[1]/div[4]/div[2]/div[1]/div[1]/div[1]/input[1]",
+ },
+ "reasonId": "Fail_1",
+ "ruleId": "aria_id_unique",
+ "ruleTime": 0,
+ "snippet": "<input id=\"input-3f09599c-e296-42e2-9510-6c9d6073c4f8\" value=\"\" aria-describedby=\"input-3f09599c-e296-42e2-9510-6c9d6073c4f8-message\" placeholder=\"(Default) False\" type=\"text\" aria-invalid=\"false\">",
+ "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
2) [chromium] › default.ts:174:2 › DBSelect › 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": 332,
+ "top": 1445,
+ "width": 300,
+ },
+ "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%22select-6984d2fe-4f74-4985-b42e-09950ca36ee4-message%5C%22%20specified%20for%20the%20ARIA%20property%20'aria-describedby'%20value%20is%20not%20valid%22%2C%22snippet%22%3A%22%3Cselect%20id%3D%5C%22select-6984d2fe-4f74-4985-b42e-09950ca36ee4%5C%22%20aria-describedby%3D%5C%22select-6984d2fe-4f74-4985-b42e-09950ca36ee4-message%5C%22%20aria-invalid%3D%5C%22false%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%22select-6984d2fe-4f74-4985-b42e-09950ca36ee4-message%22%2C%22aria-describedby%22%2C%22select%22%5D%7D",
+ "ignored": false,
+ "level": "violation",
+ "message": "The 'id' \"select-6984d2fe-4f74-4985-b42e-09950ca36ee4-message\" specified for the ARIA property 'aria-describedby' value is not valid",
+ "messageArgs": Array [
+ "select-6984d2fe-4f74-4985-b42e-09950ca36ee4-message",
+ "aria-describedby",
+ "select",
+ ],
+ "path": Object {
+ "aria": "/document[1]/main[1]/combobox[8]",
+ "dom": "/html[1]/body[1]/div[1]/div[1]/main[1]/div[1]/div[1]/div[4]/div[2]/div[1]/div[1]/div[1]/select[1]",
+ },
+ "reasonId": "Fail_1",
+ "ruleId": "aria_id_unique",
+ "ruleTime": 0,
+ "snippet": "<select id=\"select-6984d2fe-4f74-4985-b42e-09950ca36ee4\" aria-describedby=\"select-6984d2fe-4f74-4985-b42e-09950ca36ee4-message\" aria-invalid=\"false\">",
+ "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
2) [chromium] › default.ts:174:2 › DBSelect › 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": 332,
+ "top": 1445,
+ "width": 300,
+ },
+ "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%22select-ca8ab1fe-f741-4b37-bf77-422821305f14-message%5C%22%20specified%20for%20the%20ARIA%20property%20'aria-describedby'%20value%20is%20not%20valid%22%2C%22snippet%22%3A%22%3Cselect%20id%3D%5C%22select-ca8ab1fe-f741-4b37-bf77-422821305f14%5C%22%20aria-describedby%3D%5C%22select-ca8ab1fe-f741-4b37-bf77-422821305f14-message%5C%22%20aria-invalid%3D%5C%22false%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%22select-ca8ab1fe-f741-4b37-bf77-422821305f14-message%22%2C%22aria-describedby%22%2C%22select%22%5D%7D",
+ "ignored": false,
+ "level": "violation",
+ "message": "The 'id' \"select-ca8ab1fe-f741-4b37-bf77-422821305f14-message\" specified for the ARIA property 'aria-describedby' value is not valid",
+ "messageArgs": Array [
+ "select-ca8ab1fe-f741-4b37-bf77-422821305f14-message",
+ "aria-describedby",
+ "select",
+ ],
+ "path": Object {
+ "aria": "/document[1]/main[1]/combobox[8]",
+ "dom": "/html[1]/body[1]/div[1]/div[1]/main[1]/div[1]/div[1]/div[4]/div[2]/div[1]/div[1]/div[1]/select[1]",
+ },
+ "reasonId": "Fail_1",
+ "ruleId": "aria_id_unique",
+ "ruleTime": 0,
+ "snippet": "<select id=\"select-ca8ab1fe-f741-4b37-bf77-422821305f14\" aria-describedby=\"select-ca8ab1fe-f741-4b37-bf77-422821305f14-message\" aria-invalid=\"false\">",
+ "value": Array [
+ "VIOLATION",
+ "FAIL",
+ ],
+ },
+ ]
208 | }
209 |
> 210 | expect(failures).toEqual([]);
| ^
211 | });
212 | };
213 |
at /__w/mono/mono/showcases/e2e/default.ts:210:20
|
👩🔬 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/react-showcase-showcase/results. No artifacts will be uploaded.
|
🔣 Print GitHub Report
2 failed
[chromium] › default.ts:174:2 › DBInput › test with accessibility checker ──────────────────────
[chromium] › default.ts:174:2 › DBSelect › test with accessibility checker ─────────────────────
167 passed (4.1m)
|
Loading