Skip to content

feat(message-box): subtle styling #2196

feat(message-box): subtle styling

feat(message-box): subtle styling #2196

Triggered via push January 17, 2025 11:34
Status Failure
Total duration 1m 2s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 1 warning
src/page-modules/departures/__tests__/departure-details.test.tsx > departure details page > should render correct header: src/modules/global-messages/context.tsx#L79
Error: useActiveGlobalMessages must be used within a GlobalMessageContextProvider ❯ Module.useActiveGlobalMessages src/modules/global-messages/context.tsx:79:11 ❯ GlobalMessages src/modules/global-messages/global-messages.tsx:16:36 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18 ❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20103:13 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21626:16 ❯ HTMLUnknownElement.callCallback node_modules/react-dom/cjs/react-dom.development.js:4164:14 ❯ HTMLUnknownElement.dispatchEvent node_modules/happy-dom/src/event/EventTarget.ts:222:42 ❯ HTMLUnknownElement.dispatchEvent node_modules/happy-dom/src/nodes/element/Element.ts:1170:29 ❯ HTMLUnknownElement.dispatchEvent node_modules/happy-dom/src/event/EventTarget.ts:131:9 ❯ HTMLUnknownElement.dispatchEvent node_modules/happy-dom/src/nodes/element/Element.ts:1170:29
src/page-modules/departures/__tests__/departure-details.test.tsx > departure details page > should not render passed quays: src/modules/global-messages/context.tsx#L79
Error: useActiveGlobalMessages must be used within a GlobalMessageContextProvider ❯ Module.useActiveGlobalMessages src/modules/global-messages/context.tsx:79:11 ❯ GlobalMessages src/modules/global-messages/global-messages.tsx:16:36 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18 ❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20103:13 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21626:16 ❯ HTMLUnknownElement.callCallback node_modules/react-dom/cjs/react-dom.development.js:4164:14 ❯ HTMLUnknownElement.dispatchEvent node_modules/happy-dom/src/event/EventTarget.ts:222:42 ❯ HTMLUnknownElement.dispatchEvent node_modules/happy-dom/src/nodes/element/Element.ts:1170:29 ❯ HTMLUnknownElement.dispatchEvent node_modules/happy-dom/src/event/EventTarget.ts:131:9 ❯ HTMLUnknownElement.dispatchEvent node_modules/happy-dom/src/nodes/element/Element.ts:1170:29
src/page-modules/departures/__tests__/departure-details.test.tsx > departure details page > should render passed departures when collapse button is clicked: src/modules/global-messages/context.tsx#L79
Error: useActiveGlobalMessages must be used within a GlobalMessageContextProvider ❯ Module.useActiveGlobalMessages src/modules/global-messages/context.tsx:79:11 ❯ GlobalMessages src/modules/global-messages/global-messages.tsx:16:36 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18 ❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20103:13 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21626:16 ❯ HTMLUnknownElement.callCallback node_modules/react-dom/cjs/react-dom.development.js:4164:14 ❯ HTMLUnknownElement.dispatchEvent node_modules/happy-dom/src/event/EventTarget.ts:222:42 ❯ HTMLUnknownElement.dispatchEvent node_modules/happy-dom/src/nodes/element/Element.ts:1170:29 ❯ HTMLUnknownElement.dispatchEvent node_modules/happy-dom/src/event/EventTarget.ts:131:9 ❯ HTMLUnknownElement.dispatchEvent node_modules/happy-dom/src/nodes/element/Element.ts:1170:29
src/page-modules/departures/__tests__/departure-details.test.tsx > departure details page > should render all departures: src/modules/global-messages/context.tsx#L79
Error: useActiveGlobalMessages must be used within a GlobalMessageContextProvider ❯ Module.useActiveGlobalMessages src/modules/global-messages/context.tsx:79:11 ❯ GlobalMessages src/modules/global-messages/global-messages.tsx:16:36 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18 ❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20103:13 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21626:16 ❯ HTMLUnknownElement.callCallback node_modules/react-dom/cjs/react-dom.development.js:4164:14 ❯ HTMLUnknownElement.dispatchEvent node_modules/happy-dom/src/event/EventTarget.ts:222:42 ❯ HTMLUnknownElement.dispatchEvent node_modules/happy-dom/src/nodes/element/Element.ts:1170:29 ❯ HTMLUnknownElement.dispatchEvent node_modules/happy-dom/src/event/EventTarget.ts:131:9 ❯ HTMLUnknownElement.dispatchEvent node_modules/happy-dom/src/nodes/element/Element.ts:1170:29
src/page-modules/departures/__tests__/departure.test.tsx > departure page > should render quays: src/modules/global-messages/context.tsx#L79
Error: useActiveGlobalMessages must be used within a GlobalMessageContextProvider ❯ Module.useActiveGlobalMessages src/modules/global-messages/context.tsx:79:11 ❯ GlobalMessages src/modules/global-messages/global-messages.tsx:16:36 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18 ❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20103:13 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21626:16 ❯ HTMLUnknownElement.callCallback node_modules/react-dom/cjs/react-dom.development.js:4164:14 ❯ HTMLUnknownElement.dispatchEvent node_modules/happy-dom/src/event/EventTarget.ts:222:42 ❯ HTMLUnknownElement.dispatchEvent node_modules/happy-dom/src/nodes/element/Element.ts:1170:29 ❯ HTMLUnknownElement.dispatchEvent node_modules/happy-dom/src/event/EventTarget.ts:131:9 ❯ HTMLUnknownElement.dispatchEvent node_modules/happy-dom/src/nodes/element/Element.ts:1170:29
src/page-modules/departures/__tests__/departure.test.tsx > departure page > should render estimated calls: src/modules/global-messages/context.tsx#L79
Error: useActiveGlobalMessages must be used within a GlobalMessageContextProvider ❯ Module.useActiveGlobalMessages src/modules/global-messages/context.tsx:79:11 ❯ GlobalMessages src/modules/global-messages/global-messages.tsx:16:36 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18 ❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20103:13 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21626:16 ❯ HTMLUnknownElement.callCallback node_modules/react-dom/cjs/react-dom.development.js:4164:14 ❯ HTMLUnknownElement.dispatchEvent node_modules/happy-dom/src/event/EventTarget.ts:222:42 ❯ HTMLUnknownElement.dispatchEvent node_modules/happy-dom/src/nodes/element/Element.ts:1170:29 ❯ HTMLUnknownElement.dispatchEvent node_modules/happy-dom/src/event/EventTarget.ts:131:9 ❯ HTMLUnknownElement.dispatchEvent node_modules/happy-dom/src/nodes/element/Element.ts:1170:29
src/page-modules/departures/__tests__/departure.test.tsx > departure page > Should collapse estimated calls list: src/modules/global-messages/context.tsx#L79
Error: useActiveGlobalMessages must be used within a GlobalMessageContextProvider ❯ Module.useActiveGlobalMessages src/modules/global-messages/context.tsx:79:11 ❯ GlobalMessages src/modules/global-messages/global-messages.tsx:16:36 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18 ❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20103:13 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21626:16 ❯ HTMLUnknownElement.callCallback node_modules/react-dom/cjs/react-dom.development.js:4164:14 ❯ HTMLUnknownElement.dispatchEvent node_modules/happy-dom/src/event/EventTarget.ts:222:42 ❯ HTMLUnknownElement.dispatchEvent node_modules/happy-dom/src/nodes/element/Element.ts:1170:29 ❯ HTMLUnknownElement.dispatchEvent node_modules/happy-dom/src/event/EventTarget.ts:131:9 ❯ HTMLUnknownElement.dispatchEvent node_modules/happy-dom/src/nodes/element/Element.ts:1170:29
Test
Process completed with exit code 1.
Test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636