Bug/WC-17 drp project search case #6445
Annotations
10 errors
Client Side Unit Tests:
client/src/utils/filePermissions.js#L35
TypeError: customPermissionCheck is not a function
❯ Module.getFilePermissions [as default] src/utils/filePermissions.js:35:9
❯ src/utils/filePermissions.test.js:61:32
|
Client Side Unit Tests:
client/src/utils/filePermissions.js#L42
TypeError: customPermissionCheck is not a function
❯ Module.getFilePermissions [as default] src/utils/filePermissions.js:42:9
❯ src/utils/filePermissions.test.js:61:32
|
Client Side Unit Tests:
client/src/utils/filePermissions.js#L56
TypeError: customPermissionCheck is not a function
❯ Module.getFilePermissions [as default] src/utils/filePermissions.js:56:9
❯ src/utils/filePermissions.test.js:61:32
|
Client Side Unit Tests:
client/src/utils/filePermissions.js#L74
TypeError: customPermissionCheck is not a function
❯ Module.getFilePermissions [as default] src/utils/filePermissions.js:74:9
❯ src/utils/filePermissions.test.js:61:32
|
Client Side Unit Tests:
client/src/utils/filePermissions.js#L67
TypeError: customPermissionCheck is not a function
❯ Module.getFilePermissions [as default] src/utils/filePermissions.js:67:34
❯ src/utils/filePermissions.test.js:61:32
|
Client Side Unit Tests:
client/src/utils/filePermissions.js#L64
TypeError: customPermissionCheck is not a function
❯ Module.getFilePermissions [as default] src/utils/filePermissions.js:64:9
❯ src/utils/filePermissions.test.js:79:32
|
Client Side Unit Tests:
client/src/utils/filePermissions.js#L48
TypeError: customPermissionCheck is not a function
❯ Module.getFilePermissions [as default] src/utils/filePermissions.js:48:9
❯ src/utils/filePermissions.test.js:79:32
|
Client Side Unit Tests:
client/src/components/DataFiles/DataFilesModals/DataFilesPreviewModal.jsx#L40
TypeError: Cannot read properties of undefined (reading 'portalName')
❯ src/components/DataFiles/DataFilesModals/DataFilesPreviewModal.jsx:40:61
❯ useSelectorWithStoreAndSubscription node_modules/react-redux/lib/hooks/useSelector.js:39:30
❯ Proxy.useSelector node_modules/react-redux/lib/hooks/useSelector.js:139:25
❯ DataFilesPreviewModal src/components/DataFiles/DataFilesModals/DataFilesPreviewModal.jsx:40:22
❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:14985:18
❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:17811:13
❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:19049:16
❯ HTMLUnknownElement.callCallback node_modules/react-dom/cjs/react-dom.development.js:3945:14
❯ HTMLUnknownElement.callTheUserObjectsOperation node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30
❯ innerInvokeEventListeners node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:338:25
|
Client Side Unit Tests:
client/src/components/Workbench/AppRouter.jsx#L20
TypeError: Cannot read properties of undefined (reading 'config')
❯ src/components/Workbench/AppRouter.jsx:20:32
❯ useSelectorWithStoreAndSubscription node_modules/react-redux/lib/hooks/useSelector.js:39:30
❯ Proxy.useSelector node_modules/react-redux/lib/hooks/useSelector.js:139:25
❯ AppRouter src/components/Workbench/AppRouter.jsx:19:26
❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:14985:18
❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:17811:13
❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:19049:16
❯ HTMLUnknownElement.callCallback node_modules/react-dom/cjs/react-dom.development.js:3945:14
❯ HTMLUnknownElement.callTheUserObjectsOperation node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30
❯ innerInvokeEventListeners node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:338:25
|
Client Side Unit Tests:
client/src/redux/sagas/datafiles.sagas.test.js#L605
AssertionError: expected "fetch" to be called with arguments: [ …(2) ]
Received:
1st fetch call:
Array [
- "/api/datafiles/tapis/copy/private/test.system/testpath/",
- Object {
- "body": "{\"dest_system\":\"test.system\",\"dest_path\":\"testpath2\",\"file_name\":\"testfilename\",\"filetype\":\"dir\",\"dest_path_name\":\"destname\"}",
- "credentials": "same-origin",
- "headers": Object {
- "X-CSRFToken": undefined,
- },
- "method": "PUT",
- },
+ "/api/datafiles/systems/list/",
]
2nd fetch call:
Array [
- "/api/datafiles/tapis/copy/private/test.system/testpath/",
- Object {
- "body": "{\"dest_system\":\"test.system\",\"dest_path\":\"testpath2\",\"file_name\":\"testfilename\",\"filetype\":\"dir\",\"dest_path_name\":\"destname\"}",
- "credentials": "same-origin",
- "headers": Object {
- "X-CSRFToken": undefined,
- },
- "method": "PUT",
- },
+ "/api/datafiles/tapis/listing/private/test.system/path/to/file?limit=100&nextPageToken&offset=0&query_string=",
]
3rd fetch call:
Array [
"/api/datafiles/tapis/copy/private/test.system/testpath/",
Object {
- "body": "{\"dest_system\":\"test.system\",\"dest_path\":\"testpath2\",\"file_name\":\"testfilename\",\"filetype\":\"dir\",\"dest_path_name\":\"destname\"}",
+ "body": "{\"dest_system\":\"test.system\",\"dest_path\":\"testpath2\",\"file_name\":\"testfilename\",\"filetype\":\"dir\",\"dest_path_name\":\"destname\",\"metadata\":null}",
"credentials": "same-origin",
"headers": Object {
"X-CSRFToken": undefined,
},
"method": "PUT",
},
]
Number of calls: 3
❯ src/redux/sagas/datafiles.sagas.test.js:605:19
|
Loading