[Do Not Merge] feat: check e2e stackblitz #2835
pr.yml
on: pull_request
e2e-tests
/
merge-reports
0s
Annotations
4 errors and 10 notices
[demo:chromium] › demo.demo-e2e-spec.ts:43:3 › Demo Website › Route docs/svelte/daisyUI/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/daisyUI/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": "#f4f8fe",
+ "contrastRatio": 1.55,
+ "expectedContrastRatio": "4.5:1",
+ "fgColor": "#bfcada",
+ "fontSize": "12.0pt (16px)",
+ "fontWeight": "normal",
+ "messageKey": null,
+ },
+ "id": "color-contrast",
+ "impact": "serious",
+ "message": "Element has insufficient color contrast of 1.55 (foreground color: #bfcada, background color: #f4f8fe, 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 [
+ ".au-alert",
+ ],
+ },
+ Object {
+ "html": "<body data-sveltekit-preload-data=\"hover\">",
+ "target": Array [
+ "body",
+ ],
+ },
+ ],
+ },
+ ],
+ "failureSummary": "Fix any of the following:
+ Element has insufficient color contrast of 1.55 (foreground color: #bfcada, background color: #f4f8fe, 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-container",
+ ],
+ },
+ Object {
+ "all": Array [],
+ "any": Array [
+ Object {
+ "data": Object {
+ "bgColor": "#f4f8fe",
+ "contrastRatio": 1.55,
+ "expectedContrastRatio": "4.5:1",
+ "fgColor": "#bfcada",
+ "fontSize": "12.0pt (16px)",
+ "fontWeight": "normal",
+ "messageKey": null,
+ },
+ "id": "color-contrast",
+ "impact": "serious",
+ "message": "Element has insufficient color contrast of 1.55 (foreground color: #bfcada, background color: #f4f8fe, 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 [
+ ".au-alert",
+ ],
+ },
+ Object {
+ "html": "<body data-sveltekit-preload-data=\"hover\">",
+ "target": Array [
+ "body",
+ ],
+ },
+ ],
+ },
+ ],
+ "failureSummary": "Fix any of the f
|
[stackblitz:angular:chromium] › samplesMarkup.singlebrowser-e2e-spec.ts:32:4 › Samples markup consistency check › Sample bootstrap/alert/dynamic › should have a consistent markup:
e2e/samplesMarkup.singlebrowser-e2e-spec.ts#L37
1) [stackblitz:angular:chromium] › samplesMarkup.singlebrowser-e2e-spec.ts:32:4 › Samples markup consistency check › Sample bootstrap/alert/dynamic › should have a consistent markup
Error: Snapshot comparison failed:
<body>
<div
class="container p-3"
id="root"
>
<button
class="addError btn btn-primary me-1"
>
"Add error"
</button>
<button
class="addInfo btn btn-primary me-1"
>
"Add info"
</button>
<button
class="addWarning btn btn-primary me-1"
>
"Add warning"
</button>
<br />
<div
class="alertCount mb-3"
>
"Alerts in the service: 0"
</div>
</div/>
</body>
Expected: /home/runner/work/AgnosUI/AgnosUI/e2e/samplesMarkup.singlebrowser-e2e-spec.ts-snapshots/bootstrap-alert-dynamic.html
Received: /home/runner/work/AgnosUI/AgnosUI/test-results/samplesMarkup.singlebrowse-7669c-ld-have-a-consistent-markup-stackblitz-angular-chromium/bootstrap-alert-dynamic-actual.html
35 | await expect.poll(async () => (await page.locator('#root').innerHTML()).trim().length).toBeGreaterThan(0);
36 | await samplesExtraAction[sampleKey]?.(page);
> 37 | expect(await htmlSnapshot(page.locator('body'))).toMatchSnapshot(`${sampleKey.toLowerCase()}.html`);
| ^
38 | });
39 | });
40 | }
at /home/runner/work/AgnosUI/AgnosUI/e2e/samplesMarkup.singlebrowser-e2e-spec.ts:37:54
|
[stackblitz:angular:chromium] › samplesMarkup.singlebrowser-e2e-spec.ts:32:4 › Samples markup consistency check › Sample bootstrap/alert/dynamic › should have a consistent markup:
e2e/samplesMarkup.singlebrowser-e2e-spec.ts#L37
1) [stackblitz:angular:chromium] › samplesMarkup.singlebrowser-e2e-spec.ts:32:4 › Samples markup consistency check › Sample bootstrap/alert/dynamic › should have a consistent markup
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Snapshot comparison failed:
<body>
<div
class="container p-3"
id="root"
>
<button
class="addError btn btn-primary me-1"
>
"Add error"
</button>
<button
class="addInfo btn btn-primary me-1"
>
"Add info"
</button>
<button
class="addWarning btn btn-primary me-1"
>
"Add warning"
</button>
<br />
<div
class="alertCount mb-3"
>
"Alerts in the service: 0"
</div>
</div/>
</body>
Expected: /home/runner/work/AgnosUI/AgnosUI/e2e/samplesMarkup.singlebrowser-e2e-spec.ts-snapshots/bootstrap-alert-dynamic.html
Received: /home/runner/work/AgnosUI/AgnosUI/test-results/samplesMarkup.singlebrowse-7669c-ld-have-a-consistent-markup-stackblitz-angular-chromium-retry1/bootstrap-alert-dynamic-actual.html
35 | await expect.poll(async () => (await page.locator('#root').innerHTML()).trim().length).toBeGreaterThan(0);
36 | await samplesExtraAction[sampleKey]?.(page);
> 37 | expect(await htmlSnapshot(page.locator('body'))).toMatchSnapshot(`${sampleKey.toLowerCase()}.html`);
| ^
38 | });
39 | });
40 | }
at /home/runner/work/AgnosUI/AgnosUI/e2e/samplesMarkup.singlebrowser-e2e-spec.ts:37:54
|
e2e-tests / Test (9/10)
Process completed with exit code 1.
|
🎭 Playwright Run Summary
2 skipped
96 passed (2.3m)
|
🎭 Playwright Run Summary
1 skipped
102 passed (2.2m)
|
🎭 Playwright Run Summary
107 passed (2.5m)
|
🎭 Playwright Run Summary
103 passed (2.5m)
|
🎭 Playwright Run Summary
108 passed (2.6m)
|
🎭 Playwright Run Summary
100 passed (2.7m)
|
🎭 Playwright Run Summary
102 passed (2.8m)
|
🎭 Playwright Run Summary
14 skipped
88 passed (5.2m)
|
🎭 Playwright Run Summary
1 flaky
[demo:chromium] › demo.demo-e2e-spec.ts:43:3 › Demo Website › Route docs/svelte/daisyUI/collapse/api should be accessible
2 skipped
100 passed (5.7m)
|
🎭 Playwright Run Summary
1 failed
[stackblitz:angular:chromium] › samplesMarkup.singlebrowser-e2e-spec.ts:32:4 › Samples markup consistency check › Sample bootstrap/alert/dynamic › should have a consistent markup
17 skipped
85 passed (9.1m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
e2e-test-1
Expired
|
210 KB |
|
e2e-test-10
Expired
|
95.3 KB |
|
e2e-test-2
Expired
|
204 KB |
|
e2e-test-3
Expired
|
191 KB |
|
e2e-test-4
Expired
|
212 KB |
|
e2e-test-5
Expired
|
197 KB |
|
e2e-test-6
Expired
|
125 KB |
|
e2e-test-7
Expired
|
115 KB |
|
e2e-test-8
Expired
|
3.86 MB |
|