UISACQCOMP-194 fix tests (#787) #1130
6 fail, 2 skipped, 512 pass in 3m 45s
Annotations
Check warning on line 0 in FieldHolding component should display label
github-actions / Jest Unit Test Results
FieldHolding component should display label (FieldHolding component should display label) failed
artifacts/jest-junit/junit.xml
Raw output
TypeError: Cannot read properties of undefined (reading 'permanentLocationId')
at onChange (/home/runner/work/stripes-acq-components/stripes-acq-components/lib/FieldHolding/FieldHolding.js:92:67)
at Selection (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@folio/stripes-components/lib/Selection/Selection.js:166:7)
at renderWithHooks (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:15486:18)
at mountIndeterminateComponent (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:20103:13)
at beginWork (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:21626:16)
at beginWork$1 (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:27465:14)
at performUnitOfWork (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:26599:12)
at workLoopSync (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:26505:5)
at renderRootSync (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:26473:7)
at performSyncWorkOnRoot (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:26124:20)
at flushSyncCallbacks (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:12042:22)
at flushSync (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:26240:7)
at legacyCreateRootFromDOMContainer (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:29614:5)
at legacyRenderSubtreeIntoContainer (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:29640:12)
at Object.render (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:29731:10)
at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/react/dist/pure.js:101:25
at act (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react/cjs/react.development.js:2512:16)
at actWithWarning (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom-test-utils.development.js:1740:10)
at render (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/react/dist/pure.js:97:26)
at renderFieldHolding (/home/runner/work/stripes-acq-components/stripes-acq-components/lib/FieldHolding/FieldHolding.test.js:34:67)
at Object.<anonymous> (/home/runner/work/stripes-acq-components/stripes-acq-components/lib/FieldHolding/FieldHolding.test.js:55:27)
at Object.asyncJestTest (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37)
at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:45:12
at new Promise (<anonymous>)
at mapper (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:28:19)
at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:75:41
at processTicksAndRejections (node:internal/process/task_queues:95:5)
Check warning on line 0 in FieldHolding component should render holding options
github-actions / Jest Unit Test Results
FieldHolding component should render holding options (FieldHolding component should render holding options) failed
artifacts/jest-junit/junit.xml
Raw output
TypeError: Cannot read properties of undefined (reading 'permanentLocationId')
at onChange (/home/runner/work/stripes-acq-components/stripes-acq-components/lib/FieldHolding/FieldHolding.js:92:67)
at Selection (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@folio/stripes-components/lib/Selection/Selection.js:166:7)
at renderWithHooks (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:15486:18)
at mountIndeterminateComponent (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:20103:13)
at beginWork (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:21626:16)
at beginWork$1 (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:27465:14)
at performUnitOfWork (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:26599:12)
at workLoopSync (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:26505:5)
at renderRootSync (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:26473:7)
at performSyncWorkOnRoot (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:26124:20)
at flushSyncCallbacks (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:12042:22)
at flushSync (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:26240:7)
at legacyCreateRootFromDOMContainer (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:29614:5)
at legacyRenderSubtreeIntoContainer (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:29640:12)
at Object.render (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:29731:10)
at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/react/dist/pure.js:101:25
at act (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react/cjs/react.development.js:2512:16)
at actWithWarning (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom-test-utils.development.js:1740:10)
at render (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/react/dist/pure.js:97:26)
at renderFieldHolding (/home/runner/work/stripes-acq-components/stripes-acq-components/lib/FieldHolding/FieldHolding.test.js:34:67)
at _callee$ (/home/runner/work/stripes-acq-components/stripes-acq-components/lib/FieldHolding/FieldHolding.test.js:61:31)
at tryCatch (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
at Generator.<anonymous> (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
at Generator.next (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
at asyncGeneratorStep (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
at _next (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:7
at new Promise (<anonymous>)
at Object.<anonymous> (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/asyncToGenerator.js:14:12)
at Object.asyncJestTest (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37)
at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:45:12
at new Promise (<anonymous>)
at mapper (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:28:19)
at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:75:41
at processTicksAndRejections (node:internal/process/task_queues:95:5)
Check warning on line 0 in FieldHolding component should not render find location plugin button
github-actions / Jest Unit Test Results
FieldHolding component should not render find location plugin button (FieldHolding component should not render find location plugin button) failed
artifacts/jest-junit/junit.xml
Raw output
TypeError: Cannot read properties of undefined (reading 'permanentLocationId')
at onChange (/home/runner/work/stripes-acq-components/stripes-acq-components/lib/FieldHolding/FieldHolding.js:92:67)
at Selection (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@folio/stripes-components/lib/Selection/Selection.js:166:7)
at renderWithHooks (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:15486:18)
at mountIndeterminateComponent (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:20103:13)
at beginWork (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:21626:16)
at beginWork$1 (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:27465:14)
at performUnitOfWork (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:26599:12)
at workLoopSync (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:26505:5)
at renderRootSync (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:26473:7)
at performSyncWorkOnRoot (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:26124:20)
at flushSyncCallbacks (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:12042:22)
at flushSync (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:26240:7)
at legacyCreateRootFromDOMContainer (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:29614:5)
at legacyRenderSubtreeIntoContainer (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:29640:12)
at Object.render (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:29731:10)
at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/react/dist/pure.js:101:25
at act (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react/cjs/react.development.js:2512:16)
at actWithWarning (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom-test-utils.development.js:1740:10)
at render (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/react/dist/pure.js:97:26)
at renderFieldHolding (/home/runner/work/stripes-acq-components/stripes-acq-components/lib/FieldHolding/FieldHolding.test.js:34:67)
at Object.<anonymous> (/home/runner/work/stripes-acq-components/stripes-acq-components/lib/FieldHolding/FieldHolding.test.js:69:29)
at Object.asyncJestTest (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37)
at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:45:12
at new Promise (<anonymous>)
at mapper (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:28:19)
at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:75:41
at processTicksAndRejections (node:internal/process/task_queues:95:5)
Check warning on line 0 in FieldHolding component should be required
github-actions / Jest Unit Test Results
FieldHolding component should be required (FieldHolding component should be required) failed
artifacts/jest-junit/junit.xml
Raw output
TypeError: Cannot read properties of undefined (reading 'permanentLocationId')
at onChange (/home/runner/work/stripes-acq-components/stripes-acq-components/lib/FieldHolding/FieldHolding.js:92:67)
at Selection (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@folio/stripes-components/lib/Selection/Selection.js:166:7)
at renderWithHooks (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:15486:18)
at mountIndeterminateComponent (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:20103:13)
at beginWork (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:21626:16)
at beginWork$1 (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:27465:14)
at performUnitOfWork (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:26599:12)
at workLoopSync (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:26505:5)
at renderRootSync (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:26473:7)
at performSyncWorkOnRoot (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:26124:20)
at flushSyncCallbacks (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:12042:22)
at flushSync (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:26240:7)
at legacyCreateRootFromDOMContainer (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:29614:5)
at legacyRenderSubtreeIntoContainer (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:29640:12)
at Object.render (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:29731:10)
at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/react/dist/pure.js:101:25
at act (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react/cjs/react.development.js:2512:16)
at actWithWarning (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom-test-utils.development.js:1740:10)
at render (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/react/dist/pure.js:97:26)
at renderFieldHolding (/home/runner/work/stripes-acq-components/stripes-acq-components/lib/FieldHolding/FieldHolding.test.js:34:67)
at Object.<anonymous> (/home/runner/work/stripes-acq-components/stripes-acq-components/lib/FieldHolding/FieldHolding.test.js:75:29)
at Object.asyncJestTest (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37)
at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:45:12
at new Promise (<anonymous>)
at mapper (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:28:19)
at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:75:41
at processTicksAndRejections (node:internal/process/task_queues:95:5)
github-actions / Jest Unit Test Results
CountryFilter component should invoke onChange callback when something is selected (CountryFilter component should invoke onChange callback when something is selected) failed
artifacts/jest-junit/junit.xml
Raw output
Error: expect(jest.fn()).not.toHaveBeenCalled()
Expected number of calls: 0
Received number of calls: 1
1: {"name": "org-filter-country", "values": [""]}
at _callee$ (/home/runner/work/stripes-acq-components/stripes-acq-components/lib/CountryFilter/CountryFilter.test.js:35:32)
at tryCatch (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
at Generator.<anonymous> (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
at Generator.next (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
at asyncGeneratorStep (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
at _next (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:7
at new Promise (<anonymous>)
at Object.<anonymous> (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/asyncToGenerator.js:14:12)
at Object.asyncJestTest (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37)
at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:45:12
at new Promise (<anonymous>)
at mapper (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:28:19)
at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:75:41
at processTicksAndRejections (node:internal/process/task_queues:95:5)
github-actions / Jest Unit Test Results
LanguageFilter component should invoke onChange callback when something is selected (LanguageFilter component should invoke onChange callback when something is selected) failed
artifacts/jest-junit/junit.xml
Raw output
Error: expect(jest.fn()).not.toHaveBeenCalled()
Expected number of calls: 0
Received number of calls: 1
1: {"name": "org-filter-language", "values": [""]}
at _callee$ (/home/runner/work/stripes-acq-components/stripes-acq-components/lib/LanguageFilter/LanguageFilter.test.js:35:32)
at tryCatch (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
at Generator.<anonymous> (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
at Generator.next (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
at asyncGeneratorStep (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
at _next (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:7
at new Promise (<anonymous>)
at Object.<anonymous> (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/asyncToGenerator.js:14:12)
at Object.asyncJestTest (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37)
at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:45:12
at new Promise (<anonymous>)
at mapper (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:28:19)
at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:75:41
at processTicksAndRejections (node:internal/process/task_queues:95:5)