Remove feature toggle functionality #3152
351 fail, 436 pass in 1m 26s
Annotations
github-actions / Jest Unit Test Results
RequesterInformation when "isFormEditing" returns false should render "scanOrEnterBarcode" placeholder (RequesterInformation when "isFormEditing" returns false should render "scanOrEnterBarcode" placeholder) failed
artifacts/jest-junit/junit.xml
Raw output
ReferenceError: document is not defined
at /home/runner/work/ui-requests/ui-requests/node_modules/nwsapi/src/nwsapi.js:215:21
at Factory (/home/runner/work/ui-requests/ui-requests/node_modules/nwsapi/src/nwsapi.js:245:6)
at initNwsapi (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
at exports.addNwsapi (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:38:24)
at HTMLBodyElementImpl.querySelectorAll (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/nodes/ParentNode-impl.js:77:21)
at HTMLBodyElement.querySelectorAll (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/generated/Element.js:1119:58)
at queryAllByAttribute (/home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:37:31)
at queryAllByPlaceholderText (/home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/queries/placeholder-text.js:12:44)
at /home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:74:17
at /home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:52:17
at /home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:95:19
at Object.getByPlaceholderText (/home/runner/work/ui-requests/ui-requests/src/components/RequesterInformation/RequesterInformation.test.js:124:52)
at Promise.then.completed (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:121:9)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/ui-requests/ui-requests/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/ui-requests/ui-requests/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/ui-requests/ui-requests/node_modules/jest-runner/build/testWorker.js:106:12)
github-actions / Jest Unit Test Results
RequesterInformation when "isFormEditing" returns false should render requester barcode label (RequesterInformation when "isFormEditing" returns false should render requester barcode label) failed
artifacts/jest-junit/junit.xml
Raw output
ReferenceError: document is not defined
at /home/runner/work/ui-requests/ui-requests/node_modules/nwsapi/src/nwsapi.js:215:21
at Factory (/home/runner/work/ui-requests/ui-requests/node_modules/nwsapi/src/nwsapi.js:245:6)
at initNwsapi (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
at exports.addNwsapi (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:38:24)
at HTMLBodyElementImpl.ElementImpl.matches (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/nodes/Element-impl.js:569:19)
at HTMLBodyElement.matches (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/generated/Element.js:655:34)
at queryAllByText (/home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/queries/text.js:26:60)
at /home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:74:17
at /home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:52:17
at /home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:95:19
at Object.getByText (/home/runner/work/ui-requests/ui-requests/src/components/RequesterInformation/RequesterInformation.test.js:130:44)
at Promise.then.completed (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:121:9)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/ui-requests/ui-requests/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/ui-requests/ui-requests/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/ui-requests/ui-requests/node_modules/jest-runner/build/testWorker.js:106:12)
github-actions / Jest Unit Test Results
RequesterInformation when "isFormEditing" returns false should trigger "findUser" when Enter key is pressed (RequesterInformation when "isFormEditing" returns false should trigger "findUser" when Enter key is pressed) failed
artifacts/jest-junit/junit.xml
Raw output
ReferenceError: document is not defined
at /home/runner/work/ui-requests/ui-requests/node_modules/nwsapi/src/nwsapi.js:215:21
at Factory (/home/runner/work/ui-requests/ui-requests/node_modules/nwsapi/src/nwsapi.js:245:6)
at initNwsapi (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
at exports.addNwsapi (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:38:24)
at HTMLBodyElementImpl.querySelectorAll (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/nodes/ParentNode-impl.js:77:21)
at HTMLBodyElement.querySelectorAll (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/generated/Element.js:1119:58)
at queryAllByAttribute (/home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:37:31)
at queryAllByTestId (/home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/queries/test-id.js:13:44)
at /home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:74:17
at /home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:52:17
at /home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:95:19
at Object.getByTestId (/home/runner/work/ui-requests/ui-requests/src/components/RequesterInformation/RequesterInformation.test.js:146:44)
at Promise.then.completed (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:121:9)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/ui-requests/ui-requests/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/ui-requests/ui-requests/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/ui-requests/ui-requests/node_modules/jest-runner/build/testWorker.js:106:12)
github-actions / Jest Unit Test Results
RequesterInformation when "isFormEditing" returns false should not trigger "findUser" when Control key is pressed (RequesterInformation when "isFormEditing" returns false should not trigger "findUser" when Control key is pressed) failed
artifacts/jest-junit/junit.xml
Raw output
ReferenceError: document is not defined
at /home/runner/work/ui-requests/ui-requests/node_modules/nwsapi/src/nwsapi.js:215:21
at Factory (/home/runner/work/ui-requests/ui-requests/node_modules/nwsapi/src/nwsapi.js:245:6)
at initNwsapi (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
at exports.addNwsapi (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:38:24)
at HTMLBodyElementImpl.querySelectorAll (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/nodes/ParentNode-impl.js:77:21)
at HTMLBodyElement.querySelectorAll (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/generated/Element.js:1119:58)
at queryAllByAttribute (/home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:37:31)
at queryAllByTestId (/home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/queries/test-id.js:13:44)
at /home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:74:17
at /home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:52:17
at /home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:95:19
at Object.getByTestId (/home/runner/work/ui-requests/ui-requests/src/components/RequesterInformation/RequesterInformation.test.js:154:44)
at Promise.then.completed (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:121:9)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/ui-requests/ui-requests/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/ui-requests/ui-requests/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/ui-requests/ui-requests/node_modules/jest-runner/build/testWorker.js:106:12)
github-actions / Jest Unit Test Results
RequesterInformation when "isFormEditing" returns false should trigger "form.change" with correct arguments (RequesterInformation when "isFormEditing" returns false should trigger "form.change" with correct arguments) failed
artifacts/jest-junit/junit.xml
Raw output
ReferenceError: document is not defined
at /home/runner/work/ui-requests/ui-requests/node_modules/nwsapi/src/nwsapi.js:215:21
at Factory (/home/runner/work/ui-requests/ui-requests/node_modules/nwsapi/src/nwsapi.js:245:6)
at initNwsapi (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
at exports.addNwsapi (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:38:24)
at HTMLBodyElementImpl.querySelectorAll (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/nodes/ParentNode-impl.js:77:21)
at HTMLBodyElement.querySelectorAll (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/generated/Element.js:1119:58)
at queryAllByAttribute (/home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:37:31)
at queryAllByTestId (/home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/queries/test-id.js:13:44)
at /home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:74:17
at /home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:52:17
at /home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:95:19
at Object.getByTestId (/home/runner/work/ui-requests/ui-requests/src/components/RequesterInformation/RequesterInformation.test.js:162:44)
at Promise.then.completed (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:121:9)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/ui-requests/ui-requests/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/ui-requests/ui-requests/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/ui-requests/ui-requests/node_modules/jest-runner/build/testWorker.js:106:12)
github-actions / Jest Unit Test Results
RequesterInformation when "isFormEditing" returns false should render "TextField" with validation error (RequesterInformation when "isFormEditing" returns false should render "TextField" with validation error) failed
artifacts/jest-junit/junit.xml
Raw output
ReferenceError: document is not defined
at /home/runner/work/ui-requests/ui-requests/node_modules/nwsapi/src/nwsapi.js:215:21
at Factory (/home/runner/work/ui-requests/ui-requests/node_modules/nwsapi/src/nwsapi.js:245:6)
at initNwsapi (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
at exports.addNwsapi (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:38:24)
at HTMLBodyElementImpl.querySelectorAll (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/nodes/ParentNode-impl.js:77:21)
at HTMLBodyElement.querySelectorAll (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/generated/Element.js:1119:58)
at queryAllByAttribute (/home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:37:31)
at queryAllByTestId (/home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/queries/test-id.js:13:44)
at /home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:74:17
at /home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:52:17
at /home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:95:19
at Object.getByTestId (/home/runner/work/ui-requests/ui-requests/src/components/RequesterInformation/RequesterInformation.test.js:175:44)
at Promise.then.completed (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:121:9)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/ui-requests/ui-requests/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/ui-requests/ui-requests/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/ui-requests/ui-requests/node_modules/jest-runner/build/testWorker.js:106:12)
github-actions / Jest Unit Test Results
RequesterInformation when "isFormEditing" returns false should render "Enter" button (RequesterInformation when "isFormEditing" returns false should render "Enter" button) failed
artifacts/jest-junit/junit.xml
Raw output
ReferenceError: document is not defined
at /home/runner/work/ui-requests/ui-requests/node_modules/nwsapi/src/nwsapi.js:215:21
at Factory (/home/runner/work/ui-requests/ui-requests/node_modules/nwsapi/src/nwsapi.js:245:6)
at initNwsapi (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
at exports.addNwsapi (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:38:24)
at HTMLBodyElementImpl.ElementImpl.matches (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/nodes/Element-impl.js:569:19)
at HTMLBodyElement.matches (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/generated/Element.js:655:34)
at queryAllByText (/home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/queries/text.js:26:60)
at /home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:74:17
at /home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:52:17
at /home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:95:19
at Object.getByText (/home/runner/work/ui-requests/ui-requests/src/components/RequesterInformation/RequesterInformation.test.js:208:34)
at Promise.then.completed (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:121:9)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/ui-requests/ui-requests/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/ui-requests/ui-requests/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/ui-requests/ui-requests/node_modules/jest-runner/build/testWorker.js:106:12)
github-actions / Jest Unit Test Results
RequesterInformation when "isFormEditing" returns false should trigger "onSetSelectedUser" with correct argument (RequesterInformation when "isFormEditing" returns false should trigger "onSetSelectedUser" with correct argument) failed
artifacts/jest-junit/junit.xml
Raw output
ReferenceError: document is not defined
at /home/runner/work/ui-requests/ui-requests/node_modules/nwsapi/src/nwsapi.js:215:21
at Factory (/home/runner/work/ui-requests/ui-requests/node_modules/nwsapi/src/nwsapi.js:245:6)
at initNwsapi (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
at exports.addNwsapi (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:38:24)
at HTMLBodyElementImpl.ElementImpl.matches (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/nodes/Element-impl.js:569:19)
at HTMLBodyElement.matches (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/generated/Element.js:655:34)
at queryAllByText (/home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/queries/text.js:26:60)
at /home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:74:17
at /home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:52:17
at /home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:95:19
at Object.getByText (/home/runner/work/ui-requests/ui-requests/src/components/RequesterInformation/RequesterInformation.test.js:214:34)
at Promise.then.completed (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:121:9)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/ui-requests/ui-requests/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/ui-requests/ui-requests/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/ui-requests/ui-requests/node_modules/jest-runner/build/testWorker.js:106:12)
github-actions / Jest Unit Test Results
RequesterInformation when "isFormEditing" returns false should trigger "findUser" with correct arguments (RequesterInformation when "isFormEditing" returns false should trigger "findUser" with correct arguments) failed
artifacts/jest-junit/junit.xml
Raw output
ReferenceError: document is not defined
at /home/runner/work/ui-requests/ui-requests/node_modules/nwsapi/src/nwsapi.js:215:21
at Factory (/home/runner/work/ui-requests/ui-requests/node_modules/nwsapi/src/nwsapi.js:245:6)
at initNwsapi (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
at exports.addNwsapi (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:38:24)
at HTMLBodyElementImpl.ElementImpl.matches (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/nodes/Element-impl.js:569:19)
at HTMLBodyElement.matches (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/generated/Element.js:655:34)
at queryAllByText (/home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/queries/text.js:26:60)
at /home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:74:17
at /home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:52:17
at /home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:95:19
at Object.getByText (/home/runner/work/ui-requests/ui-requests/src/components/RequesterInformation/RequesterInformation.test.js:222:34)
at Promise.then.completed (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:121:9)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/ui-requests/ui-requests/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/ui-requests/ui-requests/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/ui-requests/ui-requests/node_modules/jest-runner/build/testWorker.js:106:12)
github-actions / Jest Unit Test Results
RequesterInformation Validation when "barcode" is not presented should not render error message (RequesterInformation Validation when "barcode" is not presented should not render error message) failed
artifacts/jest-junit/junit.xml
Raw output
ReferenceError: document is not defined
at /home/runner/work/ui-requests/ui-requests/node_modules/nwsapi/src/nwsapi.js:215:21
at Factory (/home/runner/work/ui-requests/ui-requests/node_modules/nwsapi/src/nwsapi.js:245:6)
at initNwsapi (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
at exports.addNwsapi (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:38:24)
at HTMLBodyElementImpl.querySelectorAll (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/nodes/ParentNode-impl.js:77:21)
at HTMLBodyElement.querySelectorAll (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/generated/Element.js:1119:58)
at queryAllByAttribute (/home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:37:31)
at queryAllByTestId (/home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/queries/test-id.js:13:44)
at /home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:74:17
at /home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:52:17
at /home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:95:19
at Object.getByTestId (/home/runner/work/ui-requests/ui-requests/src/components/RequesterInformation/RequesterInformation.test.js:336:46)
at Promise.then.completed (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:121:9)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:121:9)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/ui-requests/ui-requests/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/ui-requests/ui-requests/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/ui-requests/ui-requests/node_modules/jest-runner/build/testWorker.js:106:12)
github-actions / Jest Unit Test Results
RequesterInformation Validation when "barcode" is not presented should render "selectUser" error message (RequesterInformation Validation when "barcode" is not presented should render "selectUser" error message) failed
artifacts/jest-junit/junit.xml
Raw output
ReferenceError: document is not defined
at /home/runner/work/ui-requests/ui-requests/node_modules/nwsapi/src/nwsapi.js:215:21
at Factory (/home/runner/work/ui-requests/ui-requests/node_modules/nwsapi/src/nwsapi.js:245:6)
at initNwsapi (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
at exports.addNwsapi (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:38:24)
at HTMLBodyElementImpl.querySelectorAll (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/nodes/ParentNode-impl.js:77:21)
at HTMLBodyElement.querySelectorAll (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/generated/Element.js:1119:58)
at queryAllByAttribute (/home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:37:31)
at queryAllByTestId (/home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/queries/test-id.js:13:44)
at /home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:74:17
at /home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:52:17
at /home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:95:19
at Object.getByTestId (/home/runner/work/ui-requests/ui-requests/src/components/RequesterInformation/RequesterInformation.test.js:354:46)
at Promise.then.completed (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:121:9)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:121:9)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/ui-requests/ui-requests/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/ui-requests/ui-requests/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/ui-requests/ui-requests/node_modules/jest-runner/build/testWorker.js:106:12)
github-actions / Jest Unit Test Results
RequesterInformation Validation when "barcode" is presented should not render error message (RequesterInformation Validation when "barcode" is presented should not render error message) failed
artifacts/jest-junit/junit.xml
Raw output
ReferenceError: document is not defined
at /home/runner/work/ui-requests/ui-requests/node_modules/nwsapi/src/nwsapi.js:215:21
at Factory (/home/runner/work/ui-requests/ui-requests/node_modules/nwsapi/src/nwsapi.js:245:6)
at initNwsapi (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
at exports.addNwsapi (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:38:24)
at HTMLBodyElementImpl.querySelectorAll (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/nodes/ParentNode-impl.js:77:21)
at HTMLBodyElement.querySelectorAll (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/generated/Element.js:1119:58)
at queryAllByAttribute (/home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:37:31)
at queryAllByTestId (/home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/queries/test-id.js:13:44)
at /home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:74:17
at /home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:52:17
at /home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:95:19
at Object.getByTestId (/home/runner/work/ui-requests/ui-requests/src/components/RequesterInformation/RequesterInformation.test.js:382:46)
at Promise.then.completed (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:121:9)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:121:9)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/ui-requests/ui-requests/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/ui-requests/ui-requests/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/ui-requests/ui-requests/node_modules/jest-runner/build/testWorker.js:106:12)
github-actions / Jest Unit Test Results
RequesterInformation Validation when "barcode" is presented should render "userBarcodeDoesNotExist" error message (RequesterInformation Validation when "barcode" is presented should render "userBarcodeDoesNotExist" error message) failed
artifacts/jest-junit/junit.xml
Raw output
ReferenceError: document is not defined
at /home/runner/work/ui-requests/ui-requests/node_modules/nwsapi/src/nwsapi.js:215:21
at Factory (/home/runner/work/ui-requests/ui-requests/node_modules/nwsapi/src/nwsapi.js:245:6)
at initNwsapi (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
at exports.addNwsapi (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:38:24)
at HTMLBodyElementImpl.querySelectorAll (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/nodes/ParentNode-impl.js:77:21)
at HTMLBodyElement.querySelectorAll (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/generated/Element.js:1119:58)
at queryAllByAttribute (/home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:37:31)
at queryAllByTestId (/home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/queries/test-id.js:13:44)
at /home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:74:17
at /home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:52:17
at /home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:95:19
at Object.getByTestId (/home/runner/work/ui-requests/ui-requests/src/components/RequesterInformation/RequesterInformation.test.js:394:46)
at Promise.then.completed (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:121:9)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:121:9)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/ui-requests/ui-requests/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/ui-requests/ui-requests/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/ui-requests/ui-requests/node_modules/jest-runner/build/testWorker.js:106:12)
github-actions / Jest Unit Test Results
RequesterInformation Validation when "barcode" is presented should not render error message if requester found (RequesterInformation Validation when "barcode" is presented should not render error message if requester found) failed
artifacts/jest-junit/junit.xml
Raw output
ReferenceError: document is not defined
at /home/runner/work/ui-requests/ui-requests/node_modules/nwsapi/src/nwsapi.js:215:21
at Factory (/home/runner/work/ui-requests/ui-requests/node_modules/nwsapi/src/nwsapi.js:245:6)
at initNwsapi (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
at exports.addNwsapi (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:38:24)
at HTMLBodyElementImpl.querySelectorAll (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/nodes/ParentNode-impl.js:77:21)
at HTMLBodyElement.querySelectorAll (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/generated/Element.js:1119:58)
at queryAllByAttribute (/home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:37:31)
at queryAllByTestId (/home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/queries/test-id.js:13:44)
at /home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:74:17
at /home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:52:17
at /home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:95:19
at Object.getByTestId (/home/runner/work/ui-requests/ui-requests/src/components/RequesterInformation/RequesterInformation.test.js:409:46)
at Promise.then.completed (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:121:9)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:121:9)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/ui-requests/ui-requests/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/ui-requests/ui-requests/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/ui-requests/ui-requests/node_modules/jest-runner/build/testWorker.js:106:12)
github-actions / Jest Unit Test Results
RequesterInformation handleBlur should trigger "input.onBlur" if requester barcode is presented (RequesterInformation handleBlur should trigger "input.onBlur" if requester barcode is presented) failed
artifacts/jest-junit/junit.xml
Raw output
ReferenceError: document is not defined
at /home/runner/work/ui-requests/ui-requests/node_modules/nwsapi/src/nwsapi.js:215:21
at Factory (/home/runner/work/ui-requests/ui-requests/node_modules/nwsapi/src/nwsapi.js:245:6)
at initNwsapi (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
at exports.addNwsapi (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:38:24)
at HTMLBodyElementImpl.querySelectorAll (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/nodes/ParentNode-impl.js:77:21)
at HTMLBodyElement.querySelectorAll (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/generated/Element.js:1119:58)
at queryAllByAttribute (/home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:37:31)
at queryAllByTestId (/home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/queries/test-id.js:13:44)
at /home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:74:17
at /home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:52:17
at /home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:95:19
at Object.getByTestId (/home/runner/work/ui-requests/ui-requests/src/components/RequesterInformation/RequesterInformation.test.js:433:44)
at Promise.then.completed (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:121:9)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/ui-requests/ui-requests/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/ui-requests/ui-requests/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/ui-requests/ui-requests/node_modules/jest-runner/build/testWorker.js:106:12)
github-actions / Jest Unit Test Results
RequesterInformation handleBlur should trigger "input.onBlur" if there is no requester barcode (RequesterInformation handleBlur should trigger "input.onBlur" if there is no requester barcode) failed
artifacts/jest-junit/junit.xml
Raw output
ReferenceError: document is not defined
at /home/runner/work/ui-requests/ui-requests/node_modules/nwsapi/src/nwsapi.js:215:21
at Factory (/home/runner/work/ui-requests/ui-requests/node_modules/nwsapi/src/nwsapi.js:245:6)
at initNwsapi (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
at exports.addNwsapi (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:38:24)
at HTMLBodyElementImpl.querySelectorAll (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/nodes/ParentNode-impl.js:77:21)
at HTMLBodyElement.querySelectorAll (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/generated/Element.js:1119:58)
at queryAllByAttribute (/home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:37:31)
at queryAllByTestId (/home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/queries/test-id.js:13:44)
at /home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:74:17
at /home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:52:17
at /home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:95:19
at Object.getByTestId (/home/runner/work/ui-requests/ui-requests/src/components/RequesterInformation/RequesterInformation.test.js:464:44)
at Promise.then.completed (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:121:9)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/ui-requests/ui-requests/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/ui-requests/ui-requests/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/ui-requests/ui-requests/node_modules/jest-runner/build/testWorker.js:106:12)
github-actions / Jest Unit Test Results
RequesterInformation handleBlur should not trigger "input.onBlur" if requester barcode was validated previously (RequesterInformation handleBlur should not trigger "input.onBlur" if requester barcode was validated previously) failed
artifacts/jest-junit/junit.xml
Raw output
ReferenceError: document is not defined
at /home/runner/work/ui-requests/ui-requests/node_modules/nwsapi/src/nwsapi.js:215:21
at Factory (/home/runner/work/ui-requests/ui-requests/node_modules/nwsapi/src/nwsapi.js:245:6)
at initNwsapi (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
at exports.addNwsapi (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:38:24)
at HTMLBodyElementImpl.querySelectorAll (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/nodes/ParentNode-impl.js:77:21)
at HTMLBodyElement.querySelectorAll (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/generated/Element.js:1119:58)
at queryAllByAttribute (/home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:37:31)
at queryAllByTestId (/home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/queries/test-id.js:13:44)
at /home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:74:17
at /home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:52:17
at /home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:95:19
at Object.getByTestId (/home/runner/work/ui-requests/ui-requests/src/components/RequesterInformation/RequesterInformation.test.js:475:44)
at Promise.then.completed (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:121:9)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/ui-requests/ui-requests/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/ui-requests/ui-requests/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/ui-requests/ui-requests/node_modules/jest-runner/build/testWorker.js:106:12)
github-actions / Jest Unit Test Results
RequesterInformation Pluggable when user is not presented should render user lookup plugin label (RequesterInformation Pluggable when user is not presented should render user lookup plugin label) failed
artifacts/jest-junit/junit.xml
Raw output
ReferenceError: document is not defined
at /home/runner/work/ui-requests/ui-requests/node_modules/nwsapi/src/nwsapi.js:215:21
at Factory (/home/runner/work/ui-requests/ui-requests/node_modules/nwsapi/src/nwsapi.js:245:6)
at initNwsapi (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
at exports.addNwsapi (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:38:24)
at HTMLBodyElementImpl.ElementImpl.matches (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/nodes/Element-impl.js:569:19)
at HTMLBodyElement.matches (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/generated/Element.js:655:34)
at queryAllByText (/home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/queries/text.js:26:60)
at /home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:74:17
at /home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:52:17
at /home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:95:19
at Object.getByText (/home/runner/work/ui-requests/ui-requests/src/components/RequesterInformation/RequesterInformation.test.js:501:44)
at Promise.then.completed (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:121:9)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:121:9)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/ui-requests/ui-requests/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/ui-requests/ui-requests/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/ui-requests/ui-requests/node_modules/jest-runner/build/testWorker.js:106:12)
github-actions / Jest Unit Test Results
RequesterInformation Pluggable when user is not presented should not trigger "onSetSelectedUser" (RequesterInformation Pluggable when user is not presented should not trigger "onSetSelectedUser") failed
artifacts/jest-junit/junit.xml
Raw output
ReferenceError: document is not defined
at /home/runner/work/ui-requests/ui-requests/node_modules/nwsapi/src/nwsapi.js:215:21
at Factory (/home/runner/work/ui-requests/ui-requests/node_modules/nwsapi/src/nwsapi.js:245:6)
at initNwsapi (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
at exports.addNwsapi (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:38:24)
at HTMLBodyElementImpl.ElementImpl.matches (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/nodes/Element-impl.js:569:19)
at HTMLBodyElement.matches (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/generated/Element.js:655:34)
at queryAllByText (/home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/queries/text.js:26:60)
at /home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:74:17
at /home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:52:17
at /home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:95:19
at Object.getByText (/home/runner/work/ui-requests/ui-requests/src/components/RequesterInformation/RequesterInformation.test.js:524:37)
at Promise.then.completed (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:121:9)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:121:9)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/ui-requests/ui-requests/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/ui-requests/ui-requests/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/ui-requests/ui-requests/node_modules/jest-runner/build/testWorker.js:106:12)
github-actions / Jest Unit Test Results
RequesterInformation Pluggable when user has a barcode should trigger "onSetSelectedUser" with correct argument (RequesterInformation Pluggable when user has a barcode should trigger "onSetSelectedUser" with correct argument) failed
artifacts/jest-junit/junit.xml
Raw output
ReferenceError: document is not defined
at /home/runner/work/ui-requests/ui-requests/node_modules/nwsapi/src/nwsapi.js:215:21
at Factory (/home/runner/work/ui-requests/ui-requests/node_modules/nwsapi/src/nwsapi.js:245:6)
at initNwsapi (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
at exports.addNwsapi (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:38:24)
at HTMLBodyElementImpl.querySelectorAll (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/nodes/ParentNode-impl.js:77:21)
at HTMLBodyElement.querySelectorAll (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/generated/Element.js:1119:58)
at queryAllByAttribute (/home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:37:31)
at queryAllByTestId (/home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/queries/test-id.js:13:44)
at /home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:74:17
at /home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:52:17
at /home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:95:19
at Object.getByTestId (/home/runner/work/ui-requests/ui-requests/src/components/RequesterInformation/RequesterInformation.test.js:556:37)
at Promise.then.completed (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusHook (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:281:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:246:5)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:121:9)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:121:9)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/ui-requests/ui-requests/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/ui-requests/ui-requests/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/ui-requests/ui-requests/node_modules/jest-runner/build/testWorker.js:106:12)
github-actions / Jest Unit Test Results
RequesterInformation Pluggable when user has a barcode should trigger "findUser" with correct arguments (RequesterInformation Pluggable when user has a barcode should trigger "findUser" with correct arguments) failed
artifacts/jest-junit/junit.xml
Raw output
ReferenceError: document is not defined
at /home/runner/work/ui-requests/ui-requests/node_modules/nwsapi/src/nwsapi.js:215:21
at Factory (/home/runner/work/ui-requests/ui-requests/node_modules/nwsapi/src/nwsapi.js:245:6)
at initNwsapi (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
at exports.addNwsapi (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:38:24)
at HTMLBodyElementImpl.querySelectorAll (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/nodes/ParentNode-impl.js:77:21)
at HTMLBodyElement.querySelectorAll (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/generated/Element.js:1119:58)
at queryAllByAttribute (/home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:37:31)
at queryAllByTestId (/home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/queries/test-id.js:13:44)
at /home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:74:17
at /home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:52:17
at /home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:95:19
at Object.getByTestId (/home/runner/work/ui-requests/ui-requests/src/components/RequesterInformation/RequesterInformation.test.js:556:37)
at Promise.then.completed (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusHook (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:281:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:246:5)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:121:9)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:121:9)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/ui-requests/ui-requests/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/ui-requests/ui-requests/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/ui-requests/ui-requests/node_modules/jest-runner/build/testWorker.js:106:12)
github-actions / Jest Unit Test Results
RequesterInformation Pluggable when user does not have a barcode should trigger "onSetSelectedUser" with correct argument (RequesterInformation Pluggable when user does not have a barcode should trigger "onSetSelectedUser" with correct argument) failed
artifacts/jest-junit/junit.xml
Raw output
ReferenceError: document is not defined
at /home/runner/work/ui-requests/ui-requests/node_modules/nwsapi/src/nwsapi.js:215:21
at Factory (/home/runner/work/ui-requests/ui-requests/node_modules/nwsapi/src/nwsapi.js:245:6)
at initNwsapi (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
at exports.addNwsapi (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:38:24)
at HTMLBodyElementImpl.querySelectorAll (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/nodes/ParentNode-impl.js:77:21)
at HTMLBodyElement.querySelectorAll (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/generated/Element.js:1119:58)
at queryAllByAttribute (/home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:37:31)
at queryAllByTestId (/home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/queries/test-id.js:13:44)
at /home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:74:17
at /home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:52:17
at /home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:95:19
at Object.getByTestId (/home/runner/work/ui-requests/ui-requests/src/components/RequesterInformation/RequesterInformation.test.js:596:37)
at Promise.then.completed (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusHook (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:281:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:246:5)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:121:9)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:121:9)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/ui-requests/ui-requests/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/ui-requests/ui-requests/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/ui-requests/ui-requests/node_modules/jest-runner/build/testWorker.js:106:12)
github-actions / Jest Unit Test Results
RequesterInformation Pluggable when user does not have a barcode should trigger "findUser" with correct arguments (RequesterInformation Pluggable when user does not have a barcode should trigger "findUser" with correct arguments) failed
artifacts/jest-junit/junit.xml
Raw output
ReferenceError: document is not defined
at /home/runner/work/ui-requests/ui-requests/node_modules/nwsapi/src/nwsapi.js:215:21
at Factory (/home/runner/work/ui-requests/ui-requests/node_modules/nwsapi/src/nwsapi.js:245:6)
at initNwsapi (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
at exports.addNwsapi (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:38:24)
at HTMLBodyElementImpl.querySelectorAll (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/nodes/ParentNode-impl.js:77:21)
at HTMLBodyElement.querySelectorAll (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/generated/Element.js:1119:58)
at queryAllByAttribute (/home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:37:31)
at queryAllByTestId (/home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/queries/test-id.js:13:44)
at /home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:74:17
at /home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:52:17
at /home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:95:19
at Object.getByTestId (/home/runner/work/ui-requests/ui-requests/src/components/RequesterInformation/RequesterInformation.test.js:596:37)
at Promise.then.completed (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusHook (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:281:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:246:5)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:121:9)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:121:9)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/ui-requests/ui-requests/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/ui-requests/ui-requests/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/ui-requests/ui-requests/node_modules/jest-runner/build/testWorker.js:106:12)
Check warning on line 0 in ViewRequest Non DCB Transactions should render request detail title
github-actions / Jest Unit Test Results
ViewRequest Non DCB Transactions should render request detail title (ViewRequest Non DCB Transactions should render request detail title) failed
artifacts/jest-junit/junit.xml
Raw output
ReferenceError: document is not defined
at /home/runner/work/ui-requests/ui-requests/node_modules/nwsapi/src/nwsapi.js:215:21
at Factory (/home/runner/work/ui-requests/ui-requests/node_modules/nwsapi/src/nwsapi.js:245:6)
at initNwsapi (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
at exports.addNwsapi (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:38:24)
at HTMLBodyElementImpl.ElementImpl.matches (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/nodes/Element-impl.js:569:19)
at HTMLBodyElement.matches (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/generated/Element.js:655:34)
at queryAllByText (/home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/queries/text.js:26:60)
at /home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:74:17
at /home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:52:17
at /home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:95:19
at Object.getByText (/home/runner/work/ui-requests/ui-requests/src/ViewRequest.test.js:176:21)
at Promise.then.completed (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:121:9)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/ui-requests/ui-requests/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/ui-requests/ui-requests/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/ui-requests/ui-requests/node_modules/jest-runner/build/testWorker.js:106:12)
github-actions / Jest Unit Test Results
ViewRequest Non DCB Transactions when not working with request editing when current request is closed request is valid TLR in e…ng with request editing when current request is closed request is valid TLR in enabled should render "Duplicate" button) failed
artifacts/jest-junit/junit.xml
Raw output
ReferenceError: document is not defined
at /home/runner/work/ui-requests/ui-requests/node_modules/nwsapi/src/nwsapi.js:215:21
at Factory (/home/runner/work/ui-requests/ui-requests/node_modules/nwsapi/src/nwsapi.js:245:6)
at initNwsapi (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
at exports.addNwsapi (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:38:24)
at HTMLBodyElementImpl.ElementImpl.matches (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/nodes/Element-impl.js:569:19)
at HTMLBodyElement.matches (/home/runner/work/ui-requests/ui-requests/node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/living/generated/Element.js:655:34)
at queryAllByText (/home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/queries/text.js:26:60)
at /home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:74:17
at /home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:52:17
at /home/runner/work/ui-requests/ui-requests/node_modules/@testing-library/react/node_modules/@testing-library/dom/dist/query-helpers.js:95:19
at Object.getByText (/home/runner/work/ui-requests/ui-requests/src/ViewRequest.test.js:214:29)
at Promise.then.completed (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:121:9)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:121:9)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:121:9)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:121:9)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:121:9)
at _runTestsForDescribeBlock (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/ui-requests/ui-requests/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/ui-requests/ui-requests/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/ui-requests/ui-requests/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/ui-requests/ui-requests/node_modules/jest-runner/build/testWorker.js:106:12)