UIREC-413 Add 'Mark late' action to the piece form action menu #1448
GitHub Actions / Jest Unit Test Results
failed
Dec 18, 2024 in 0s
3 fail, 2 skipped, 282 pass in 3m 31s
Annotations
github-actions / Jest Unit Test Results
getPieceActionMenus expect action should `onStatusChange` be called with `Expected` status value (getPieceActionMenus expect action should `onStatusChange` be called with `Expected` status value) failed
artifacts/jest-junit/junit.xml
Raw output
TypeError: onToggle is not a function
at Object.onToggle [as onClick] (/home/runner/work/ui-receiving/ui-receiving/src/Piece/PieceForm/PieceFormActionButtons/constants.js:87:9)
at Object.onClick (/home/runner/work/ui-receiving/ui-receiving/src/Piece/PieceForm/PieceFormActionButtons/utils.test.js:53:26)
at Promise.then.completed (/home/runner/work/ui-receiving/ui-receiving/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/ui-receiving/ui-receiving/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/ui-receiving/ui-receiving/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/ui-receiving/ui-receiving/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/ui-receiving/ui-receiving/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/ui-receiving/ui-receiving/node_modules/jest-circus/build/run.js:121:9)
at _runTestsForDescribeBlock (/home/runner/work/ui-receiving/ui-receiving/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/ui-receiving/ui-receiving/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/ui-receiving/ui-receiving/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/ui-receiving/ui-receiving/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/ui-receiving/ui-receiving/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/ui-receiving/ui-receiving/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/ui-receiving/ui-receiving/node_modules/jest-runner/build/testWorker.js:106:12)
github-actions / Jest Unit Test Results
getPieceActionMenus unReceive action should `onUnreceivePiece` be called with `Expected` status value (getPieceActionMenus unReceive action should `onUnreceivePiece` be called with `Expected` status value) failed
artifacts/jest-junit/junit.xml
Raw output
TypeError: onToggle is not a function
at Object.onToggle [as onClick] (/home/runner/work/ui-receiving/ui-receiving/src/Piece/PieceForm/PieceFormActionButtons/constants.js:147:9)
at Object.onClick (/home/runner/work/ui-receiving/ui-receiving/src/Piece/PieceForm/PieceFormActionButtons/utils.test.js:65:27)
at Promise.then.completed (/home/runner/work/ui-receiving/ui-receiving/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/ui-receiving/ui-receiving/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/ui-receiving/ui-receiving/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/ui-receiving/ui-receiving/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/ui-receiving/ui-receiving/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/ui-receiving/ui-receiving/node_modules/jest-circus/build/run.js:121:9)
at _runTestsForDescribeBlock (/home/runner/work/ui-receiving/ui-receiving/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/ui-receiving/ui-receiving/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/ui-receiving/ui-receiving/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/ui-receiving/ui-receiving/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/ui-receiving/ui-receiving/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/ui-receiving/ui-receiving/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/ui-receiving/ui-receiving/node_modules/jest-runner/build/testWorker.js:106:12)
github-actions / Jest Unit Test Results
getPieceActionMenus unReceivable action should `onStatusChange` be called with `Unreceivable` status value (getPieceActionMenus unReceivable action should `onStatusChange` be called with `Unreceivable` status value) failed
artifacts/jest-junit/junit.xml
Raw output
TypeError: onToggle is not a function
at Object.onToggle [as onClick] (/home/runner/work/ui-receiving/ui-receiving/src/Piece/PieceForm/PieceFormActionButtons/constants.js:162:9)
at Object.onClick (/home/runner/work/ui-receiving/ui-receiving/src/Piece/PieceForm/PieceFormActionButtons/utils.test.js:77:27)
at Promise.then.completed (/home/runner/work/ui-receiving/ui-receiving/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/ui-receiving/ui-receiving/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/ui-receiving/ui-receiving/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/ui-receiving/ui-receiving/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/ui-receiving/ui-receiving/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/ui-receiving/ui-receiving/node_modules/jest-circus/build/run.js:121:9)
at _runTestsForDescribeBlock (/home/runner/work/ui-receiving/ui-receiving/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/ui-receiving/ui-receiving/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/ui-receiving/ui-receiving/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/ui-receiving/ui-receiving/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/ui-receiving/ui-receiving/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/ui-receiving/ui-receiving/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/ui-receiving/ui-receiving/node_modules/jest-runner/build/testWorker.js:106:12)
Loading