Skip to content

UIIN-3147 User can edit Source consortium "Holdings sources" in membe… #8303

UIIN-3147 User can edit Source consortium "Holdings sources" in membe…

UIIN-3147 User can edit Source consortium "Holdings sources" in membe… #8303

GitHub Actions / Jest Unit Test Results failed Nov 29, 2024 in 0s

750 fail, 2 skipped, 262 pass in 10m 38s

       1 files  253 suites   10m 38s ⏱️
1 014 tests 262 ✔️ 2 💤 750
1 021 runs  267 ✔️ 2 💤 752

Results for commit 11c2b7c.

Annotations

Check warning on line 0 in ItemView should be rendered with no axe errors

See this annotation in the file changed.

@github-actions github-actions / Jest Unit Test Results

ItemView should be rendered with no axe errors (ItemView should be rendered with no axe errors) failed

artifacts/jest-junit/junit.xml
Raw output
ReferenceError: document is not defined
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/nwsapi/src/nwsapi.js:215:21
    at Factory (/home/runner/work/ui-inventory/ui-inventory/node_modules/nwsapi/src/nwsapi.js:245:6)
    at initNwsapi (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
    at exports.matchesDontThrow (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:20:33)
    at matches (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:50:10)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:35:18
    at Array.forEach (<anonymous>)
    at handleSheet (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:26:13)
    at exports.forEachMatchingSheetRuleOfElement (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:45:3)
    at Window.getComputedStyle (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/browser/Window.js:806:5)
    at getComputedStyle (/home/runner/work/ui-inventory/ui-inventory/node_modules/@folio/stripes-components/util/getScrollParent.js:16:15)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/@folio/stripes-components/lib/MultiColumnList/CenteredContainer.js:15:30
    at commitHookEffectListMount (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:23189:26)
    at commitLayoutEffectOnFiber (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:23312:15)
    at commitLayoutMountEffects_complete (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:24727:9)
    at commitLayoutEffects_begin (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:24713:7)
    at commitLayoutEffects (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:24651:3)
    at commitRootImpl (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26862:5)
    at commitRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26721:5)
    at performSyncWorkOnRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26156:3)
    at flushSyncCallbacks (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:12042:22)
    at commitRootImpl (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26998:3)
    at commitRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26721:5)
    at finishConcurrentRender (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26020:9)
    at performConcurrentWorkOnRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:25848:7)
    at flushActQueue (/home/runner/work/ui-inventory/ui-inventory/node_modules/react/cjs/react.development.js:2667:24)
    at act (/home/runner/work/ui-inventory/ui-inventory/node_modules/react/cjs/react.development.js:2582:11)
    at Object.<anonymous> (/home/runner/work/ui-inventory/ui-inventory/src/views/ItemView.test.js:215:36)
    at Promise.then.completed (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:121:9)
    at run (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/testWorker.js:106:12)

Check warning on line 0 in ItemView rendering ItemView should display item record with material type, status, and bound with in lower case in parentheses

See this annotation in the file changed.

@github-actions github-actions / Jest Unit Test Results

ItemView rendering ItemView should display item record with material type, status, and bound with in lower case in parentheses …w rendering ItemView should display item record with material type, status, and bound with in lower case in parentheses) failed

artifacts/jest-junit/junit.xml
Raw output
ReferenceError: document is not defined
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/nwsapi/src/nwsapi.js:215:21
    at Factory (/home/runner/work/ui-inventory/ui-inventory/node_modules/nwsapi/src/nwsapi.js:245:6)
    at initNwsapi (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
    at exports.matchesDontThrow (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:20:33)
    at matches (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:50:10)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:35:18
    at Array.forEach (<anonymous>)
    at handleSheet (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:26:13)
    at exports.forEachMatchingSheetRuleOfElement (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:45:3)
    at Window.getComputedStyle (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/browser/Window.js:806:5)
    at getComputedStyle (/home/runner/work/ui-inventory/ui-inventory/node_modules/@folio/stripes-components/util/getScrollParent.js:16:15)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/@folio/stripes-components/lib/MultiColumnList/CenteredContainer.js:15:30
    at commitHookEffectListMount (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:23189:26)
    at commitLayoutEffectOnFiber (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:23312:15)
    at commitLayoutMountEffects_complete (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:24727:9)
    at commitLayoutEffects_begin (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:24713:7)
    at commitLayoutEffects (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:24651:3)
    at commitRootImpl (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26862:5)
    at commitRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26721:5)
    at performSyncWorkOnRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26156:3)
    at flushSyncCallbacks (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:12042:22)
    at commitRootImpl (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26998:3)
    at commitRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26721:5)
    at finishConcurrentRender (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26020:9)
    at performConcurrentWorkOnRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:25848:7)
    at flushActQueue (/home/runner/work/ui-inventory/ui-inventory/node_modules/react/cjs/react.development.js:2667:24)
    at act (/home/runner/work/ui-inventory/ui-inventory/node_modules/react/cjs/react.development.js:2582:11)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/act-compat.js:47:25
    at renderRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/pure.js:180:26)
    at render (/home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/pure.js:271:10)
    at renderer (/home/runner/work/ui-inventory/ui-inventory/test/jest/helpers/renderWithIntl.js:6:76)
    at Object.<anonymous> (/home/runner/work/ui-inventory/ui-inventory/src/views/ItemView.test.js:222:21)
    at Promise.then.completed (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusHook (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:281:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:246:5)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:121:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:121:9)
    at run (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/testWorker.js:106:12)

Check warning on line 0 in ItemView rendering ItemView should display a table of bound-with items

See this annotation in the file changed.

@github-actions github-actions / Jest Unit Test Results

ItemView rendering ItemView should display a table of bound-with items (ItemView rendering ItemView should display a table of bound-with items) failed

artifacts/jest-junit/junit.xml
Raw output
ReferenceError: document is not defined
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/nwsapi/src/nwsapi.js:215:21
    at Factory (/home/runner/work/ui-inventory/ui-inventory/node_modules/nwsapi/src/nwsapi.js:245:6)
    at initNwsapi (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
    at exports.matchesDontThrow (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:20:33)
    at matches (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:50:10)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:35:18
    at Array.forEach (<anonymous>)
    at handleSheet (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:26:13)
    at exports.forEachMatchingSheetRuleOfElement (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:45:3)
    at Window.getComputedStyle (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/browser/Window.js:806:5)
    at getComputedStyle (/home/runner/work/ui-inventory/ui-inventory/node_modules/@folio/stripes-components/util/getScrollParent.js:16:15)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/@folio/stripes-components/lib/MultiColumnList/CenteredContainer.js:15:30
    at commitHookEffectListMount (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:23189:26)
    at commitLayoutEffectOnFiber (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:23312:15)
    at commitLayoutMountEffects_complete (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:24727:9)
    at commitLayoutEffects_begin (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:24713:7)
    at commitLayoutEffects (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:24651:3)
    at commitRootImpl (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26862:5)
    at commitRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26721:5)
    at performSyncWorkOnRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26156:3)
    at flushSyncCallbacks (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:12042:22)
    at commitRootImpl (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26998:3)
    at commitRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26721:5)
    at finishConcurrentRender (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26020:9)
    at performConcurrentWorkOnRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:25848:7)
    at flushActQueue (/home/runner/work/ui-inventory/ui-inventory/node_modules/react/cjs/react.development.js:2667:24)
    at act (/home/runner/work/ui-inventory/ui-inventory/node_modules/react/cjs/react.development.js:2582:11)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/act-compat.js:47:25
    at renderRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/pure.js:180:26)
    at render (/home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/pure.js:271:10)
    at renderer (/home/runner/work/ui-inventory/ui-inventory/test/jest/helpers/renderWithIntl.js:6:76)
    at Object.<anonymous> (/home/runner/work/ui-inventory/ui-inventory/src/views/ItemView.test.js:222:21)
    at Promise.then.completed (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusHook (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:281:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:246:5)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:121:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:121:9)
    at run (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/testWorker.js:106:12)

Check warning on line 0 in ItemView rendering ItemView should list 2 bound-with items in the table

See this annotation in the file changed.

@github-actions github-actions / Jest Unit Test Results

