Skip to content

UIIN-2514 Fix eslint error #5911

UIIN-2514 Fix eslint error

UIIN-2514 Fix eslint error #5911

This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / Jest Unit Test Results failed Nov 7, 2023 in 0s

7 fail, 2 skipped, 892 pass in 14m 27s

    1 files  ±0  228 suites  ±0   14m 27s ⏱️ - 1m 27s
901 tests ±0  892 ✔️ +1  2 💤 ±0  7  - 1 
906 runs  ±0  897 ✔️ +1  2 💤 ±0  7  - 1 

Results for commit 12309e7. ± Comparison against earlier commit 3f44a38.

Annotations

Check warning on line 0 in BrowseInventory when user clicks on Reset all should move focus to query input

See this annotation in the file changed.

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

BrowseInventory when user clicks on Reset all should move focus to query input (BrowseInventory when user clicks on Reset all should move focus to query input) failed

artifacts/jest-junit/junit.xml
Raw output
TypeError: Cannot read properties of undefined (reading 'focus')
    at focus (/home/runner/work/ui-inventory/ui-inventory/src/views/BrowseInventory/BrowseInventory.js:141:22)
    at HTMLUnknownElement.callCallback (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:4164:14)
    at HTMLUnknownElement.callTheUserObjectsOperation (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
    at innerInvokeEventListeners (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
    at invokeEventListeners (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:4213:16)
    at invokeGuardedCallback (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:4277:31)
    at invokeGuardedCallbackAndCatchFirstError (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:4291:25)
    at executeDispatch (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:9041:3)
    at processDispatchQueueItemsInOrder (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:9073:7)
    at processDispatchQueue (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:9086:5)
    at dispatchEventsForPlugins (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:9097:3)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:9288:12
    at batchedUpdates$1 (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26140:12)
    at batchedUpdates (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:3991:12)
    at dispatchEventForPluginEventSystem (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:9287:3)
    at dispatchEventWithEnableCapturePhaseSelectiveHydrationWithoutDiscreteEventReplay (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:6465:5)
    at dispatchEvent (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:6457:5)
    at dispatchDiscreteEvent (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:6430:5)
    at HTMLDivElement.callTheUserObjectsOperation (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
    at innerInvokeEventListeners (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
    at invokeEventListeners (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
    at HTMLButtonElementImpl._dispatch (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
    at HTMLButtonElementImpl.dispatchEvent (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
    at HTMLButtonElement.dispatchEvent (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/events.js:19:20
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/pure.js:93:16
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/act-compat.js:47:24
    at act (/home/runner/work/ui-inventory/ui-inventory/node_modules/react/cjs/react.development.js:2512:16)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/act-compat.js:46:25
    at Object.eventWrapper (/home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/pure.js:92:28)
    at fireEvent (/home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/events.js:12:35)
    at Function.fireEvent.<computed> [as click] (/home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/events.js:110:36)
    at Function.fireEvent.<computed> [as click] (/home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/fire-event.js:15:52)
    at Object.click (/home/runner/work/ui-inventory/ui-inventory/src/views/BrowseInventory/BrowseInventory.test.js:227:17)
    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 _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 InstancesList rendering InstancesList with instances segment when user clicks Reset all should move focus to query input

See this annotation in the file changed.

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

InstancesList rendering InstancesList with instances segment when user clicks Reset all should move focus to query input (InstancesList rendering InstancesList with instances segment when user clicks Reset all should move focus to query input) failed

artifacts/jest-junit/junit.xml
Raw output
TypeError: Cannot read properties of null (reading 'focus')
    at Object.focus [as onResetAll] (/home/runner/work/ui-inventory/ui-inventory/src/components/InstancesList/InstancesList.js:910:27)
    at SearchAndSort.onResetAll [as onClearSearchAndFilters] (/home/runner/work/ui-inventory/ui-inventory/node_modules/@folio/stripes-smart-components/lib/SearchAndSort/SearchAndSort.js:612:16)
    at onClearSearchAndFilters (/home/runner/work/ui-inventory/ui-inventory/node_modules/@folio/stripes-smart-components/lib/SearchAndSort/SearchAndSort.js:897:18)
    at HTMLUnknownElement.callCallback (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:4164:14)
    at HTMLUnknownElement.callTheUserObjectsOperation (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
    at innerInvokeEventListeners (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
    at invokeEventListeners (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:4213:16)
    at invokeGuardedCallback (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:4277:31)
    at invokeGuardedCallbackAndCatchFirstError (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:4291:25)
    at executeDispatch (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:9041:3)
    at processDispatchQueueItemsInOrder (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:9073:7)
    at processDispatchQueue (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:9086:5)
    at dispatchEventsForPlugins (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:9097:3)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:9288:12
    at batchedUpdates$1 (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26140:12)
    at batchedUpdates (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:3991:12)
    at dispatchEventForPluginEventSystem (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:9287:3)
    at dispatchEventWithEnableCapturePhaseSelectiveHydrationWithoutDiscreteEventReplay (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:6465:5)
    at dispatchEvent (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:6457:5)
    at dispatchDiscreteEvent (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:6430:5)
    at HTMLDivElement.callTheUserObjectsOperation (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
    at innerInvokeEventListeners (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
    at invokeEventListeners (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
    at HTMLButtonElementImpl._dispatch (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
    at HTMLButtonElementImpl.dispatchEvent (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
    at HTMLButtonElement.dispatchEvent (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/events.js:19:20
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/pure.js:93:16
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/act-compat.js:47:24
    at act (/home/runner/work/ui-inventory/ui-inventory/node_modules/react/cjs/react.development.js:2512:16)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/act-compat.js:46:25
    at Object.eventWrapper (/home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/pure.js:92:28)
    at fireEvent (/home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/events.js:12:35)
    at Function.fireEvent.<computed> [as click] (/home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/events.js:110:36)
    at Function.fireEvent.<computed> [as click] (/home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/fire-event.js:15:52)
    at Object.click (/home/runner/work/ui-inventory/ui-inventory/src/components/InstancesList/InstancesList.test.js:232:19)
    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 InstancesList rendering InstancesList with instances segment when search segment is changed should clear selected rows

See this annotation in the file changed.

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

InstancesList rendering InstancesList with instances segment when search segment is changed should clear selected rows (InstancesList rendering InstancesList with instances segment when search segment is changed should clear selected rows) failed

artifacts/jest-junit/junit.xml
Raw output
TypeError: Cannot read properties of null (reading 'focus')
    at InstancesList.focus [as refocusOnInputSearch] (/home/runner/work/ui-inventory/ui-inventory/src/components/InstancesList/InstancesList.js:397:27)
    at refocusOnInputSearch (/home/runner/work/ui-inventory/ui-inventory/src/components/InstancesList/InstancesList.js:401:10)
    at onChange (/home/runner/work/ui-inventory/ui-inventory/src/components/FilterNavigation/FilterNavigation.js:38:30)
    at onClick (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-router-dom/modules/Link.js:38:24)
    at HTMLUnknownElement.callCallback (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:4164:14)
    at HTMLUnknownElement.callTheUserObjectsOperation (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
    at innerInvokeEventListeners (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
    at invokeEventListeners (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:4213:16)
    at invokeGuardedCallback (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:4277:31)
    at invokeGuardedCallbackAndCatchFirstError (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:4291:25)
    at executeDispatch (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:9041:3)
    at processDispatchQueueItemsInOrder (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:9073:7)
    at processDispatchQueue (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:9086:5)
    at dispatchEventsForPlugins (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:9097:3)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:9288:12
    at batchedUpdates$1 (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26140:12)
    at batchedUpdates (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:3991:12)
    at dispatchEventForPluginEventSystem (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:9287:3)
    at dispatchEventWithEnableCapturePhaseSelectiveHydrationWithoutDiscreteEventReplay (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:6465:5)
    at dispatchEvent (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:6457:5)
    at dispatchDiscreteEvent (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:6430:5)
    at HTMLDivElement.callTheUserObjectsOperation (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
    at innerInvokeEventListeners (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
    at invokeEventListeners (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
    at HTMLAnchorElementImpl._dispatch (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
    at HTMLAnchorElementImpl.dispatchEvent (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
    at HTMLAnchorElement.dispatchEvent (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/events.js:19:20
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/pure.js:93:16
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/act-compat.js:47:24
    at act (/home/runner/work/ui-inventory/ui-inventory/node_modules/react/cjs/react.development.js:2512:16)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/act-compat.js:46:25
    at Object.eventWrapper (/home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/pure.js:92:28)
    at fireEvent (/home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/events.js:12:35)
    at Function.fireEvent.<computed> [as click] (/home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/events.js:110:36)
    at Function.fireEvent.<computed> [as click] (/home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/fire-event.js:15:52)
    at Object.click (/home/runner/work/ui-inventory/ui-inventory/src/components/InstancesList/InstancesList.test.js:248:19)
    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)
Error: expect(received).toBeFalsy()

Received: true
    at Object.toBeFalsy (/home/runner/work/ui-inventory/ui-inventory/src/components/InstancesList/InstancesList.test.js:250:65)
    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 InstancesList rendering InstancesList with instances segment when clicking on the `Holdings` or `Items` segments should select Title as default sort option on Holdings or Item segments

See this annotation in the file changed.

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

InstancesList rendering InstancesList with instances segment when clicking on the `Holdings` or `Items` segments should select … clicking on the `Holdings` or `Items` segments should select Title as default sort option on Holdings or Item segments) failed

artifacts/jest-junit/junit.xml
Raw output
TypeError: Cannot read properties of null (reading 'focus')
    at InstancesList.focus [as refocusOnInputSearch] (/home/runner/work/ui-inventory/ui-inventory/src/components/InstancesList/InstancesList.js:397:27)
    at refocusOnInputSearch (/home/runner/work/ui-inventory/ui-inventory/src/components/InstancesList/InstancesList.js:401:10)
    at onChange (/home/runner/work/ui-inventory/ui-inventory/src/components/FilterNavigation/FilterNavigation.js:38:30)
    at onClick (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-router-dom/modules/Link.js:38:24)
    at HTMLUnknownElement.callCallback (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:4164:14)
    at HTMLUnknownElement.callTheUserObjectsOperation (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
    at innerInvokeEventListeners (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
    at invokeEventListeners (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:4213:16)
    at invokeGuardedCallback (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:4277:31)
    at invokeGuardedCallbackAndCatchFirstError (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:4291:25)
    at executeDispatch (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:9041:3)
    at processDispatchQueueItemsInOrder (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:9073:7)
    at processDispatchQueue (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:9086:5)
    at dispatchEventsForPlugins (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:9097:3)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:9288:12
    at batchedUpdates$1 (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26140:12)
    at batchedUpdates (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:3991:12)
    at dispatchEventForPluginEventSystem (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:9287:3)
    at dispatchEventWithEnableCapturePhaseSelectiveHydrationWithoutDiscreteEventReplay (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:6465:5)
    at dispatchEvent (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:6457:5)
    at dispatchDiscreteEvent (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:6430:5)
    at HTMLDivElement.callTheUserObjectsOperation (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
    at innerInvokeEventListeners (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
    at invokeEventListeners (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
    at HTMLAnchorElementImpl._dispatch (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
    at HTMLAnchorElementImpl.dispatchEvent (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
    at HTMLAnchorElement.dispatchEvent (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/events.js:19:20
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/pure.js:93:16
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/act-compat.js:47:24
    at act (/home/runner/work/ui-inventory/ui-inventory/node_modules/react/cjs/react.development.js:2512:16)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/act-compat.js:46:25
    at Object.eventWrapper (/home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/pure.js:92:28)
    at fireEvent (/home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/events.js:12:35)
    at Function.fireEvent.<computed> [as click] (/home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/events.js:110:36)
    at Function.fireEvent.<computed> [as click] (/home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/fire-event.js:15:52)
    at click (/home/runner/work/ui-inventory/ui-inventory/src/components/InstancesList/InstancesList.test.js:468:41)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/act-compat.js:47:24
    at act (/home/runner/work/ui-inventory/ui-inventory/node_modules/react/cjs/react.development.js:2512:16)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/act-compat.js:46:25
    at Object.<anonymous> (/home/runner/work/ui-inventory/ui-inventory/src/components/InstancesList/InstancesList.test.js:468:18)
    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 _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)
TypeError: Cannot read properties of null (reading 'focus')
    at InstancesList.focus [as refocusOnInputSearch] (/home/runner/work/ui-inventory/ui-inventory/src/components/InstancesList/InstancesList.js:397:27)
    at refocusOnInputSearch (/home/runner/work/ui-inventory/ui-inventory/src/components/InstancesList/InstancesList.js:401:10)
    at onChange (/home/runner/work/ui-inventory/ui-inventory/src/components/FilterNavigation/FilterNavigation.js:38:30)
    at onClick (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-router-dom/modules/Link.js:38:24)
    at HTMLUnknownElement.callCallback (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:4164:14)
    at HTMLUnknownElement.callTheUserObjectsOperation (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
    at innerInvokeEventListeners (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
    at invokeEventListeners (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
    at HTMLUnknownElementImpl._dispatch (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
    at HTMLUnknownElementImpl.dispatchEvent (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
    at HTMLUnknownElement.dispatchEvent (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
    at Object.invokeGuardedCallbackDev (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:4213:16)
    at invokeGuardedCallback (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:4277:31)
    at invokeGuardedCallbackAndCatchFirstError (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:4291:25)
    at executeDispatch (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:9041:3)
    at processDispatchQueueItemsInOrder (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:9073:7)
    at processDispatchQueue (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:9086:5)
    at dispatchEventsForPlugins (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:9097:3)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:9288:12
    at batchedUpdates$1 (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:26140:12)
    at batchedUpdates (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:3991:12)
    at dispatchEventForPluginEventSystem (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:9287:3)
    at dispatchEventWithEnableCapturePhaseSelectiveHydrationWithoutDiscreteEventReplay (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:6465:5)
    at dispatchEvent (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:6457:5)
    at dispatchDiscreteEvent (/home/runner/work/ui-inventory/ui-inventory/node_modules/react-dom/cjs/react-dom.development.js:6430:5)
    at HTMLDivElement.callTheUserObjectsOperation (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
    at innerInvokeEventListeners (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
    at invokeEventListeners (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
    at HTMLAnchorElementImpl._dispatch (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
    at HTMLAnchorElementImpl.dispatchEvent (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
    at HTMLAnchorElement.dispatchEvent (/home/runner/work/ui-inventory/ui-inventory/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/events.js:19:20
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/pure.js:93:16
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/act-compat.js:47:24
    at act (/home/runner/work/ui-inventory/ui-inventory/node_modules/react/cjs/react.development.js:2512:16)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/act-compat.js:46:25
    at Object.eventWrapper (/home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/pure.js:92:28)
    at fireEvent (/home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/events.js:12:35)
    at Function.fireEvent.<computed> [as click] (/home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/events.js:110:36)
    at Function.fireEvent.<computed> [as click] (/home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/fire-event.js:15:52)
    at click (/home/runner/work/ui-inventory/ui-inventory/src/components/InstancesList/InstancesList.test.js:471:41)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/act-compat.js:47:24
    at act (/home/runner/work/ui-inventory/ui-inventory/node_modules/react/cjs/react.development.js:2512:16)
    at /home/runner/work/ui-inventory/ui-inventory/node_modules/@testing-library/react/dist/act-compat.js:46:25
    at Object.<anonymous> (/home/runner/work/ui-inventory/ui-inventory/src/components/InstancesList/InstancesList.test.js:471:18)

Check warning on line 0 in InstancesList rendering InstancesList with instances segment filters pane when the search option is changed should not change the URL in the onChangeIndex function

See this annotation in the file changed.

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

InstancesList rendering InstancesList with instances segment filters pane when the search option is changed should not change t…nstances segment filters pane when the search option is changed should not change the URL in the onChangeIndex function) failed

artifacts/jest-junit/junit.xml
Raw output
ReferenceError: indexRef is not defined
    at Object.indexRef (/home/runner/work/ui-inventory/ui-inventory/src/components/InstancesList/InstancesList.test.js:507:11)
    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 _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 InstancesList rendering InstancesList with instances segment when using advanced search should set advanced search query in search input

See this annotation in the file changed.

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

InstancesList rendering InstancesList with instances segment when using advanced search should set advanced search query in sea…dering InstancesList with instances segment when using advanced search should set advanced search query in search input) failed

artifacts/jest-junit/junit.xml
Raw output
ReferenceError: indexRef is not defined
    at Object.indexRef (/home/runner/work/ui-inventory/ui-inventory/src/components/InstancesList/InstancesList.test.js:532:9)
    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 _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 InstancesList rendering InstancesList with holdings segment should show Save Holdings UUIDs button

See this annotation in the file changed.

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

InstancesList rendering InstancesList with holdings segment should show Save Holdings UUIDs button (InstancesList rendering InstancesList with holdings segment should show Save Holdings UUIDs button) failed

artifacts/jest-junit/junit.xml
Raw output
ReferenceError: indexRef is not defined
    at Object.indexRef (/home/runner/work/ui-inventory/ui-inventory/src/components/InstancesList/InstancesList.test.js:548:7)
    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 _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)