refactor: patternhub examples to align with figma props #15592
Annotations
7 errors, 2 warnings, and 1 notice
👩🔬 Test showcase with Playwright 🎭
Process completed with exit code 1.
|
🔣 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-18d71c63-9aac-4210-ade2-8ef333d3dc0a-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-18d71c63-9aac-4210-ade2-8ef333d3dc0a%5C%22%20aria-describedby%3D%5C%22input-18d71c63-9aac-4210-ade2-8ef333d3dc0a-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-18d71c63-9aac-4210-ade2-8ef333d3dc0a-message%22%2C%22aria-describedby%22%2C%22input%22%5D%7D",
+ "ignored": false,
+ "level": "violation",
+ "message": "The 'id' \"input-18d71c63-9aac-4210-ade2-8ef333d3dc0a-message\" specified for the ARIA property 'aria-describedby' value is not valid",
+ "messageArgs": Array [
+ "input-18d71c63-9aac-4210-ade2-8ef333d3dc0a-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-18d71c63-9aac-4210-ade2-8ef333d3dc0a\" aria-describedby=\"input-18d71c63-9aac-4210-ade2-8ef333d3dc0a-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-fb44c185-10ef-4421-afe3-d4de2785bfa5-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-fb44c185-10ef-4421-afe3-d4de2785bfa5%5C%22%20aria-describedby%3D%5C%22input-fb44c185-10ef-4421-afe3-d4de2785bfa5-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-fb44c185-10ef-4421-afe3-d4de2785bfa5-message%22%2C%22aria-describedby%22%2C%22input%22%5D%7D",
+ "ignored": false,
+ "level": "violation",
+ "message": "The 'id' \"input-fb44c185-10ef-4421-afe3-d4de2785bfa5-message\" specified for the ARIA property 'aria-describedby' value is not valid",
+ "messageArgs": Array [
+ "input-fb44c185-10ef-4421-afe3-d4de2785bfa5-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-fb44c185-10ef-4421-afe3-d4de2785bfa5\" aria-describedby=\"input-fb44c185-10ef-4421-afe3-d4de2785bfa5-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-026da85a-416a-4dc1-b73b-d01e6a019a13-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-026da85a-416a-4dc1-b73b-d01e6a019a13%5C%22%20aria-describedby%3D%5C%22select-026da85a-416a-4dc1-b73b-d01e6a019a13-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-026da85a-416a-4dc1-b73b-d01e6a019a13-message%22%2C%22aria-describedby%22%2C%22select%22%5D%7D",
+ "ignored": false,
+ "level": "violation",
+ "message": "The 'id' \"select-026da85a-416a-4dc1-b73b-d01e6a019a13-message\" specified for the ARIA property 'aria-describedby' value is not valid",
+ "messageArgs": Array [
+ "select-026da85a-416a-4dc1-b73b-d01e6a019a13-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-026da85a-416a-4dc1-b73b-d01e6a019a13\" aria-describedby=\"select-026da85a-416a-4dc1-b73b-d01e6a019a13-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-5665dfeb-8f11-44d8-8b05-f038c01ec5cf-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-5665dfeb-8f11-44d8-8b05-f038c01ec5cf%5C%22%20aria-describedby%3D%5C%22select-5665dfeb-8f11-44d8-8b05-f038c01ec5cf-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-5665dfeb-8f11-44d8-8b05-f038c01ec5cf-message%22%2C%22aria-describedby%22%2C%22select%22%5D%7D",
+ "ignored": false,
+ "level": "violation",
+ "message": "The 'id' \"select-5665dfeb-8f11-44d8-8b05-f038c01ec5cf-message\" specified for the ARIA property 'aria-describedby' value is not valid",
+ "messageArgs": Array [
+ "select-5665dfeb-8f11-44d8-8b05-f038c01ec5cf-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-5665dfeb-8f11-44d8-8b05-f038c01ec5cf\" aria-describedby=\"select-5665dfeb-8f11-44d8-8b05-f038c01ec5cf-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#L111
3) [chromium] › default.ts:79:2 › DBSwitch › should match screenshot ─────────────────────────────
Error: expect(page).toHaveScreenshot(expected)
1230 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/mono/mono/__snapshots__/switch/showcase/chromium/DBSwitch-should-match-screenshot-1/DBSwitch-should-match-screenshot.png
Received: /__w/mono/mono/showcases/vue-showcase/test-results/switch-switch-snapshot-DBSwitch-should-match-screenshot-chromium/DBSwitch-should-match-screenshot-1-actual.png
Diff: /__w/mono/mono/showcases/vue-showcase/test-results/switch-switch-snapshot-DBSwitch-should-match-screenshot-chromium/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
- 1225 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
- 1230 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
3) [chromium] › default.ts:79:2 › DBSwitch › should match screenshot ─────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(page).toHaveScreenshot(expected)
1230 pixels (ratio 0.01 of all image pixels) are different.
Expected: /__w/mono/mono/__snapshots__/switch/showcase/chromium/DBSwitch-should-match-screenshot-1/DBSwitch-should-match-screenshot.png
Received: /__w/mono/mono/showcases/vue-showcase/test-results/switch-switch-snapshot-DBSwitch-should-match-screenshot-chromium-retry1/DBSwitch-should-match-screenshot-1-actual.png
Diff: /__w/mono/mono/showcases/vue-showcase/test-results/switch-switch-snapshot-DBSwitch-should-match-screenshot-chromium-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
- 1225 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
- 1230 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/vue-showcase-showcase/results. No artifacts will be uploaded.
|
🔣 Print GitHub Report
3 failed
[chromium] › default.ts:174:2 › DBInput › test with accessibility checker ──────────────────────
[chromium] › default.ts:174:2 › DBSelect › test with accessibility checker ─────────────────────
[chromium] › default.ts:79:2 › DBSwitch › should match screenshot ──────────────────────────────
166 passed (4.1m)
|
Loading