ItemView rendering ItemView should list 2 bound-with items in the table (ItemView rendering ItemView should list 2 bound-with items in the table) failed

artifacts/jest-junit/junit.xml
Raw output
ReferenceError: document is not defined
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/nwsapi/src/nwsapi.js:215:21
    at Factory (/home/runner/work/ui-inventory/ui-inventory/node_modules/nwsapi/src/nwsapi.js:245:6)
    at initNwsapi (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
    at exports.matchesDontThrow (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:20:33)
    at matches (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:50:10)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:35:18
    at Array.forEach (<anonymous>)
    at handleSheet (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:26:13)
    at exports.forEachMatchingSheetRuleOfElement (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:45:3)
    at Window.getComputedStyle (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/browser/Window.js:806:5)
    at getComputedStyle (/home/runner/work/ui-inventory/ui-inventory/node_modules/@folio/stripes-components/util/getScrollParent.js:16:15)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/@folio/stripes-components/lib/MultiColumnList/CenteredContainer.js:15:30
    at commitHookEffectListMount (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:23189:26)
    at commitLayoutEffectOnFiber (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:23312:15)
    at commitLayoutMountEffects_complete (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:24727:9)
    at commitLayoutEffects_begin (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:24713:7)
    at commitLayoutEffects (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:24651:3)
    at commitRootImpl (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26862:5)
    at commitRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26721:5)
    at performSyncWorkOnRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26156:3)
    at flushSyncCallbacks (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:12042:22)
    at commitRootImpl (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26998:3)
    at commitRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26721:5)
    at finishConcurrentRender (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26020:9)
    at performConcurrentWorkOnRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:25848:7)
    at flushActQueue (/home/runner/work/ui-inventory/ui-inventory/node_modules/react/cjs/react.development.js:2667:24)
    at act (/home/runner/work/ui-inventory/ui-inventory/node_modules/react/cjs/react.development.js:2582:11)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/act-compat.js:47:25
    at renderRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/pure.js:180:26)
    at render (/home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/pure.js:271:10)
    at renderer (/home/runner/work/ui-inventory/ui-inventory/test/jest/helpers/renderWithIntl.js:6:76)
    at Object.<anonymous> (/home/runner/work/ui-inventory/ui-inventory/src/views/ItemView.test.js:222:21)
    at Promise.then.completed (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusHook (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:281:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:246:5)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:121:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:121:9)
    at run (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/testWorker.js:106:12)

Check warning on line 0 in ItemView rendering ItemView should link to the instance view from the instance HRID

See this annotation in the file changed.

@github-actions github-actions / Jest Unit Test Results

ItemView rendering ItemView should link to the instance view from the instance HRID (ItemView rendering ItemView should link to the instance view from the instance HRID) failed

artifacts/jest-junit/junit.xml
Raw output
ReferenceError: document is not defined
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/nwsapi/src/nwsapi.js:215:21
    at Factory (/home/runner/work/ui-inventory/ui-inventory/node_modules/nwsapi/src/nwsapi.js:245:6)
    at initNwsapi (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
    at exports.matchesDontThrow (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:20:33)
    at matches (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:50:10)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:35:18
    at Array.forEach (<anonymous>)
    at handleSheet (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:26:13)
    at exports.forEachMatchingSheetRuleOfElement (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:45:3)
    at Window.getComputedStyle (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/browser/Window.js:806:5)
    at getComputedStyle (/home/runner/work/ui-inventory/ui-inventory/node_modules/@folio/stripes-components/util/getScrollParent.js:16:15)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/@folio/stripes-components/lib/MultiColumnList/CenteredContainer.js:15:30
    at commitHookEffectListMount (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:23189:26)
    at commitLayoutEffectOnFiber (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:23312:15)
    at commitLayoutMountEffects_complete (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:24727:9)
    at commitLayoutEffects_begin (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:24713:7)
    at commitLayoutEffects (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:24651:3)
    at commitRootImpl (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26862:5)
    at commitRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26721:5)
    at performSyncWorkOnRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26156:3)
    at flushSyncCallbacks (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:12042:22)
    at commitRootImpl (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26998:3)
    at commitRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26721:5)
    at finishConcurrentRender (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26020:9)
    at performConcurrentWorkOnRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:25848:7)
    at flushActQueue (/home/runner/work/ui-inventory/ui-inventory/node_modules/react/cjs/react.development.js:2667:24)
    at act (/home/runner/work/ui-inventory/ui-inventory/node_modules/react/cjs/react.development.js:2582:11)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/act-compat.js:47:25
    at renderRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/pure.js:180:26)
    at render (/home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/pure.js:271:10)
    at renderer (/home/runner/work/ui-inventory/ui-inventory/test/jest/helpers/renderWithIntl.js:6:76)
    at Object.<anonymous> (/home/runner/work/ui-inventory/ui-inventory/src/views/ItemView.test.js:222:21)
    at Promise.then.completed (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusHook (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:281:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:246:5)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:121:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:121:9)
    at run (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/testWorker.js:106:12)

Check warning on line 0 in ItemView rendering ItemView should link to the holdings view from the holdings HRID

See this annotation in the file changed.

@github-actions github-actions / Jest Unit Test Results

ItemView rendering ItemView should link to the holdings view from the holdings HRID (ItemView rendering ItemView should link to the holdings view from the holdings HRID) failed

artifacts/jest-junit/junit.xml
Raw output
ReferenceError: document is not defined
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/nwsapi/src/nwsapi.js:215:21
    at Factory (/home/runner/work/ui-inventory/ui-inventory/node_modules/nwsapi/src/nwsapi.js:245:6)
    at initNwsapi (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
    at exports.matchesDontThrow (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:20:33)
    at matches (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:50:10)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:35:18
    at Array.forEach (<anonymous>)
    at handleSheet (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:26:13)
    at exports.forEachMatchingSheetRuleOfElement (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:45:3)
    at Window.getComputedStyle (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/browser/Window.js:806:5)
    at getComputedStyle (/home/runner/work/ui-inventory/ui-inventory/node_modules/@folio/stripes-components/util/getScrollParent.js:16:15)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/@folio/stripes-components/lib/MultiColumnList/CenteredContainer.js:15:30
    at commitHookEffectListMount (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:23189:26)
    at commitLayoutEffectOnFiber (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:23312:15)
    at commitLayoutMountEffects_complete (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:24727:9)
    at commitLayoutEffects_begin (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:24713:7)
    at commitLayoutEffects (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:24651:3)
    at commitRootImpl (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26862:5)
    at commitRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26721:5)
    at performSyncWorkOnRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26156:3)
    at flushSyncCallbacks (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:12042:22)
    at commitRootImpl (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26998:3)
    at commitRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26721:5)
    at finishConcurrentRender (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26020:9)
    at performConcurrentWorkOnRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:25848:7)
    at flushActQueue (/home/runner/work/ui-inventory/ui-inventory/node_modules/react/cjs/react.development.js:2667:24)
    at act (/home/runner/work/ui-inventory/ui-inventory/node_modules/react/cjs/react.development.js:2582:11)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/act-compat.js:47:25
    at renderRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/pure.js:180:26)
    at render (/home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/pure.js:271:10)
    at renderer (/home/runner/work/ui-inventory/ui-inventory/test/jest/helpers/renderWithIntl.js:6:76)
    at Object.<anonymous> (/home/runner/work/ui-inventory/ui-inventory/src/views/ItemView.test.js:222:21)
    at Promise.then.completed (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusHook (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:281:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:246:5)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:121:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:121:9)
    at run (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/testWorker.js:106:12)

Check warning on line 0 in ItemView rendering ItemView should display "inactive" by an inactive holding permanent location

See this annotation in the file changed.

@github-actions github-actions / Jest Unit Test Results

ItemView rendering ItemView should display "inactive" by an inactive holding permanent location (ItemView rendering ItemView should display "inactive" by an inactive holding permanent location) failed

