Skip to content

Frontend: Fix headings #1730

Frontend: Fix headings

Frontend: Fix headings #1730

Triggered via pull request January 9, 2025 06:05
Status Failure
Total duration 6m 40s
Artifacts 1

runFrontendTests.yml

on: pull_request
code-quality
32s
code-quality
Wait for Netlify deploy
1m 36s
Wait for Netlify deploy
Builds frontend
1m 21s
Builds frontend
Runs frontend unit tests
1m 5s
Runs frontend unit tests
Run E2E tests on deploy preview
4m 48s
Run E2E tests on deploy preview
Fit to window
Zoom out
Zoom in

Annotations

4 errors, 10 warnings, and 1 notice
[E2E_NIGHTLY] › wihe.ci.spec.ts:29:1 › WIHE Page Loads and Accessibility Scan: frontend/playwright-tests/wihe.ci.spec.ts#L38
1) [E2E_NIGHTLY] › wihe.ci.spec.ts:29:1 › WIHE Page Loads and Accessibility Scan ───────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 35 - Array [] + Array [ + Object { + "description": "Ensure the order of headings is semantically correct", + "help": "Heading levels should only increase by one", + "helpUrl": "https://dequeuniversity.com/rules/axe/4.10/heading-order?application=playwright", + "id": "heading-order", + "impact": "moderate", + "nodes": Array [ + Object { + "all": Array [], + "any": Array [ + Object { + "data": null, + "id": "heading-order", + "impact": "moderate", + "message": "Heading order invalid", + "relatedNodes": Array [], + }, + ], + "failureSummary": "Fix any of the following: + Heading order invalid", + "html": "<h4 class=\"my-2 pt-0 font-semibold text-altGreen text-text leading-lhNormal\">How to Use the Rate Choropleth Map Video</h4>", + "impact": "moderate", + "none": Array [], + "target": Array [ + ".px-2.flex-shrink-0:nth-child(1) > .mr-4.max-w-tiny.border-altGreen > .justify-between.h-full.m-0 > .h-52.justify-around.px-4 > .mt-0.pt-2.justify-start > h4", + ], + }, + ], + "tags": Array [ + "cat.semantics", + "best-practice", + ], + }, + ] 36 | .analyze() 37 | > 38 | expect(accessibilityScanResults.violations).toEqual([]) | ^ 39 | }) 40 | at /home/runner/work/health-equity-tracker/health-equity-tracker/frontend/playwright-tests/wihe.ci.spec.ts:38:47
[E2E_NIGHTLY] › wihe.ci.spec.ts:29:1 › WIHE Page Loads and Accessibility Scan: frontend/playwright-tests/wihe.ci.spec.ts#L38
1) [E2E_NIGHTLY] › wihe.ci.spec.ts:29:1 › WIHE Page Loads and Accessibility Scan ───────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 35 - Array [] + Array [ + Object { + "description": "Ensure the order of headings is semantically correct", + "help": "Heading levels should only increase by one", + "helpUrl": "https://dequeuniversity.com/rules/axe/4.10/heading-order?application=playwright", + "id": "heading-order", + "impact": "moderate", + "nodes": Array [ + Object { + "all": Array [], + "any": Array [ + Object { + "data": null, + "id": "heading-order", + "impact": "moderate", + "message": "Heading order invalid", + "relatedNodes": Array [], + }, + ], + "failureSummary": "Fix any of the following: + Heading order invalid", + "html": "<h4 class=\"my-2 pt-0 font-semibold text-altGreen text-text leading-lhNormal\">How to Use the Rate Choropleth Map Video</h4>", + "impact": "moderate", + "none": Array [], + "target": Array [ + ".px-2.flex-shrink-0:nth-child(1) > .mr-4.max-w-tiny.border-altGreen > .justify-between.h-full.m-0 > .h-52.justify-around.px-4 > .mt-0.pt-2.justify-start > h4", + ], + }, + ], + "tags": Array [ + "cat.semantics", + "best-practice", + ], + }, + ] 36 | .analyze() 37 | > 38 | expect(accessibilityScanResults.violations).toEqual([]) | ^ 39 | }) 40 | at /home/runner/work/health-equity-tracker/health-equity-tracker/frontend/playwright-tests/wihe.ci.spec.ts:38:47
[E2E_NIGHTLY] › wihe.ci.spec.ts:29:1 › WIHE Page Loads and Accessibility Scan: frontend/playwright-tests/wihe.ci.spec.ts#L38
1) [E2E_NIGHTLY] › wihe.ci.spec.ts:29:1 › WIHE Page Loads and Accessibility Scan ───────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 35 - Array [] + Array [ + Object { + "description": "Ensure the order of headings is semantically correct", + "help": "Heading levels should only increase by one", + "helpUrl": "https://dequeuniversity.com/rules/axe/4.10/heading-order?application=playwright", + "id": "heading-order", + "impact": "moderate", + "nodes": Array [ + Object { + "all": Array [], + "any": Array [ + Object { + "data": null, + "id": "heading-order", + "impact": "moderate", + "message": "Heading order invalid", + "relatedNodes": Array [], + }, + ], + "failureSummary": "Fix any of the following: + Heading order invalid", + "html": "<h4 class=\"my-2 pt-0 font-semibold text-altGreen text-text leading-lhNormal\">How to Use the Rate Choropleth Map Video</h4>", + "impact": "moderate", + "none": Array [], + "target": Array [ + ".px-2.flex-shrink-0:nth-child(1) > .mr-4.max-w-tiny.border-altGreen > .justify-between.h-full.m-0 > .h-52.justify-around.px-4 > .mt-0.pt-2.justify-start > h4", + ], + }, + ], + "tags": Array [ + "cat.semantics", + "best-practice", + ], + }, + ] 36 | .analyze() 37 | > 38 | expect(accessibilityScanResults.violations).toEqual([]) | ^ 39 | }) 40 | at /home/runner/work/health-equity-tracker/health-equity-tracker/frontend/playwright-tests/wihe.ci.spec.ts:38:47
Run E2E tests on deploy preview
Process completed with exit code 1.
code-quality
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Runs frontend unit tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Builds frontend
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Wait for Netlify deploy
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Run E2E tests on deploy preview
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: frontend/[E2E_NIGHTLY] › bb_ami.nightly.spec.ts#L1
frontend/[E2E_NIGHTLY] › bb_ami.nightly.spec.ts took 21.2s
Slow Test: frontend/[E2E_NIGHTLY] › arv_adherence.nightly.spec.ts#L1
frontend/[E2E_NIGHTLY] › arv_adherence.nightly.spec.ts took 21.1s
Slow Test: frontend/[E2E_NIGHTLY] › ami.ci.spec.ts#L1
frontend/[E2E_NIGHTLY] › ami.ci.spec.ts took 20.8s
Slow Test: frontend/[E2E_NIGHTLY] › ccb_adherence.nightly.spec.ts#L1
frontend/[E2E_NIGHTLY] › ccb_adherence.nightly.spec.ts took 20.4s
Slow Test: frontend/[E2E_NIGHTLY] › health_insurance.ci.spec.ts#L1
frontend/[E2E_NIGHTLY] › health_insurance.ci.spec.ts took 19.6s
🎭 Playwright Run Summary
1 failed [E2E_NIGHTLY] › wihe.ci.spec.ts:29:1 › WIHE Page Loads and Accessibility Scan ────────────────── 73 passed (3.5m)

Artifacts

Produced during runtime
Name Size
playwright-report
293 MB