Skip to content

Add Service Navigation component, add new Mobile Navigation component #5040

Add Service Navigation component, add new Mobile Navigation component

Add Service Navigation component, add new Mobile Navigation component #5040

Triggered via pull request December 6, 2024 12:07
Status Failure
Total duration 2m 2s
Artifacts

test.yaml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 9 warnings
EditorConfig
Process completed with exit code 1.
TypeScript compiler
Process completed with exit code 2.
Homepage › when JavaScript is unavailable or fails › falls back to making the navigation visible: __tests__/navigation.test.js#L34
expect(received).resolves.toBe() Received promise rejected instead of resolved Rejected to value: [TypeError: Cannot read properties of null (reading 'boundingBox')] at expect (node_modules/expect/build/index.js:113:15) at expectPuppeteer (node_modules/expect-puppeteer/dist/index.js:504:12) at Object.expect (__tests__/navigation.test.js:34:13)
Homepage › when JavaScript is available › when menu button is pressed › should apply the corresponding open state class to the menu button: __tests__/navigation.test.js#L45
Node is either not clickable or not an Element at CdpElementHandle.clickablePoint (node_modules/puppeteer-core/src/api/ElementHandle.ts:727:13) at CdpElementHandle.<anonymous> (node_modules/puppeteer-core/src/api/ElementHandle.ts:176:16) at CdpElementHandle.click (node_modules/puppeteer-core/src/api/ElementHandle.ts:766:20) at CdpElementHandle.<anonymous> (node_modules/puppeteer-core/src/api/ElementHandle.ts:186:22) at Object.<anonymous> (__tests__/navigation.test.js:45:9)
Homepage › when JavaScript is available › when menu button is pressed › should indicate the expanded state of the toggle button using aria-expanded: __tests__/navigation.test.js#L56
expect(received).resolves.toBe(expected) // Object.is equality Expected: "false" Received: null at Object.toBe (node_modules/expect/build/index.js:174:22) at Object.toBe (__tests__/navigation.test.js:56:20)
Homepage › when JavaScript is available › when menu button is pressed › should indicate the open state of the navigation: __tests__/helpers/puppeteer.js#L32
TypeError: Cannot read properties of null (reading 'evaluate') at evaluate (__tests__/helpers/puppeteer.js:32:19) at Object.getAttribute (__tests__/navigation.test.js:67:22)
Homepage › when JavaScript is available › when menu button is pressed › should indicate the visible state of the navigation using the hidden attribute: __tests__/navigation.test.js#L80
expect(received).resolves.toBe() Received promise rejected instead of resolved Rejected to value: [TypeError: Cannot read properties of null (reading 'boundingBox')] at expect (node_modules/expect/build/index.js:113:15) at expectPuppeteer (node_modules/expect-puppeteer/dist/index.js:504:12) at Object.expect (__tests__/navigation.test.js:80:15)
Back to top › is hidden when at the top of the page: __tests__/back-to-top.test.js#L45
expect(received).resolves.toBe(expected) // Object.is equality Expected: false Received: true at Object.toBe (node_modules/expect/build/index.js:174:22) at Object.toBe (__tests__/back-to-top.test.js:45:68)
JavaScript tests
Process completed with exit code 1.
Check broken links
Process completed with exit code 1.
Build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Lint JavaScript
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
EditorConfig
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Lint Sass
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Prettier
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
TypeScript compiler
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
JavaScript tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check broken links
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Lint HTML
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636