artifacts/jest-junit/junit.xml
Raw output
ReferenceError: document is not defined
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/nwsapi/src/nwsapi.js:215:21
    at Factory (/home/runner/work/ui-inventory/ui-inventory/node_modules/nwsapi/src/nwsapi.js:245:6)
    at initNwsapi (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
    at exports.matchesDontThrow (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:20:33)
    at matches (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:50:10)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:35:18
    at Array.forEach (<anonymous>)
    at handleSheet (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:26:13)
    at exports.forEachMatchingSheetRuleOfElement (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:45:3)
    at Window.getComputedStyle (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/browser/Window.js:806:5)
    at getComputedStyle (/home/runner/work/ui-inventory/ui-inventory/node_modules/@folio/stripes-components/util/getScrollParent.js:16:15)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/@folio/stripes-components/lib/MultiColumnList/CenteredContainer.js:15:30
    at commitHookEffectListMount (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:23189:26)
    at commitLayoutEffectOnFiber (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:23312:15)
    at commitLayoutMountEffects_complete (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:24727:9)
    at commitLayoutEffects_begin (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:24713:7)
    at commitLayoutEffects (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:24651:3)
    at commitRootImpl (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26862:5)
    at commitRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26721:5)
    at performSyncWorkOnRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26156:3)
    at flushSyncCallbacks (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:12042:22)
    at commitRootImpl (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26998:3)
    at commitRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26721:5)
    at finishConcurrentRender (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26020:9)
    at performConcurrentWorkOnRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:25848:7)
    at flushActQueue (/home/runner/work/ui-inventory/ui-inventory/node_modules/react/cjs/react.development.js:2667:24)
    at act (/home/runner/work/ui-inventory/ui-inventory/node_modules/react/cjs/react.development.js:2582:11)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/act-compat.js:47:25
    at renderRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/pure.js:180:26)
    at render (/home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/pure.js:271:10)
    at renderer (/home/runner/work/ui-inventory/ui-inventory/test/jest/helpers/renderWithIntl.js:6:76)
    at Object.<anonymous> (/home/runner/work/ui-inventory/ui-inventory/src/views/ItemView.test.js:222:21)
    at Promise.then.completed (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusHook (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:281:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:246:5)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:121:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:121:9)
    at run (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/testWorker.js:106:12)

Check warning on line 0 in ItemView rendering ItemView should display "inactive" by an inactive holding temporary location

See this annotation in the file changed.

@github-actions github-actions / Jest Unit Test Results

ItemView rendering ItemView should display "inactive" by an inactive holding temporary location (ItemView rendering ItemView should display "inactive" by an inactive holding temporary location) failed

artifacts/jest-junit/junit.xml
Raw output
ReferenceError: document is not defined
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/nwsapi/src/nwsapi.js:215:21
    at Factory (/home/runner/work/ui-inventory/ui-inventory/node_modules/nwsapi/src/nwsapi.js:245:6)
    at initNwsapi (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
    at exports.matchesDontThrow (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:20:33)
    at matches (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:50:10)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:35:18
    at Array.forEach (<anonymous>)
    at handleSheet (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:26:13)
    at exports.forEachMatchingSheetRuleOfElement (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:45:3)
    at Window.getComputedStyle (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/browser/Window.js:806:5)
    at getComputedStyle (/home/runner/work/ui-inventory/ui-inventory/node_modules/@folio/stripes-components/util/getScrollParent.js:16:15)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/@folio/stripes-components/lib/MultiColumnList/CenteredContainer.js:15:30
    at commitHookEffectListMount (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:23189:26)
    at commitLayoutEffectOnFiber (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:23312:15)
    at commitLayoutMountEffects_complete (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:24727:9)
    at commitLayoutEffects_begin (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:24713:7)
    at commitLayoutEffects (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:24651:3)
    at commitRootImpl (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26862:5)
    at commitRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26721:5)
    at performSyncWorkOnRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26156:3)
    at flushSyncCallbacks (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:12042:22)
    at commitRootImpl (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26998:3)
    at commitRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26721:5)
    at finishConcurrentRender (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26020:9)
    at performConcurrentWorkOnRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:25848:7)
    at flushActQueue (/home/runner/work/ui-inventory/ui-inventory/node_modules/react/cjs/react.development.js:2667:24)
    at act (/home/runner/work/ui-inventory/ui-inventory/node_modules/react/cjs/react.development.js:2582:11)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/act-compat.js:47:25
    at renderRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/pure.js:180:26)
    at render (/home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/pure.js:271:10)
    at renderer (/home/runner/work/ui-inventory/ui-inventory/test/jest/helpers/renderWithIntl.js:6:76)
    at Object.<anonymous> (/home/runner/work/ui-inventory/ui-inventory/src/views/ItemView.test.js:222:21)
    at Promise.then.completed (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusHook (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:281:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:246:5)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:121:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:121:9)
    at run (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/testWorker.js:106:12)

Check warning on line 0 in ItemView rendering ItemView should display "inactive" by an inactive item permanent location

See this annotation in the file changed.

@github-actions github-actions / Jest Unit Test Results

ItemView rendering ItemView should display "inactive" by an inactive item permanent location (ItemView rendering ItemView should display "inactive" by an inactive item permanent location) failed

artifacts/jest-junit/junit.xml
Raw output
ReferenceError: document is not defined
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/nwsapi/src/nwsapi.js:215:21
    at Factory (/home/runner/work/ui-inventory/ui-inventory/node_modules/nwsapi/src/nwsapi.js:245:6)
    at initNwsapi (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
    at exports.matchesDontThrow (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:20:33)
    at matches (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:50:10)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:35:18
    at Array.forEach (<anonymous>)
    at handleSheet (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:26:13)
    at exports.forEachMatchingSheetRuleOfElement (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:45:3)
    at Window.getComputedStyle (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/browser/Window.js:806:5)
    at getComputedStyle (/home/runner/work/ui-inventory/ui-inventory/node_modules/@folio/stripes-components/util/getScrollParent.js:16:15)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/@folio/stripes-components/lib/MultiColumnList/CenteredContainer.js:15:30
    at commitHookEffectListMount (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:23189:26)
    at commitLayoutEffectOnFiber (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:23312:15)
    at commitLayoutMountEffects_complete (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:24727:9)
    at commitLayoutEffects_begin (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:24713:7)
    at commitLayoutEffects (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:24651:3)
    at commitRootImpl (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26862:5)
    at commitRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26721:5)
    at performSyncWorkOnRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26156:3)
    at flushSyncCallbacks (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:12042:22)
    at commitRootImpl (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26998:3)
    at commitRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26721:5)
    at finishConcurrentRender (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26020:9)
    at performConcurrentWorkOnRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:25848:7)
    at flushActQueue (/home/runner/work/ui-inventory/ui-inventory/node_modules/react/cjs/react.development.js:2667:24)
    at act (/home/runner/work/ui-inventory/ui-inventory/node_modules/react/cjs/react.development.js:2582:11)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/act-compat.js:47:25
    at renderRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/pure.js:180:26)
    at render (/home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/pure.js:271:10)
    at renderer (/home/runner/work/ui-inventory/ui-inventory/test/jest/helpers/renderWithIntl.js:6:76)
    at Object.<anonymous> (/home/runner/work/ui-inventory/ui-inventory/src/views/ItemView.test.js:222:21)
    at Promise.then.completed (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusHook (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:281:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:246:5)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:121:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:121:9)
    at run (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/testWorker.js:106:12)

Check warning on line 0 in ItemView rendering ItemView should display "inactive" by an inactive item temporary location

See this annotation in the file changed.

@github-actions github-actions / Jest Unit Test Results

ItemView rendering ItemView should display "inactive" by an inactive item temporary location (ItemView rendering ItemView should display "inactive" by an inactive item temporary location) failed

