feat: Create tree component #2834
pr.yml
on: pull_request
e2e-tests
/
merge-reports
0s
Annotations
8 errors and 10 notices
[demo:chromium] › demo.demo-e2e-spec.ts:43:3 › Demo Website › Route docs/svelte/components/collapse/api should be accessible:
e2e/demo.demo-e2e-spec.ts#L51
1) [demo:chromium] › demo.demo-e2e-spec.ts:43:3 › Demo Website › Route docs/svelte/components/collapse/api should be accessible
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 185
- Array []
+ Array [
+ Object {
+ "description": "Ensure the contrast between foreground and background colors meets WCAG 2 AA minimum contrast ratio thresholds",
+ "help": "Elements must meet minimum color contrast ratio thresholds",
+ "helpUrl": "https://dequeuniversity.com/rules/axe/4.10/color-contrast?application=playwright",
+ "id": "color-contrast",
+ "impact": "serious",
+ "nodes": Array [
+ Object {
+ "all": Array [],
+ "any": Array [
+ Object {
+ "data": Object {
+ "bgColor": "#e9f1fc",
+ "contrastRatio": 2.58,
+ "expectedContrastRatio": "4.5:1",
+ "fgColor": "#8498b4",
+ "fontSize": "12.0pt (16px)",
+ "fontWeight": "normal",
+ "messageKey": null,
+ },
+ "id": "color-contrast",
+ "impact": "serious",
+ "message": "Element has insufficient color contrast of 2.58 (foreground color: #8498b4, background color: #e9f1fc, font size: 12.0pt (16px), font weight: normal). Expected contrast ratio of 4.5:1",
+ "relatedNodes": Array [
+ Object {
+ "html": "<div role=\"alert\" class=\"au-alert alert alert-info p-0 border-0 border-start border-5 border-info alert-dismissible fade show\">",
+ "target": Array [
+ ".alert-dismissible",
+ ],
+ },
+ Object {
+ "html": "<body data-sveltekit-preload-data=\"hover\">",
+ "target": Array [
+ "body",
+ ],
+ },
+ ],
+ },
+ ],
+ "failureSummary": "Fix any of the following:
+ Element has insufficient color contrast of 2.58 (foreground color: #8498b4, background color: #e9f1fc, font size: 12.0pt (16px), font weight: normal). Expected contrast ratio of 4.5:1",
+ "html": "<div class=\"alert-container p-3 border border-info rounded-end\">",
+ "impact": "serious",
+ "none": Array [],
+ "target": Array [
+ ".alert-dismissible > .alert-body > .alert-container.p-3.border",
+ ],
+ },
+ Object {
+ "all": Array [],
+ "any": Array [
+ Object {
+ "data": Object {
+ "bgColor": "#e9f1fc",
+ "contrastRatio": 2.58,
+ "expectedContrastRatio": "4.5:1",
+ "fgColor": "#8498b4",
+ "fontSize": "12.0pt (16px)",
+ "fontWeight": "normal",
+ "messageKey": null,
+ },
+ "id": "color-contrast",
+ "impact": "serious",
+ "message": "Element has insufficient color contrast of 2.58 (foreground color: #8498b4, background color: #e9f1fc, font size: 12.0pt (16px), font weight: normal). Expected contrast ratio of 4.5:1",
+ "relatedNodes": Array [
+ Object {
+ "html": "<div role=\"alert\" class=\"au-alert alert alert-info p-0 border-0 border-start border-5 border-info alert-dismissible fade show\">",
+ "target": Array [
+ ".alert-dismissible",
+ ],
+ },
+ Object {
+ "html": "<body data-sveltekit-preload-data=\"hover\">",
+ "target": Array [
+ "body",
+ ],
+ },
+ ],
+ },
|
[demo:chromium] › demo.demo-e2e-spec.ts:43:3 › Demo Website › Route docs/svelte/components/select/api should be accessible:
e2e/demo.demo-e2e-spec.ts#L51
2) [demo:chromium] › demo.demo-e2e-spec.ts:43:3 › Demo Website › Route docs/svelte/components/select/api should be accessible
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 144
- Array []
+ Array [
+ Object {
+ "description": "Ensure the contrast between foreground and background colors meets WCAG 2 AA minimum contrast ratio thresholds",
+ "help": "Elements must meet minimum color contrast ratio thresholds",
+ "helpUrl": "https://dequeuniversity.com/rules/axe/4.10/color-contrast?application=playwright",
+ "id": "color-contrast",
+ "impact": "serious",
+ "nodes": Array [
+ Object {
+ "all": Array [],
+ "any": Array [
+ Object {
+ "data": Object {
+ "bgColor": "#fff6d8",
+ "contrastRatio": 4.27,
+ "expectedContrastRatio": "4.5:1",
+ "fgColor": "#887332",
+ "fontSize": "12.0pt (16px)",
+ "fontWeight": "normal",
+ "messageKey": null,
+ },
+ "id": "color-contrast",
+ "impact": "serious",
+ "message": "Element has insufficient color contrast of 4.27 (foreground color: #887332, background color: #fff6d8, font size: 12.0pt (16px), font weight: normal). Expected contrast ratio of 4.5:1",
+ "relatedNodes": Array [
+ Object {
+ "html": "<div role=\"alert\" class=\"au-alert alert alert-warning p-0 border-0 border-start border-5 border-warning alert-dismissible fade show\">",
+ "target": Array [
+ ".alert-warning",
+ ],
+ },
+ Object {
+ "html": "<body data-sveltekit-preload-data=\"hover\">",
+ "target": Array [
+ "body",
+ ],
+ },
+ ],
+ },
+ ],
+ "failureSummary": "Fix any of the following:
+ Element has insufficient color contrast of 4.27 (foreground color: #887332, background color: #fff6d8, font size: 12.0pt (16px), font weight: normal). Expected contrast ratio of 4.5:1",
+ "html": "<div class=\"alert-container p-3 border border-warning rounded-end\">",
+ "impact": "serious",
+ "none": Array [],
+ "target": Array [
+ ".border-warning.alert-container.p-3",
+ ],
+ },
+ Object {
+ "all": Array [],
+ "any": Array [
+ Object {
+ "data": Object {
+ "bgColor": "#fff6d8",
+ "contrastRatio": 4.27,
+ "expectedContrastRatio": "4.5:1",
+ "fgColor": "#887332",
+ "fontSize": "12.0pt (16px)",
+ "fontWeight": "normal",
+ "messageKey": null,
+ },
+ "id": "color-contrast",
+ "impact": "serious",
+ "message": "Element has insufficient color contrast of 4.27 (foreground color: #887332, background color: #fff6d8, font size: 12.0pt (16px), font weight: normal). Expected contrast ratio of 4.5:1",
+ "relatedNodes": Array [
+ Object {
+ "html": "<div role=\"alert\" class=\"au-alert alert alert-warning p-0 border-0 border-start border-5 border-warning alert-dismissible fade show\">",
+ "target": Array [
+ ".alert-warning",
+ ],
+ },
+ Object {
+ "html": "<body data-sveltekit-preload-data=\"hover\">",
+ "target": Array [
+ "body",
+ ],
+ },
+ ],
+ },
+ ],
|
[demo:chromium] › demo.demo-e2e-spec.ts:43:3 › Demo Website › Route docs/svelte/components/slider/api should be accessible:
e2e/demo.demo-e2e-spec.ts#L51
3) [demo:chromium] › demo.demo-e2e-spec.ts:43:3 › Demo Website › Route docs/svelte/components/slider/api should be accessible
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 185
- Array []
+ Array [
+ Object {
+ "description": "Ensure the contrast between foreground and background colors meets WCAG 2 AA minimum contrast ratio thresholds",
+ "help": "Elements must meet minimum color contrast ratio thresholds",
+ "helpUrl": "https://dequeuniversity.com/rules/axe/4.10/color-contrast?application=playwright",
+ "id": "color-contrast",
+ "impact": "serious",
+ "nodes": Array [
+ Object {
+ "all": Array [],
+ "any": Array [
+ Object {
+ "data": Object {
+ "bgColor": "#e4eefc",
+ "contrastRatio": 3.45,
+ "expectedContrastRatio": "4.5:1",
+ "fgColor": "#6880a2",
+ "fontSize": "12.0pt (16px)",
+ "fontWeight": "normal",
+ "messageKey": null,
+ },
+ "id": "color-contrast",
+ "impact": "serious",
+ "message": "Element has insufficient color contrast of 3.45 (foreground color: #6880a2, background color: #e4eefc, font size: 12.0pt (16px), font weight: normal). Expected contrast ratio of 4.5:1",
+ "relatedNodes": Array [
+ Object {
+ "html": "<div role=\"alert\" class=\"au-alert alert alert-info p-0 border-0 border-start border-5 border-info alert-dismissible fade show\">",
+ "target": Array [
+ ".alert-dismissible",
+ ],
+ },
+ Object {
+ "html": "<body data-sveltekit-preload-data=\"hover\">",
+ "target": Array [
+ "body",
+ ],
+ },
+ ],
+ },
+ ],
+ "failureSummary": "Fix any of the following:
+ Element has insufficient color contrast of 3.45 (foreground color: #6880a2, background color: #e4eefc, font size: 12.0pt (16px), font weight: normal). Expected contrast ratio of 4.5:1",
+ "html": "<div class=\"alert-container p-3 border border-info rounded-end\">",
+ "impact": "serious",
+ "none": Array [],
+ "target": Array [
+ ".alert-dismissible > .alert-body > .alert-container.p-3.border",
+ ],
+ },
+ Object {
+ "all": Array [],
+ "any": Array [
+ Object {
+ "data": Object {
+ "bgColor": "#e4eefc",
+ "contrastRatio": 3.45,
+ "expectedContrastRatio": "4.5:1",
+ "fgColor": "#6880a2",
+ "fontSize": "12.0pt (16px)",
+ "fontWeight": "normal",
+ "messageKey": null,
+ },
+ "id": "color-contrast",
+ "impact": "serious",
+ "message": "Element has insufficient color contrast of 3.45 (foreground color: #6880a2, background color: #e4eefc, font size: 12.0pt (16px), font weight: normal). Expected contrast ratio of 4.5:1",
+ "relatedNodes": Array [
+ Object {
+ "html": "<div role=\"alert\" class=\"au-alert alert alert-info p-0 border-0 border-start border-5 border-info alert-dismissible fade show\">",
+ "target": Array [
+ ".alert-dismissible",
+ ],
+ },
+ Object {
+ "html": "<body data-sveltekit-preload-data=\"hover\">",
+ "target": Array [
+ "body",
+ ],
+ },
+ ],
+ },
|
e2e-tests / Test (9/10)
Cannot find module '@agnos-ui/react-bootstrap/components/tree/tree.gen' or its corresponding type declarations.
|
e2e-tests / Test (9/10)
Cannot find module '@agnos-ui/react-bootstrap/components/tree/tree.gen' or its corresponding type declarations.
|
[stackblitz:react:chromium] › samplesMarkup.singlebrowser-e2e-spec.ts:32:4 › Samples markup consistency check › Sample bootstrap/tree/basic › should have a consistent markup:
e2e/fixture.ts#L32
1) [stackblitz:react:chromium] › samplesMarkup.singlebrowser-e2e-spec.ts:32:4 › Samples markup consistency check › Sample bootstrap/tree/basic › should have a consistent markup
Error: Error: Checking build of react bootstrap/tree/basic failed with code 2
Creating stackblitz project for react bootstrap/tree/basic in /tmp/agnosui-stackblitz-tests-SnmYFb/stackblitz-1
[11160] Installation of react bootstrap/tree/basic dependencies started with command: npm install --prefer-offline --no-audit
[11160]
[11160] added 46 packages, removed 802 packages, and changed 21 packages in 6s
[11160]
[11160] 32 packages are looking for funding
[11160] run `npm fund` for details
[11160] Installation of react bootstrap/tree/basic dependencies exited with code 0
[11224] Checking build of react bootstrap/tree/basic started with command: npm run build
[11224]
[11224] > [email protected] build
[11224] > tsc && vite build
[11224]
[11224] src/basic.tsx(1,29): error TS2307: Cannot find module '@agnos-ui/react-bootstrap/components/tree/tree.gen' or its corresponding type declarations.
[11224] Checking build of react bootstrap/tree/basic exited with code 2
at fixture.ts:32
30 | const answer = await req.json();
31 | if (!req.ok) {
> 32 | throw new Error(answer.error + '\n\n' + (answer.logs?.join('\n\n') ?? ''));
| ^
33 | }
34 | return answer;
35 | };
at request (/home/runner/work/AgnosUI/AgnosUI/e2e/fixture.ts:32:9)
at Object.base.extend.baseURL.timeout (/home/runner/work/AgnosUI/AgnosUI/e2e/fixture.ts:51:19)
|
[stackblitz:react:chromium] › samplesMarkup.singlebrowser-e2e-spec.ts:32:4 › Samples markup consistency check › Sample bootstrap/tree/basic › should have a consistent markup:
e2e/fixture.ts#L32
1) [stackblitz:react:chromium] › samplesMarkup.singlebrowser-e2e-spec.ts:32:4 › Samples markup consistency check › Sample bootstrap/tree/basic › should have a consistent markup
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Error: Checking build of react bootstrap/tree/basic failed with code 2
Creating stackblitz project for react bootstrap/tree/basic in /tmp/agnosui-stackblitz-tests-SnmYFb/stackblitz-1
[11281] Installation of react bootstrap/tree/basic dependencies started with command: npm install --prefer-offline --no-audit
[11281]
[11281] up to date in 980ms
[11281]
[11281] 32 packages are looking for funding
[11281] run `npm fund` for details
[11281] Installation of react bootstrap/tree/basic dependencies exited with code 0
[11292] Checking build of react bootstrap/tree/basic started with command: npm run build
[11292]
[11292] > [email protected] build
[11292] > tsc && vite build
[11292]
[11292] src/basic.tsx(1,29): error TS2307: Cannot find module '@agnos-ui/react-bootstrap/components/tree/tree.gen' or its corresponding type declarations.
[11292] Checking build of react bootstrap/tree/basic exited with code 2
at fixture.ts:32
30 | const answer = await req.json();
31 | if (!req.ok) {
> 32 | throw new Error(answer.error + '\n\n' + (answer.logs?.join('\n\n') ?? ''));
| ^
33 | }
34 | return answer;
35 | };
at request (/home/runner/work/AgnosUI/AgnosUI/e2e/fixture.ts:32:9)
at Object.base.extend.baseURL.timeout (/home/runner/work/AgnosUI/AgnosUI/e2e/fixture.ts:51:19)
|
e2e-tests / Test (9/10)
Process completed with exit code 1.
|
🎭 Playwright Run Summary
2 skipped
100 passed (2.4m)
|
🎭 Playwright Run Summary
1 skipped
104 passed (2.2m)
|
🎭 Playwright Run Summary
108 passed (2.5m)
|
🎭 Playwright Run Summary
108 passed (2.6m)
|
🎭 Playwright Run Summary
105 passed (2.6m)
|
🎭 Playwright Run Summary
102 passed (2.7m)
|
🎭 Playwright Run Summary
105 passed (2.8m)
|
🎭 Playwright Run Summary
14 skipped
90 passed (5.2m)
|
🎭 Playwright Run Summary
3 flaky
[demo:chromium] › demo.demo-e2e-spec.ts:43:3 › Demo Website › Route docs/svelte/components/collapse/api should be accessible
[demo:chromium] › demo.demo-e2e-spec.ts:43:3 › Demo Website › Route docs/svelte/components/select/api should be accessible
[demo:chromium] › demo.demo-e2e-spec.ts:43:3 › Demo Website › Route docs/svelte/components/slider/api should be accessible
2 skipped
99 passed (6.0m)
|
🎭 Playwright Run Summary
1 failed
[stackblitz:react:chromium] › samplesMarkup.singlebrowser-e2e-spec.ts:32:4 › Samples markup consistency check › Sample bootstrap/tree/basic › should have a consistent markup
17 skipped
86 passed (8.7m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
e2e-test-1
Expired
|
213 KB |
|
e2e-test-10
Expired
|
97.6 KB |
|
e2e-test-2
Expired
|
207 KB |
|
e2e-test-3
Expired
|
194 KB |
|
e2e-test-4
Expired
|
217 KB |
|
e2e-test-5
Expired
|
190 KB |
|
e2e-test-6
Expired
|
130 KB |
|
e2e-test-7
Expired
|
116 KB |
|
e2e-test-8
Expired
|
13 MB |
|