Skip to content

Exclude NAs from details page #432

Exclude NAs from details page

Exclude NAs from details page #432

Triggered via pull request May 21, 2024 19:27
Status Failure
Total duration 2m 48s
Artifacts

website-tests.yml

on: pull_request
Check format and types
2m 6s
Check format and types
Unit Tests
48s
Unit Tests
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 2 warnings
src/components/SequenceDetailsPage/getTableData.spec.ts > getTableData > should return default values when there is no data: website/src/components/SequenceDetailsPage/getTableData.spec.ts#L107
AssertionError: expected [ …(6) ] to strictly equal [ …(9) ] - Expected + Received Array [ Object { - "customDisplay": undefined, - "header": "testHeader1", - "label": "Metadata field1", - "name": "metadataField1", - "type": Object { - "kind": "metadata", - "metadataType": "string", - }, - "value": "N/A", - }, - Object { - "customDisplay": undefined, - "header": "", - "label": "Metadata field2", - "name": "metadataField2", - "type": Object { - "kind": "metadata", - "metadataType": "string", - }, - "value": "N/A", - }, - Object { - "customDisplay": undefined, - "header": "", - "label": "Timestamp field", - "name": "timestampField", - "type": Object { - "kind": "metadata", - "metadataType": "timestamp", - }, - "value": "N/A", - }, - Object { "customDisplay": Object { "type": "badge", "value": Array [], }, "header": "Nucleotide mutations", "label": "Substitutions", "name": "nucleotideSubstitutions", "type": Object { "kind": "mutation", }, "value": "", }, Object { "header": "Nucleotide mutations", "label": "Deletions", "name": "nucleotideDeletions", "type": Object { "kind": "mutation", }, "value": "", }, Object { "header": "Nucleotide mutations", "label": "Insertions", "name": "nucleotideInsertions", "type": Object { "kind": "mutation", }, "value": "", }, Object { "customDisplay": Object { "type": "badge", "value": Array [], }, "header": "Amino acid mutations", "label": "Substitutions", "name": "aminoAcidSubstitutions", "type": Object { "kind": "mutation", }, "value": "", }, Object { "header": "Amino acid mutations", "label": "Deletions", "name": "aminoAcidDeletions", "type": Object { "kind": "mutation", }, "value": "", }, Object { "header": "Amino acid mutations", "label": "Insertions", "name": "aminoAcidInsertions", "type": Object { "kind": "mutation", }, "value": "", }, ] ❯ src/components/SequenceDetailsPage/getTableData.spec.ts:107:22
Unit Tests
Process completed with exit code 1.
Unit Tests
This job failure may be caused by using an out of date self-hosted runner. You are currently using runner version 2.315.0. Please update to the latest version 2.316.1
Check format and types
This self-hosted runner is currently using runner version 2.315.0. This version is out of date. Please update to the latest version 2.316.1