artifacts/jest-junit/junit.xml
Raw output
ReferenceError: document is not defined
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/nwsapi/src/nwsapi.js:215:21
    at Factory (/home/runner/work/ui-inventory/ui-inventory/node_modules/nwsapi/src/nwsapi.js:245:6)
    at initNwsapi (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
    at exports.matchesDontThrow (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:20:33)
    at matches (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:50:10)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:35:18
    at Array.forEach (<anonymous>)
    at handleSheet (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:26:13)
    at exports.forEachMatchingSheetRuleOfElement (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:45:3)
    at Window.getComputedStyle (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/browser/Window.js:806:5)
    at getComputedStyle (/home/runner/work/ui-inventory/ui-inventory/node_modules/@folio/stripes-components/util/getScrollParent.js:16:15)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/@folio/stripes-components/lib/MultiColumnList/CenteredContainer.js:15:30
    at commitHookEffectListMount (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:23189:26)
    at commitLayoutEffectOnFiber (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:23312:15)
    at commitLayoutMountEffects_complete (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:24727:9)
    at commitLayoutEffects_begin (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:24713:7)
    at commitLayoutEffects (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:24651:3)
    at commitRootImpl (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26862:5)
    at commitRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26721:5)
    at performSyncWorkOnRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26156:3)
    at flushSyncCallbacks (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:12042:22)
    at commitRootImpl (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26998:3)
    at commitRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26721:5)
    at finishConcurrentRender (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26020:9)
    at performConcurrentWorkOnRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:25848:7)
    at flushActQueue (/home/runner/work/ui-inventory/ui-inventory/node_modules/react/cjs/react.development.js:2667:24)
    at act (/home/runner/work/ui-inventory/ui-inventory/node_modules/react/cjs/react.development.js:2582:11)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/act-compat.js:47:25
    at renderRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/pure.js:180:26)
    at render (/home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/pure.js:271:10)
    at renderer (/home/runner/work/ui-inventory/ui-inventory/test/jest/helpers/renderWithIntl.js:6:76)
    at Object.<anonymous> (/home/runner/work/ui-inventory/ui-inventory/src/views/ItemView.test.js:222:21)
    at Promise.then.completed (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusHook (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:281:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:246:5)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:121:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:121:9)
    at run (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/testWorker.js:106:12)

Check warning on line 0 in ItemView rendering ItemView should display "inactive" by an inactive item effective location

See this annotation in the file changed.

@github-actions github-actions / Jest Unit Test Results

ItemView rendering ItemView should display "inactive" by an inactive item effective location (ItemView rendering ItemView should display "inactive" by an inactive item effective location) failed

artifacts/jest-junit/junit.xml
Raw output
ReferenceError: document is not defined
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/nwsapi/src/nwsapi.js:215:21
    at Factory (/home/runner/work/ui-inventory/ui-inventory/node_modules/nwsapi/src/nwsapi.js:245:6)
    at initNwsapi (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
    at exports.matchesDontThrow (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:20:33)
    at matches (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:50:10)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:35:18
    at Array.forEach (<anonymous>)
    at handleSheet (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:26:13)
    at exports.forEachMatchingSheetRuleOfElement (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:45:3)
    at Window.getComputedStyle (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/browser/Window.js:806:5)
    at getComputedStyle (/home/runner/work/ui-inventory/ui-inventory/node_modules/@folio/stripes-components/util/getScrollParent.js:16:15)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/@folio/stripes-components/lib/MultiColumnList/CenteredContainer.js:15:30
    at commitHookEffectListMount (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:23189:26)
    at commitLayoutEffectOnFiber (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:23312:15)
    at commitLayoutMountEffects_complete (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:24727:9)
    at commitLayoutEffects_begin (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:24713:7)
    at commitLayoutEffects (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:24651:3)
    at commitRootImpl (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26862:5)
    at commitRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26721:5)
    at performSyncWorkOnRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26156:3)
    at flushSyncCallbacks (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:12042:22)
    at commitRootImpl (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26998:3)
    at commitRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26721:5)
    at finishConcurrentRender (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26020:9)
    at performConcurrentWorkOnRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:25848:7)
    at flushActQueue (/home/runner/work/ui-inventory/ui-inventory/node_modules/react/cjs/react.development.js:2667:24)
    at act (/home/runner/work/ui-inventory/ui-inventory/node_modules/react/cjs/react.development.js:2582:11)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/act-compat.js:47:25
    at renderRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/pure.js:180:26)
    at render (/home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/pure.js:271:10)
    at renderer (/home/runner/work/ui-inventory/ui-inventory/test/jest/helpers/renderWithIntl.js:6:76)
    at Object.<anonymous> (/home/runner/work/ui-inventory/ui-inventory/src/views/ItemView.test.js:222:21)
    at Promise.then.completed (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusHook (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:281:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:246:5)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:121:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:121:9)
    at run (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/testWorker.js:106:12)

Check warning on line 0 in ItemView rendering ItemView should display the information icons

See this annotation in the file changed.

@github-actions github-actions / Jest Unit Test Results

ItemView rendering ItemView should display the information icons (ItemView rendering ItemView should display the information icons) failed

artifacts/jest-junit/junit.xml
Raw output
ReferenceError: document is not defined
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/nwsapi/src/nwsapi.js:215:21
    at Factory (/home/runner/work/ui-inventory/ui-inventory/node_modules/nwsapi/src/nwsapi.js:245:6)
    at initNwsapi (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
    at exports.matchesDontThrow (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:20:33)
    at matches (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:50:10)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:35:18
    at Array.forEach (<anonymous>)
    at handleSheet (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:26:13)
    at exports.forEachMatchingSheetRuleOfElement (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:45:3)
    at Window.getComputedStyle (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/browser/Window.js:806:5)
    at getComputedStyle (/home/runner/work/ui-inventory/ui-inventory/node_modules/@folio/stripes-components/util/getScrollParent.js:16:15)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/@folio/stripes-components/lib/MultiColumnList/CenteredContainer.js:15:30
    at commitHookEffectListMount (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:23189:26)
    at commitLayoutEffectOnFiber (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:23312:15)
    at commitLayoutMountEffects_complete (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:24727:9)
    at commitLayoutEffects_begin (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:24713:7)
    at commitLayoutEffects (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:24651:3)
    at commitRootImpl (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26862:5)
    at commitRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26721:5)
    at performSyncWorkOnRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26156:3)
    at flushSyncCallbacks (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:12042:22)
    at commitRootImpl (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26998:3)
    at commitRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26721:5)
    at finishConcurrentRender (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26020:9)
    at performConcurrentWorkOnRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:25848:7)
    at flushActQueue (/home/runner/work/ui-inventory/ui-inventory/node_modules/react/cjs/react.development.js:2667:24)
    at act (/home/runner/work/ui-inventory/ui-inventory/node_modules/react/cjs/react.development.js:2582:11)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/act-compat.js:47:25
    at renderRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/pure.js:180:26)
    at render (/home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/pure.js:271:10)
    at renderer (/home/runner/work/ui-inventory/ui-inventory/test/jest/helpers/renderWithIntl.js:6:76)
    at Object.<anonymous> (/home/runner/work/ui-inventory/ui-inventory/src/views/ItemView.test.js:222:21)
    at Promise.then.completed (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusHook (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:281:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:246:5)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:121:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:121:9)
    at run (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/testWorker.js:106:12)

Check warning on line 0 in ItemView rendering ItemView when close view page should call the function to redirect user to instance page

See this annotation in the file changed.

@github-actions github-actions / Jest Unit Test Results

ItemView rendering ItemView when close view page should call the function to redirect user to instance page (ItemView rendering ItemView when close view page should call the function to redirect user to instance page) failed

