feat(website): Column remapping when submitting metadata files #2655
Annotations
9 errors and 1 warning
Run tests:
website/src/components/Submission/FileUpload/ColumnMappingModal.tsx#L50
TypeError: this.displayNames.get is not a function
❯ src/components/Submission/FileUpload/ColumnMappingModal.tsx:50:31
❯ ColumnMapping.entries src/components/Submission/FileUpload/ColumnMappingModal.tsx:48:47
❯ ColumnMappingModal src/components/Submission/FileUpload/ColumnMappingModal.tsx:147:49
❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18
❯ updateFunctionComponent node_modules/react-dom/cjs/react-dom.development.js:19617:20
❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21640:16
❯ HTMLUnknownElement.callCallback node_modules/react-dom/cjs/react-dom.development.js:4164:14
❯ HTMLUnknownElement.#callDispatchEventListeners node_modules/happy-dom/src/event/EventTarget.ts:286:41
❯ HTMLUnknownElement.dispatchEvent node_modules/happy-dom/src/event/EventTarget.ts:121:35
This error originated in "src/components/Submission/SubmissionForm.spec.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should handle file upload and server response". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Run tests:
website/src/components/Submission/FileUpload/ColumnMappingModal.tsx#L50
TypeError: this.displayNames.get is not a function
❯ src/components/Submission/FileUpload/ColumnMappingModal.tsx:50:31
❯ ColumnMapping.entries src/components/Submission/FileUpload/ColumnMappingModal.tsx:48:47
❯ ColumnMappingModal src/components/Submission/FileUpload/ColumnMappingModal.tsx:147:49
❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18
❯ updateFunctionComponent node_modules/react-dom/cjs/react-dom.development.js:19617:20
❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21640:16
❯ HTMLUnknownElement.callCallback node_modules/react-dom/cjs/react-dom.development.js:4164:14
❯ HTMLUnknownElement.#callDispatchEventListeners node_modules/happy-dom/src/event/EventTarget.ts:286:41
❯ HTMLUnknownElement.dispatchEvent node_modules/happy-dom/src/event/EventTarget.ts:121:35
This error originated in "src/components/Submission/SubmissionForm.spec.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should answer with feedback that a file is missing". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Run tests:
website/src/components/Submission/FileUpload/ColumnMappingModal.tsx#L50
TypeError: this.displayNames.get is not a function
❯ src/components/Submission/FileUpload/ColumnMappingModal.tsx:50:31
❯ ColumnMapping.entries src/components/Submission/FileUpload/ColumnMappingModal.tsx:48:47
❯ ColumnMappingModal src/components/Submission/FileUpload/ColumnMappingModal.tsx:147:49
❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18
❯ updateFunctionComponent node_modules/react-dom/cjs/react-dom.development.js:19617:20
❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21640:16
❯ HTMLUnknownElement.callCallback node_modules/react-dom/cjs/react-dom.development.js:4164:14
❯ HTMLUnknownElement.#callDispatchEventListeners node_modules/happy-dom/src/event/EventTarget.ts:286:41
❯ HTMLUnknownElement.dispatchEvent node_modules/happy-dom/src/event/EventTarget.ts:121:35
This error originated in "src/components/Submission/SubmissionForm.spec.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should unexpected error with proper error message". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Run tests:
website/src/components/Submission/FileUpload/ColumnMappingModal.tsx#L50
TypeError: this.displayNames.get is not a function
❯ src/components/Submission/FileUpload/ColumnMappingModal.tsx:50:31
❯ ColumnMapping.entries src/components/Submission/FileUpload/ColumnMappingModal.tsx:48:47
❯ ColumnMappingModal src/components/Submission/FileUpload/ColumnMappingModal.tsx:147:49
❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18
❯ updateFunctionComponent node_modules/react-dom/cjs/react-dom.development.js:19617:20
❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21640:16
❯ HTMLUnknownElement.callCallback node_modules/react-dom/cjs/react-dom.development.js:4164:14
❯ HTMLUnknownElement.#callDispatchEventListeners node_modules/happy-dom/src/event/EventTarget.ts:286:41
❯ HTMLUnknownElement.dispatchEvent node_modules/happy-dom/src/event/EventTarget.ts:121:35
This error originated in "src/components/Submission/SubmissionForm.spec.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should handle unprocessable entity error with proper error message". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Run tests:
website/src/components/Submission/SubmissionForm.spec.tsx#L80
TestingLibraryElementError: Unable to find a label with the text of: /Sequence File/i
Ignored nodes: comments, script, style
<body>
<div />
</body>
❯ Object.getElementError node_modules/@testing-library/dom/dist/config.js:37:19
❯ getAllByLabelText node_modules/@testing-library/dom/dist/queries/label-text.js:111:38
❯ node_modules/@testing-library/dom/dist/query-helpers.js:52:17
❯ node_modules/@testing-library/dom/dist/query-helpers.js:95:19
❯ src/components/Submission/SubmissionForm.spec.tsx:80:32
|
Run tests:
website/src/components/Submission/SubmissionForm.spec.tsx#L94
TestingLibraryElementError: Unable to find a label with the text of: /I confirm I have not and will not submit this data independently to INSDC/i
Ignored nodes: comments, script, style
<body>
<div />
</body>
❯ Object.getElementError node_modules/@testing-library/dom/dist/config.js:37:19
❯ getAllByLabelText node_modules/@testing-library/dom/dist/queries/label-text.js:111:38
❯ node_modules/@testing-library/dom/dist/query-helpers.js:52:17
❯ node_modules/@testing-library/dom/dist/query-helpers.js:95:19
❯ src/components/Submission/SubmissionForm.spec.tsx:94:13
|
Run tests:
website/src/components/Submission/SubmissionForm.spec.tsx#L166
TestingLibraryElementError: Unable to find a label with the text of: /Sequence file/i
Ignored nodes: comments, script, style
<body>
<div />
</body>
❯ Object.getElementError node_modules/@testing-library/dom/dist/config.js:37:19
❯ getAllByLabelText node_modules/@testing-library/dom/dist/queries/label-text.js:111:38
❯ node_modules/@testing-library/dom/dist/query-helpers.js:52:17
❯ node_modules/@testing-library/dom/dist/query-helpers.js:95:19
❯ submitAndExpectErrorMessageContains src/components/Submission/SubmissionForm.spec.tsx:166:32
❯ src/components/Submission/SubmissionForm.spec.tsx:125:9
|
Run tests:
website/src/components/Submission/SubmissionForm.spec.tsx#L166
TestingLibraryElementError: Unable to find a label with the text of: /Sequence file/i
Ignored nodes: comments, script, style
<body>
<div />
</body>
❯ Object.getElementError node_modules/@testing-library/dom/dist/config.js:37:19
❯ getAllByLabelText node_modules/@testing-library/dom/dist/queries/label-text.js:111:38
❯ node_modules/@testing-library/dom/dist/query-helpers.js:52:17
❯ node_modules/@testing-library/dom/dist/query-helpers.js:95:19
❯ submitAndExpectErrorMessageContains src/components/Submission/SubmissionForm.spec.tsx:166:32
❯ src/components/Submission/SubmissionForm.spec.tsx:140:9
|
Run tests
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading