task/WC-203 & 204 - DRP Project Cover Image Fixes #6659
main.yml
on: pull_request
Server_Side_Unit_Tests
47s
Server_Side_Linting
42s
Client_Side_Unit_Tests
1m 30s
Client_Side_Linting
25s
Annotations
13 errors and 2 warnings
Client_Side_Linting
Process completed with exit code 2.
|
Server_Side_Linting
Process completed with exit code 1.
|
Server_Side_Unit_Tests
Process completed with exit code 1.
|
Client_Side_Unit_Tests:
client/src/redux/sagas/datafiles.sagas.test.js#L606
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:606:19
|
Client_Side_Unit_Tests:
client/src/components/Workbench/AppRouter.jsx#L23
TypeError: Cannot read properties of undefined (reading 'config')
❯ src/components/Workbench/AppRouter.jsx:23: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:22:26
❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18
❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20103:13
❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21626:16
❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27465:14
❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26599:12
❯ workLoopSync node_modules/react-dom/cjs/react-dom.development.js:26505:5
|
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:15486:18
❯ mountIndeterminateComponent node_modules/react-dom/cjs/react-dom.development.js:20103:13
❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21626:16
❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27465:14
❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26599:12
❯ workLoopSync node_modules/react-dom/cjs/react-dom.development.js:26505:5
|
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/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#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#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#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#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#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_Linting
Cache not found for keys: node-cache-Linux-x64-npm-7a067040273d151f4ec94afbd5fef8466217b99125463d5a0029a86d3037466f
|
Client_Side_Unit_Tests
Cache not found for keys: node-cache-Linux-x64-npm-7a067040273d151f4ec94afbd5fef8466217b99125463d5a0029a86d3037466f
|