artifacts/jest-junit/junit.xml
Raw output
ReferenceError: document is not defined
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/nwsapi/src/nwsapi.js:215:21
    at Factory (/home/runner/work/ui-inventory/ui-inventory/node_modules/nwsapi/src/nwsapi.js:245:6)
    at initNwsapi (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
    at exports.matchesDontThrow (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:20:33)
    at matches (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:50:10)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:35:18
    at Array.forEach (<anonymous>)
    at handleSheet (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:26:13)
    at exports.forEachMatchingSheetRuleOfElement (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:45:3)
    at Window.getComputedStyle (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/browser/Window.js:806:5)
    at getComputedStyle (/home/runner/work/ui-inventory/ui-inventory/node_modules/@folio/stripes-components/util/getScrollParent.js:16:15)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/@folio/stripes-components/lib/MultiColumnList/CenteredContainer.js:15:30
    at commitHookEffectListMount (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:23189:26)
    at commitLayoutEffectOnFiber (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:23312:15)
    at commitLayoutMountEffects_complete (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:24727:9)
    at commitLayoutEffects_begin (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:24713:7)
    at commitLayoutEffects (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:24651:3)
    at commitRootImpl (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26862:5)
    at commitRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26721:5)
    at performSyncWorkOnRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26156:3)
    at flushSyncCallbacks (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:12042:22)
    at commitRootImpl (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26998:3)
    at commitRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26721:5)
    at finishConcurrentRender (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26020:9)
    at performConcurrentWorkOnRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:25848:7)
    at flushActQueue (/home/runner/work/ui-inventory/ui-inventory/node_modules/react/cjs/react.development.js:2667:24)
    at act (/home/runner/work/ui-inventory/ui-inventory/node_modules/react/cjs/react.development.js:2582:11)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/act-compat.js:47:25
    at renderRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/pure.js:180:26)
    at render (/home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/pure.js:271:10)
    at renderer (/home/runner/work/ui-inventory/ui-inventory/test/jest/helpers/renderWithIntl.js:6:76)
    at Object.<anonymous> (/home/runner/work/ui-inventory/ui-inventory/src/views/ItemView.test.js:222:21)
    at Promise.then.completed (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusHook (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:281:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:246:5)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:121:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:121:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:121:9)
    at run (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/testWorker.js:106:12)

Check warning on line 0 in ItemView action menu should be suppressed for consortial central tenant

See this annotation in the file changed.

@github-actions github-actions / Jest Unit Test Results

ItemView action menu should be suppressed for consortial central tenant (ItemView action menu should be suppressed for consortial central tenant) failed

artifacts/jest-junit/junit.xml
Raw output
ReferenceError: document is not defined
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/nwsapi/src/nwsapi.js:215:21
    at Factory (/home/runner/work/ui-inventory/ui-inventory/node_modules/nwsapi/src/nwsapi.js:245:6)
    at initNwsapi (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
    at exports.matchesDontThrow (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:20:33)
    at matches (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:50:10)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:35:18
    at Array.forEach (<anonymous>)
    at handleSheet (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:26:13)
    at exports.forEachMatchingSheetRuleOfElement (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:45:3)
    at Window.getComputedStyle (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/browser/Window.js:806:5)
    at getComputedStyle (/home/runner/work/ui-inventory/ui-inventory/node_modules/@folio/stripes-components/util/getScrollParent.js:16:15)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/@folio/stripes-components/lib/MultiColumnList/CenteredContainer.js:15:30
    at commitHookEffectListMount (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:23189:26)
    at commitLayoutEffectOnFiber (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:23312:15)
    at commitLayoutMountEffects_complete (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:24727:9)
    at commitLayoutEffects_begin (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:24713:7)
    at commitLayoutEffects (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:24651:3)
    at commitRootImpl (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26862:5)
    at commitRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26721:5)
    at performSyncWorkOnRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26156:3)
    at flushSyncCallbacks (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:12042:22)
    at commitRootImpl (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26998:3)
    at commitRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26721:5)
    at finishConcurrentRender (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26020:9)
    at performConcurrentWorkOnRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:25848:7)
    at flushActQueue (/home/runner/work/ui-inventory/ui-inventory/node_modules/react/cjs/react.development.js:2667:24)
    at act (/home/runner/work/ui-inventory/ui-inventory/node_modules/react/cjs/react.development.js:2582:11)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/act-compat.js:47:25
    at renderRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/pure.js:180:26)
    at render (/home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/pure.js:271:10)
    at renderer (/home/runner/work/ui-inventory/ui-inventory/test/jest/helpers/renderWithIntl.js:6:76)
    at Object.<anonymous> (/home/runner/work/ui-inventory/ui-inventory/src/views/ItemView.test.js:305:21)
    at Promise.then.completed (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:121:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:121:9)
    at run (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/testWorker.js:106:12)

Check warning on line 0 in ItemView action menu "Edit" action item should be rendered

See this annotation in the file changed.

@github-actions github-actions / Jest Unit Test Results

ItemView action menu "Edit" action item should be rendered (ItemView action menu "Edit" action item should be rendered) failed

artifacts/jest-junit/junit.xml
Raw output
ReferenceError: document is not defined
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/nwsapi/src/nwsapi.js:215:21
    at Factory (/home/runner/work/ui-inventory/ui-inventory/node_modules/nwsapi/src/nwsapi.js:245:6)
    at initNwsapi (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
    at exports.matchesDontThrow (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:20:33)
    at matches (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:50:10)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:35:18
    at Array.forEach (<anonymous>)
    at handleSheet (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:26:13)
    at exports.forEachMatchingSheetRuleOfElement (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:45:3)
    at Window.getComputedStyle (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/browser/Window.js:806:5)
    at getComputedStyle (/home/runner/work/ui-inventory/ui-inventory/node_modules/@folio/stripes-components/util/getScrollParent.js:16:15)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/@folio/stripes-components/lib/MultiColumnList/CenteredContainer.js:15:30
    at commitHookEffectListMount (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:23189:26)
    at commitLayoutEffectOnFiber (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:23312:15)
    at commitLayoutMountEffects_complete (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:24727:9)
    at commitLayoutEffects_begin (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:24713:7)
    at commitLayoutEffects (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:24651:3)
    at commitRootImpl (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26862:5)
    at commitRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26721:5)
    at performSyncWorkOnRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26156:3)
    at flushSyncCallbacks (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:12042:22)
    at commitRootImpl (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26998:3)
    at commitRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26721:5)
    at finishConcurrentRender (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26020:9)
    at performConcurrentWorkOnRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:25848:7)
    at flushActQueue (/home/runner/work/ui-inventory/ui-inventory/node_modules/react/cjs/react.development.js:2667:24)
    at act (/home/runner/work/ui-inventory/ui-inventory/node_modules/react/cjs/react.development.js:2582:11)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/act-compat.js:47:25
    at renderRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/pure.js:180:26)
    at render (/home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/pure.js:271:10)
    at renderer (/home/runner/work/ui-inventory/ui-inventory/test/jest/helpers/renderWithIntl.js:6:76)
    at Object.<anonymous> (/home/runner/work/ui-inventory/ui-inventory/src/views/ItemView.test.js:313:23)
    at Promise.then.completed (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:121:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:121:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:121:9)
    at run (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/testWorker.js:106:12)

Check warning on line 0 in ItemView action menu "Edit" action item when click on "Edit" should call the function to redirect user to edit page

See this annotation in the file changed.

@github-actions github-actions / Jest Unit Test Results

ItemView action menu "Edit" action item when click on "Edit" should call the function to redirect user to edit page (ItemView action menu "Edit" action item when click on "Edit" should call the function to redirect user to edit page) failed

artifacts/jest-junit/junit.xml
Raw output
ReferenceError: document is not defined
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/nwsapi/src/nwsapi.js:215:21
    at Factory (/home/runner/work/ui-inventory/ui-inventory/node_modules/nwsapi/src/nwsapi.js:245:6)
    at initNwsapi (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
    at exports.matchesDontThrow (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:20:33)
    at matches (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:50:10)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:35:18
    at Array.forEach (<anonymous>)
    at handleSheet (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:26:13)
    at exports.forEachMatchingSheetRuleOfElement (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:45:3)
    at Window.getComputedStyle (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/browser/Window.js:806:5)
    at getComputedStyle (/home/runner/work/ui-inventory/ui-inventory/node_modules/@folio/stripes-components/util/getScrollParent.js:16:15)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/@folio/stripes-components/lib/MultiColumnList/CenteredContainer.js:15:30
    at commitHookEffectListMount (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:23189:26)
    at commitLayoutEffectOnFiber (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:23312:15)
    at commitLayoutMountEffects_complete (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:24727:9)
    at commitLayoutEffects_begin (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:24713:7)
    at commitLayoutEffects (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:24651:3)
    at commitRootImpl (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26862:5)
    at commitRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26721:5)
    at performSyncWorkOnRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26156:3)
    at flushSyncCallbacks (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:12042:22)
    at commitRootImpl (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26998:3)
    at commitRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26721:5)
    at finishConcurrentRender (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26020:9)
    at performConcurrentWorkOnRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:25848:7)
    at flushActQueue (/home/runner/work/ui-inventory/ui-inventory/node_modules/react/cjs/react.development.js:2667:24)
    at act (/home/runner/work/ui-inventory/ui-inventory/node_modules/react/cjs/react.development.js:2582:11)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/act-compat.js:47:25
    at renderRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/pure.js:180:26)
    at render (/home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/pure.js:271:10)
    at renderer (/home/runner/work/ui-inventory/ui-inventory/test/jest/helpers/renderWithIntl.js:6:76)
    at Object.<anonymous> (/home/runner/work/ui-inventory/ui-inventory/src/views/ItemView.test.js:321:25)
    at Promise.then.completed (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:121:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:121:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:121:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:121:9)
    at run (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/testWorker.js:106:12)

