Add comprehensive test suite and fix validation bugs #95
Annotations
10 errors and 11 warnings
|
Run all tests with coverage:
src/__tests__/integration/sample-metadata-modification.test.jsx#L303
TestingLibraryElementError: Unable to find an element with the text: Doe, John. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.
Ignored nodes: comments, script, style
<body>
<div>
<div
class="home-region"
>
<a
href="/"
>
<img
alt="Loren Frank Lab logo"
src="/src/logo.png"
/>
</a>
</div>
<div
class="page-container"
>
<div
class="page-container__nav"
>
<div
class="page-container__nav__content"
>
<p
class="page-container__nav--content__header"
>
Navigation
</p>
<ul>
<li
class="nav-item"
>
<a
class="nav-link"
data-id="experimenter_name-area"
href="#experimenter_name-area"
>
Experimenter Name
</a>
</li>
<li
class="nav-item"
>
<a
class="nav-link"
data-id="lab-area"
href="#lab-area"
>
Lab
</a>
</li>
<li
class="nav-item"
>
<a
class="nav-link"
data-id="institution-area"
href="#institution-area"
>
Institution
</a>
</li>
<li
class="nav-item"
>
<a
class="nav-link"
data-id="experiment_description-area"
href="#experiment_description-area"
>
Experiment Description
</a>
</li>
<li
class="nav-item"
>
<a
class="nav-link"
data-id="session_description-area"
href="#session_description-area"
>
Session Description
</a>
</li>
<li
class="nav-item"
>
<a
class="nav-link"
data-id="session_id-area"
href="#session_id-area"
>
Session Id
</a>
</li>
<li
class="nav-item"
>
<a
class="nav-link"
data-id="keywords-area"
href="#keywords-area"
>
Keywords
</a>
</li>
<li
class="nav-item"
>
<a
class="nav-link"
data-id="subject-area"
href="#subject-area"
>
Subject
</a>
</li>
<li
class="nav-item"
>
<a
class="nav-link"
data-id="data_acq_device-area"
href="#data_acq_device-area"
>
Data Acq Device
</a>
</li>
<li
class="nav-item"
>
<a
class="nav-link"
data-id="cameras-area"
href="#cameras-area"
>
Cameras
</a>
</li>
<li
class="nav-item"
>
<a
class="nav-link"
data-id="tasks-area"
href="#tasks-area"
>
Tasks
</a>
</li>
<li
class="nav-item"
>
<a
class="nav-link"
data-id="associated_files-area"
href="#associated_files-area"
>
Associated Files
|
|
Run all tests with coverage:
src/__tests__/integration/sample-metadata-modification.test.jsx#L263
Error: Test timed out in 15000ms.
If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout".
❯ src/__tests__/integration/sample-metadata-modification.test.jsx:263:3
|
|
Run all tests with coverage:
src/__tests__/integration/sample-metadata-modification.test.jsx#L230
Error: Test timed out in 15000ms.
If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout".
❯ src/__tests__/integration/sample-metadata-modification.test.jsx:230:3
|
|
Run all tests with coverage:
src/__tests__/integration/sample-metadata-modification.test.jsx#L196
Error: Test timed out in 15000ms.
If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout".
❯ src/__tests__/integration/sample-metadata-modification.test.jsx:196:3
|
|
Run all tests with coverage:
src/__tests__/integration/sample-metadata-modification.test.jsx#L154
Error: Test timed out in 15000ms.
If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout".
❯ src/__tests__/integration/sample-metadata-modification.test.jsx:154:3
|
|
Run all tests with coverage:
src/__tests__/integration/sample-metadata-modification.test.jsx#L77
Error: Test timed out in 15000ms.
If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout".
❯ src/__tests__/integration/sample-metadata-modification.test.jsx:77:3
|
|
Run all tests with coverage:
src/__tests__/integration/import-export-workflow.test.jsx#L324
Error: Test timed out in 15000ms.
If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout".
❯ src/__tests__/integration/import-export-workflow.test.jsx:324:5
|
|
Run all tests with coverage:
src/__tests__/integration/complete-session-creation.test.jsx#L848
Error: Test timed out in 15000ms.
If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout".
❯ src/__tests__/integration/complete-session-creation.test.jsx:848:3
|
|
Run all tests with coverage:
src/__tests__/integration/complete-session-creation.test.jsx#L786
Error: Test timed out in 15000ms.
If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout".
❯ src/__tests__/integration/complete-session-creation.test.jsx:786:3
|
|
Run all tests with coverage:
src/__tests__/integration/complete-session-creation.test.jsx#L267
Error: Test timed out in 15000ms.
If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout".
❯ src/__tests__/integration/complete-session-creation.test.jsx:267:3
|
|
Upload coverage artifacts
No files were found with the provided path: coverage/. No artifacts will be uploaded.
|
|
Run linter:
src/__tests__/baselines/state-management.baseline.test.js#L13
'vi' is defined but never used
|
|
Run linter:
src/__tests__/baselines/state-management.baseline.test.js#L13
'beforeEach' is defined but never used
|
|
Run linter:
src/ArrayUpdateMenu.jsx#L13
'items' is assigned a value but never used
|
|
Run linter:
src/App.js#L2852
'message' is assigned a value but never used
|
|
Run linter:
src/App.js#L618
'errors' is assigned a value but never used
|
|
Run linter:
src/App.js#L596
'message' is assigned a value but never used
|
|
Run linter:
src/App.js#L122
'formErrors' is assigned a value but never used
|
|
Run linter:
src/App.js#L119
'jsonSchemaErrors' is assigned a value but never used
|
|
Run linter:
e2e/baselines/import-export.spec.js#L336
'alertShown' is assigned a value but never used
|
|
Run linter:
e2e/baselines/form-interaction.spec.js#L229
'channelMapSection' is assigned a value but never used
|
Loading