Skip to content

chore: Experiment with simpler portal #13432

chore: Experiment with simpler portal

chore: Experiment with simpler portal #13432

Triggered via pull request January 9, 2025 11:15
Status Failure
Total duration 6m 34s
Artifacts

build-lint-test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 2 warnings
URL sanitization › for a utility button › does not throw an error when a safe javascript: URL is passed: src/top-navigation/1.0-beta/__tests__/top-navigation-beta.test.tsx#L60
TypeError: Cannot read properties of null (reading 'findButtonLinkType') at Object.<anonymous> (src/top-navigation/1.0-beta/__tests__/top-navigation-beta.test.tsx:60:37)
URL sanitization › for a utility menu item › does not throw an error when a safe javascript: URL is passed: src/top-navigation/1.0-beta/__tests__/top-navigation-beta.test.tsx#L82
TypeError: Cannot read properties of null (reading 'findMenuDropdownType') at Object.<anonymous> (src/top-navigation/1.0-beta/__tests__/top-navigation-beta.test.tsx:82:47)
URL sanitization › for a nested utility menu item › does not throw an error when a safe javascript: URL is passed: src/top-navigation/1.0-beta/__tests__/top-navigation-beta.test.tsx#L128
TypeError: Cannot read properties of null (reading 'findMenuDropdownType') at Object.<anonymous> (src/top-navigation/1.0-beta/__tests__/top-navigation-beta.test.tsx:128:47)
renders modal without crashing: src/internal/components/portal/index.tsx#L66
ReferenceError: document is not defined at document (src/internal/components/portal/index.tsx:66:33) at processChild (node_modules/react-dom/cjs/react-dom-server.node.development.js:3043:14) at resolve (node_modules/react-dom/cjs/react-dom-server.node.development.js:2960:5) at ReactDOMServerRenderer.render (node_modules/react-dom/cjs/react-dom-server.node.development.js:3435:22) at ReactDOMServerRenderer.read (node_modules/react-dom/cjs/react-dom-server.node.development.js:3373:29) at renderToStaticMarkup (node_modules/react-dom/cjs/react-dom-server.node.development.js:4004:27) at Object.<anonymous> (src/__tests__/functional-tests/ssr.test.ts:22:41)
build / build
Process completed with exit code 1.
build / git-secrets
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build / codeql
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636