Check warning on line 0 in ItemView action menu "Update ownership" action item when confirm the action should call the method to update ownership of item

See this annotation in the file changed.

@github-actions github-actions / Jest Unit Test Results

ItemView action menu "Update ownership" action item when confirm the action should call the method to update ownership of item …w action menu "Update ownership" action item when confirm the action should call the method to update ownership of item) failed

artifacts/jest-junit/junit.xml
Raw output
ReferenceError: document is not defined
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/nwsapi/src/nwsapi.js:215:21
    at Factory (/home/runner/work/ui-inventory/ui-inventory/node_modules/nwsapi/src/nwsapi.js:245:6)
    at initNwsapi (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
    at exports.matchesDontThrow (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:20:33)
    at matches (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:50:10)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:35:18
    at Array.forEach (<anonymous>)
    at handleSheet (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:26:13)
    at exports.forEachMatchingSheetRuleOfElement (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:45:3)
    at Window.getComputedStyle (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/browser/Window.js:806:5)
    at getComputedStyle (/home/runner/work/ui-inventory/ui-inventory/node_modules/@folio/stripes-components/util/getScrollParent.js:16:15)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/@folio/stripes-components/lib/MultiColumnList/CenteredContainer.js:15:30
    at commitHookEffectListMount (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:23189:26)
    at commitLayoutEffectOnFiber (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:23312:15)
    at commitLayoutMountEffects_complete (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:24727:9)
    at commitLayoutEffects_begin (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:24713:7)
    at commitLayoutEffects (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:24651:3)
    at commitRootImpl (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26862:5)
    at commitRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26721:5)
    at performSyncWorkOnRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26156:3)
    at flushSyncCallbacks (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:12042:22)
    at commitRootImpl (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26998:3)
    at commitRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26721:5)
    at finishConcurrentRender (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26020:9)
    at performConcurrentWorkOnRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:25848:7)
    at flushActQueue (/home/runner/work/ui-inventory/ui-inventory/node_modules/react/cjs/react.development.js:2667:24)
    at act (/home/runner/work/ui-inventory/ui-inventory/node_modules/react/cjs/react.development.js:2582:11)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/act-compat.js:47:25
    at renderRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/pure.js:180:26)
    at render (/home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/pure.js:271:10)
    at renderer (/home/runner/work/ui-inventory/ui-inventory/test/jest/helpers/renderWithIntl.js:6:76)
    at Object.<anonymous> (/home/runner/work/ui-inventory/ui-inventory/src/views/ItemView.test.js:337:25)
    at Promise.then.completed (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:121:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:121:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:121:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:121:9)
    at run (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/testWorker.js:106:12)

Check warning on line 0 in ItemView action menu "Update ownership" action item when confirm the action should display Linked order lines modal

See this annotation in the file changed.

@github-actions github-actions / Jest Unit Test Results

ItemView action menu "Update ownership" action item when confirm the action should display Linked order lines modal (ItemView action menu "Update ownership" action item when confirm the action should display Linked order lines modal) failed

artifacts/jest-junit/junit.xml
Raw output
ReferenceError: document is not defined
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/nwsapi/src/nwsapi.js:215:21
    at Factory (/home/runner/work/ui-inventory/ui-inventory/node_modules/nwsapi/src/nwsapi.js:245:6)
    at initNwsapi (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
    at exports.matchesDontThrow (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:20:33)
    at matches (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:50:10)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:35:18
    at Array.forEach (<anonymous>)
    at handleSheet (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:26:13)
    at exports.forEachMatchingSheetRuleOfElement (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:45:3)
    at Window.getComputedStyle (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/browser/Window.js:806:5)
    at getComputedStyle (/home/runner/work/ui-inventory/ui-inventory/node_modules/@folio/stripes-components/util/getScrollParent.js:16:15)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/@folio/stripes-components/lib/MultiColumnList/CenteredContainer.js:15:30
    at commitHookEffectListMount (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:23189:26)
    at commitLayoutEffectOnFiber (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:23312:15)
    at commitLayoutMountEffects_complete (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:24727:9)
    at commitLayoutEffects_begin (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:24713:7)
    at commitLayoutEffects (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:24651:3)
    at commitRootImpl (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26862:5)
    at commitRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26721:5)
    at performSyncWorkOnRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26156:3)
    at flushSyncCallbacks (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:12042:22)
    at commitRootImpl (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26998:3)
    at commitRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26721:5)
    at finishConcurrentRender (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26020:9)
    at performConcurrentWorkOnRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:25848:7)
    at flushActQueue (/home/runner/work/ui-inventory/ui-inventory/node_modules/react/cjs/react.development.js:2667:24)
    at act (/home/runner/work/ui-inventory/ui-inventory/node_modules/react/cjs/react.development.js:2582:11)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/act-compat.js:47:25
    at renderRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/pure.js:180:26)
    at render (/home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/pure.js:271:10)
    at renderer (/home/runner/work/ui-inventory/ui-inventory/test/jest/helpers/renderWithIntl.js:6:76)
    at Object.<anonymous> (/home/runner/work/ui-inventory/ui-inventory/src/views/ItemView.test.js:355:25)
    at Promise.then.completed (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:121:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:121:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:121:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:121:9)
    at run (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/testWorker.js:106:12)

Check warning on line 0 in ItemView action menu "Update ownership" action item when confirm the action when an error was occured should show an error message

See this annotation in the file changed.

@github-actions github-actions / Jest Unit Test Results

ItemView action menu "Update ownership" action item when confirm the action when an error was occured should show an error mess…tion menu "Update ownership" action item when confirm the action when an error was occured should show an error message) failed

artifacts/jest-junit/junit.xml
Raw output
ReferenceError: document is not defined
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/nwsapi/src/nwsapi.js:215:21
    at Factory (/home/runner/work/ui-inventory/ui-inventory/node_modules/nwsapi/src/nwsapi.js:245:6)
    at initNwsapi (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
    at exports.matchesDontThrow (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:20:33)
    at matches (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:50:10)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:35:18
    at Array.forEach (<anonymous>)
    at handleSheet (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:26:13)
    at exports.forEachMatchingSheetRuleOfElement (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:45:3)
    at Window.getComputedStyle (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/browser/Window.js:806:5)
    at getComputedStyle (/home/runner/work/ui-inventory/ui-inventory/node_modules/@folio/stripes-components/util/getScrollParent.js:16:15)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/@folio/stripes-components/lib/MultiColumnList/CenteredContainer.js:15:30
    at commitHookEffectListMount (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:23189:26)
    at commitLayoutEffectOnFiber (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:23312:15)
    at commitLayoutMountEffects_complete (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:24727:9)
    at commitLayoutEffects_begin (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:24713:7)
    at commitLayoutEffects (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:24651:3)
    at commitRootImpl (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26862:5)
    at commitRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26721:5)
    at performSyncWorkOnRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26156:3)
    at flushSyncCallbacks (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:12042:22)
    at commitRootImpl (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26998:3)
    at commitRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26721:5)
    at finishConcurrentRender (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26020:9)
    at performConcurrentWorkOnRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:25848:7)
    at flushActQueue (/home/runner/work/ui-inventory/ui-inventory/node_modules/react/cjs/react.development.js:2667:24)
    at act (/home/runner/work/ui-inventory/ui-inventory/node_modules/react/cjs/react.development.js:2582:11)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/act-compat.js:47:25
    at renderRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/pure.js:180:26)
    at render (/home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/pure.js:271:10)
    at renderer (/home/runner/work/ui-inventory/ui-inventory/test/jest/helpers/renderWithIntl.js:6:76)
    at Object.<anonymous> (/home/runner/work/ui-inventory/ui-inventory/src/views/ItemView.test.js:386:27)
    at Promise.then.completed (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:121:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:121:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:121:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:121:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:121:9)
    at run (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/testWorker.js:106:12)

Check warning on line 0 in ItemView action menu "Update ownership" action item when cancel the action should hide confirmation modal

See this annotation in the file changed.

@github-actions github-actions / Jest Unit Test Results

ItemView action menu "Update ownership" action item when cancel the action should hide confirmation modal (ItemView action menu "Update ownership" action item when cancel the action should hide confirmation modal) failed

artifacts/jest-junit/junit.xml
Raw output
ReferenceError: document is not defined
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/nwsapi/src/nwsapi.js:215:21
    at Factory (/home/runner/work/ui-inventory/ui-inventory/node_modules/nwsapi/src/nwsapi.js:245:6)
    at initNwsapi (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
    at exports.matchesDontThrow (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:20:33)
    at matches (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:50:10)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:35:18
    at Array.forEach (<anonymous>)
    at handleSheet (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:26:13)
    at exports.forEachMatchingSheetRuleOfElement (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:45:3)
    at Window.getComputedStyle (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/browser/Window.js:806:5)
    at getComputedStyle (/home/runner/work/ui-inventory/ui-inventory/node_modules/@folio/stripes-components/util/getScrollParent.js:16:15)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/@folio/stripes-components/lib/MultiColumnList/CenteredContainer.js:15:30
    at commitHookEffectListMount (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:23189:26)
    at commitLayoutEffectOnFiber (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:23312:15)
    at commitLayoutMountEffects_complete (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:24727:9)
    at commitLayoutEffects_begin (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:24713:7)
    at commitLayoutEffects (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:24651:3)
    at commitRootImpl (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26862:5)
    at commitRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26721:5)
    at performSyncWorkOnRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26156:3)
    at flushSyncCallbacks (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:12042:22)
    at commitRootImpl (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26998:3)
    at commitRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26721:5)
    at finishConcurrentRender (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26020:9)
    at performConcurrentWorkOnRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:25848:7)
    at flushActQueue (/home/runner/work/ui-inventory/ui-inventory/node_modules/react/cjs/react.development.js:2667:24)
    at act (/home/runner/work/ui-inventory/ui-inventory/node_modules/react/cjs/react.development.js:2582:11)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/act-compat.js:47:25
    at renderRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/pure.js:180:26)
    at render (/home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/pure.js:271:10)
    at renderer (/home/runner/work/ui-inventory/ui-inventory/test/jest/helpers/renderWithIntl.js:6:76)
    at Object.<anonymous> (/home/runner/work/ui-inventory/ui-inventory/src/views/ItemView.test.js:404:25)
    at Promise.then.completed (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:121:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:121:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:121:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:121:9)
    at run (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/testWorker.js:106:12)

Check warning on line 0 in ItemView action menu "Duplicate" action item should be rendered

See this annotation in the file changed.

@github-actions github-actions / Jest Unit Test Results

ItemView action menu "Duplicate" action item should be rendered (ItemView action menu "Duplicate" action item should be rendered) failed

artifacts/jest-junit/junit.xml
Raw output
ReferenceError: document is not defined
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/nwsapi/src/nwsapi.js:215:21
    at Factory (/home/runner/work/ui-inventory/ui-inventory/node_modules/nwsapi/src/nwsapi.js:245:6)
    at initNwsapi (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
    at exports.matchesDontThrow (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:20:33)
    at matches (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:50:10)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:35:18
    at Array.forEach (<anonymous>)
    at handleSheet (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:26:13)
    at exports.forEachMatchingSheetRuleOfElement (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:45:3)
    at Window.getComputedStyle (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/browser/Window.js:806:5)
    at getComputedStyle (/home/runner/work/ui-inventory/ui-inventory/node_modules/@folio/stripes-components/util/getScrollParent.js:16:15)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/@folio/stripes-components/lib/MultiColumnList/CenteredContainer.js:15:30
    at commitHookEffectListMount (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:23189:26)
    at commitLayoutEffectOnFiber (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:23312:15)
    at commitLayoutMountEffects_complete (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:24727:9)
    at commitLayoutEffects_begin (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:24713:7)
    at commitLayoutEffects (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:24651:3)
    at commitRootImpl (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26862:5)
    at commitRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26721:5)
    at performSyncWorkOnRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26156:3)
    at flushSyncCallbacks (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:12042:22)
    at commitRootImpl (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26998:3)
    at commitRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26721:5)
    at finishConcurrentRender (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26020:9)
    at performConcurrentWorkOnRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:25848:7)
    at flushActQueue (/home/runner/work/ui-inventory/ui-inventory/node_modules/react/cjs/react.development.js:2667:24)
    at act (/home/runner/work/ui-inventory/ui-inventory/node_modules/react/cjs/react.development.js:2582:11)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/act-compat.js:47:25
    at renderRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/pure.js:180:26)
    at render (/home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/pure.js:271:10)
    at renderer (/home/runner/work/ui-inventory/ui-inventory/test/jest/helpers/renderWithIntl.js:6:76)
    at Object.<anonymous> (/home/runner/work/ui-inventory/ui-inventory/src/views/ItemView.test.js:422:23)
    at Promise.then.completed (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:121:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:121:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:121:9)
    at run (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/testWorker.js:106:12)

Check warning on line 0 in ItemView action menu "Duplicate" action item when click on "Duplicate" should call the function to redirect user to duplicate page

See this annotation in the file changed.

@github-actions github-actions / Jest Unit Test Results

ItemView action menu "Duplicate" action item when click on "Duplicate" should call the function to redirect user to duplicate p…tion menu "Duplicate" action item when click on "Duplicate" should call the function to redirect user to duplicate page) failed

artifacts/jest-junit/junit.xml
Raw output
ReferenceError: document is not defined
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/nwsapi/src/nwsapi.js:215:21
    at Factory (/home/runner/work/ui-inventory/ui-inventory/node_modules/nwsapi/src/nwsapi.js:245:6)
    at initNwsapi (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
    at exports.matchesDontThrow (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:20:33)
    at matches (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:50:10)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:35:18
    at Array.forEach (<anonymous>)
    at handleSheet (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:26:13)
    at exports.forEachMatchingSheetRuleOfElement (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:45:3)
    at Window.getComputedStyle (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/browser/Window.js:806:5)
    at getComputedStyle (/home/runner/work/ui-inventory/ui-inventory/node_modules/@folio/stripes-components/util/getScrollParent.js:16:15)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/@folio/stripes-components/lib/MultiColumnList/CenteredContainer.js:15:30
    at commitHookEffectListMount (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:23189:26)
    at commitLayoutEffectOnFiber (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:23312:15)
    at commitLayoutMountEffects_complete (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:24727:9)
    at commitLayoutEffects_begin (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:24713:7)
    at commitLayoutEffects (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:24651:3)
    at commitRootImpl (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26862:5)
    at commitRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26721:5)
    at performSyncWorkOnRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26156:3)
    at flushSyncCallbacks (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:12042:22)
    at commitRootImpl (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26998:3)
    at commitRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26721:5)
    at finishConcurrentRender (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26020:9)
    at performConcurrentWorkOnRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:25848:7)
    at flushActQueue (/home/runner/work/ui-inventory/ui-inventory/node_modules/react/cjs/react.development.js:2667:24)
    at act (/home/runner/work/ui-inventory/ui-inventory/node_modules/react/cjs/react.development.js:2582:11)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/act-compat.js:47:25
    at renderRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/pure.js:180:26)
    at render (/home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/pure.js:271:10)
    at renderer (/home/runner/work/ui-inventory/ui-inventory/test/jest/helpers/renderWithIntl.js:6:76)
    at Object.<anonymous> (/home/runner/work/ui-inventory/ui-inventory/src/views/ItemView.test.js:430:25)
    at Promise.then.completed (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:121:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:121:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:121:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:121:9)
    at run (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/testWorker.js:106:12)

Check warning on line 0 in ItemView action menu "Delete" action item should be rendered

See this annotation in the file changed.

@github-actions github-actions / Jest Unit Test Results

ItemView action menu "Delete" action item should be rendered (ItemView action menu "Delete" action item should be rendered) failed

artifacts/jest-junit/junit.xml
Raw output
ReferenceError: document is not defined
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/nwsapi/src/nwsapi.js:215:21
    at Factory (/home/runner/work/ui-inventory/ui-inventory/node_modules/nwsapi/src/nwsapi.js:245:6)
    at initNwsapi (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
    at exports.matchesDontThrow (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:20:33)
    at matches (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:50:10)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:35:18
    at Array.forEach (<anonymous>)
    at handleSheet (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:26:13)
    at exports.forEachMatchingSheetRuleOfElement (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:45:3)
    at Window.getComputedStyle (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/browser/Window.js:806:5)
    at getComputedStyle (/home/runner/work/ui-inventory/ui-inventory/node_modules/@folio/stripes-components/util/getScrollParent.js:16:15)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/@folio/stripes-components/lib/MultiColumnList/CenteredContainer.js:15:30
    at commitHookEffectListMount (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:23189:26)
    at commitLayoutEffectOnFiber (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:23312:15)
    at commitLayoutMountEffects_complete (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:24727:9)
    at commitLayoutEffects_begin (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:24713:7)
    at commitLayoutEffects (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:24651:3)
    at commitRootImpl (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26862:5)
    at commitRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26721:5)
    at performSyncWorkOnRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26156:3)
    at flushSyncCallbacks (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:12042:22)
    at commitRootImpl (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26998:3)
    at commitRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26721:5)
    at finishConcurrentRender (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26020:9)
    at performConcurrentWorkOnRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:25848:7)
    at flushActQueue (/home/runner/work/ui-inventory/ui-inventory/node_modules/react/cjs/react.development.js:2667:24)
    at act (/home/runner/work/ui-inventory/ui-inventory/node_modules/react/cjs/react.development.js:2582:11)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/act-compat.js:47:25
    at renderRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/pure.js:180:26)
    at render (/home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/pure.js:271:10)
    at renderer (/home/runner/work/ui-inventory/ui-inventory/test/jest/helpers/renderWithIntl.js:6:76)
    at Object.<anonymous> (/home/runner/work/ui-inventory/ui-inventory/src/views/ItemView.test.js:442:23)
    at Promise.then.completed (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:121:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:121:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:121:9)
    at run (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/testWorker.js:106:12)

Check warning on line 0 in ItemView action menu "Delete" action item when click on "Delete" and status of item is on order should render modal that user can't delete the item

See this annotation in the file changed.

@github-actions github-actions / Jest Unit Test Results

ItemView action menu "Delete" action item when click on "Delete" and status of item is on order should render modal that user c…" action item when click on "Delete" and status of item is on order should render modal that user can't delete the item) failed

artifacts/jest-junit/junit.xml
Raw output
ReferenceError: document is not defined
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/nwsapi/src/nwsapi.js:215:21
    at Factory (/home/runner/work/ui-inventory/ui-inventory/node_modules/nwsapi/src/nwsapi.js:245:6)
    at initNwsapi (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
    at exports.matchesDontThrow (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:20:33)
    at matches (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:50:10)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:35:18
    at Array.forEach (<anonymous>)
    at handleSheet (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:26:13)
    at exports.forEachMatchingSheetRuleOfElement (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:45:3)
    at Window.getComputedStyle (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/browser/Window.js:806:5)
    at getComputedStyle (/home/runner/work/ui-inventory/ui-inventory/node_modules/@folio/stripes-components/util/getScrollParent.js:16:15)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/@folio/stripes-components/lib/MultiColumnList/CenteredContainer.js:15:30
    at commitHookEffectListMount (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:23189:26)
    at commitLayoutEffectOnFiber (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:23312:15)
    at commitLayoutMountEffects_complete (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:24727:9)
    at commitLayoutEffects_begin (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:24713:7)
    at commitLayoutEffects (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:24651:3)
    at commitRootImpl (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26862:5)
    at commitRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26721:5)
    at performSyncWorkOnRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26156:3)
    at flushSyncCallbacks (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:12042:22)
    at commitRootImpl (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26998:3)
    at commitRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26721:5)
    at finishConcurrentRender (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26020:9)
    at performConcurrentWorkOnRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:25848:7)
    at flushActQueue (/home/runner/work/ui-inventory/ui-inventory/node_modules/react/cjs/react.development.js:2667:24)
    at act (/home/runner/work/ui-inventory/ui-inventory/node_modules/react/cjs/react.development.js:2582:11)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/act-compat.js:47:25
    at renderRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/pure.js:180:26)
    at render (/home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/pure.js:271:10)
    at renderer (/home/runner/work/ui-inventory/ui-inventory/test/jest/helpers/renderWithIntl.js:6:76)
    at Object.<anonymous> (/home/runner/work/ui-inventory/ui-inventory/src/views/ItemView.test.js:451:27)
    at Promise.then.completed (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:121:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:121:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:121:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:121:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:121:9)
    at run (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/testWorker.js:106:12)

Check warning on line 0 in ItemView action menu "Delete" action item when click on "Delete" and status of item is on order when close the modal should be closed

See this annotation in the file changed.

@github-actions github-actions / Jest Unit Test Results

ItemView action menu "Delete" action item when click on "Delete" and status of item is on order when close the modal should be …n menu "Delete" action item when click on "Delete" and status of item is on order when close the modal should be closed) failed

artifacts/jest-junit/junit.xml
Raw output
ReferenceError: document is not defined
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/nwsapi/src/nwsapi.js:215:21
    at Factory (/home/runner/work/ui-inventory/ui-inventory/node_modules/nwsapi/src/nwsapi.js:245:6)
    at initNwsapi (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
    at exports.matchesDontThrow (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:20:33)
    at matches (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:50:10)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:35:18
    at Array.forEach (<anonymous>)
    at handleSheet (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:26:13)
    at exports.forEachMatchingSheetRuleOfElement (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:45:3)
    at Window.getComputedStyle (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/browser/Window.js:806:5)
    at getComputedStyle (/home/runner/work/ui-inventory/ui-inventory/node_modules/@folio/stripes-components/util/getScrollParent.js:16:15)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/@folio/stripes-components/lib/MultiColumnList/CenteredContainer.js:15:30
    at commitHookEffectListMount (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:23189:26)
    at commitLayoutEffectOnFiber (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:23312:15)
    at commitLayoutMountEffects_complete (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:24727:9)
    at commitLayoutEffects_begin (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:24713:7)
    at commitLayoutEffects (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:24651:3)
    at commitRootImpl (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26862:5)
    at commitRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26721:5)
    at performSyncWorkOnRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26156:3)
    at flushSyncCallbacks (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:12042:22)
    at commitRootImpl (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26998:3)
    at commitRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26721:5)
    at finishConcurrentRender (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26020:9)
    at performConcurrentWorkOnRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:25848:7)
    at flushActQueue (/home/runner/work/ui-inventory/ui-inventory/node_modules/react/cjs/react.development.js:2667:24)
    at act (/home/runner/work/ui-inventory/ui-inventory/node_modules/react/cjs/react.development.js:2582:11)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/act-compat.js:47:25
    at renderRoot (/home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/pure.js:180:26)
    at render (/home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/pure.js:271:10)
    at renderer (/home/runner/work/ui-inventory/ui-inventory/test/jest/helpers/renderWithIntl.js:6:76)
    at Object.<anonymous> (/home/runner/work/ui-inventory/ui-inventory/src/views/ItemView.test.js:461:29)
    at Promise.then.completed (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:316:40)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at _runTest (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:252:3)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:126:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:121:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:121:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:121:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:121:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:121:9)
    at _runTestsForDescribeBlock (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:121:9)
    at run (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/run.js:71:3)
    at runAndTransformResultsToJestFormat (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at jestAdapter (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at runTestInternal (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/runTest.js:367:16)
    at runTest (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/runTest.js:444:34)
    at Object.worker (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-runner/build/testWorker.js:106:12)