From 8fd4ddca1b5495accdade9aa95894a1e2af95eeb Mon Sep 17 00:00:00 2001 From: Colin Date: Mon, 9 Dec 2024 16:45:45 -0500 Subject: [PATCH] Update snaps --- packages/web-core/src/BaseWebSession/index.ts | 14 +- .../facetedModel.ts | 2 +- .../stateModelFactory.ts | 10 +- .../src/rootModel/rootModel.test.ts | 2 +- .../__snapshots__/rootModel.test.ts.snap | 10 - .../src/rootModel/rootModel.test.ts | 2 +- .../__snapshots__/jbrowseModel.test.ts.snap | 1353 +---------------- .../src/rootModel/rootModel.test.ts | 2 +- .../jbrowse-web/src/tests/Loader.test.tsx | 7 - 9 files changed, 33 insertions(+), 1369 deletions(-) diff --git a/packages/web-core/src/BaseWebSession/index.ts b/packages/web-core/src/BaseWebSession/index.ts index 5c27b03a16..4d540708aa 100644 --- a/packages/web-core/src/BaseWebSession/index.ts +++ b/packages/web-core/src/BaseWebSession/index.ts @@ -21,13 +21,7 @@ import CopyIcon from '@mui/icons-material/FileCopy' import InfoIcon from '@mui/icons-material/Info' import SettingsIcon from '@mui/icons-material/Settings' import { autorun } from 'mobx' -import { - addDisposer, - cast, - getParent, - getSnapshot, - types, -} from 'mobx-state-tree' +import { addDisposer, cast, getParent, types } from 'mobx-state-tree' import { WebSessionConnectionsMixin } from '../SessionConnections' @@ -403,13 +397,13 @@ export function BaseWebSession({ priority: 999, disabled: isRefSeq, onClick: () => { - const snap = structuredClone(getSnapshot(config)) as { + const snap = structuredClone(config) as { [key: string]: unknown - displays: Display[] + displays?: Display[] } const now = Date.now() snap.trackId += `-${now}` - snap.displays.forEach(display => { + snap.displays?.forEach(display => { display.displayId += `-${now}` }) // the -sessionTrack suffix to trackId is used as metadata for diff --git a/plugins/data-management/src/HierarchicalTrackSelectorWidget/facetedModel.ts b/plugins/data-management/src/HierarchicalTrackSelectorWidget/facetedModel.ts index e0d8f2231c..fdd2f12bd7 100644 --- a/plugins/data-management/src/HierarchicalTrackSelectorWidget/facetedModel.ts +++ b/plugins/data-management/src/HierarchicalTrackSelectorWidget/facetedModel.ts @@ -143,7 +143,7 @@ export function facetedStateTreeF() { ) as string, adapter: readConfObject(track, 'adapter')?.type as string, description: readConfObject(track, 'description') as string, - metadata: (track.metadata || {}) as Record, + metadata: (track.metadata || {}) as Record, }) as const, ) }, diff --git a/plugins/linear-comparative-view/src/LinearSyntenyViewHelper/stateModelFactory.ts b/plugins/linear-comparative-view/src/LinearSyntenyViewHelper/stateModelFactory.ts index 01682cd44b..b01c063520 100644 --- a/plugins/linear-comparative-view/src/LinearSyntenyViewHelper/stateModelFactory.ts +++ b/plugins/linear-comparative-view/src/LinearSyntenyViewHelper/stateModelFactory.ts @@ -1,14 +1,14 @@ +import { + hideTrackGeneric, + showTrackGeneric, + toggleTrackGeneric, +} from '@jbrowse/core/util/tracks' import { ElementId } from '@jbrowse/core/util/types/mst' import { getParent, types } from 'mobx-state-tree' import type PluginManager from '@jbrowse/core/PluginManager' import type { LinearGenomeViewModel } from '@jbrowse/plugin-linear-genome-view' import type { Instance } from 'mobx-state-tree' -import { - hideTrackGeneric, - showTrackGeneric, - toggleTrackGeneric, -} from '@jbrowse/core/util/tracks' export function linearSyntenyViewHelperModelFactory( pluginManager: PluginManager, diff --git a/products/jbrowse-desktop/src/rootModel/rootModel.test.ts b/products/jbrowse-desktop/src/rootModel/rootModel.test.ts index 1c3624833e..b68d3d8439 100644 --- a/products/jbrowse-desktop/src/rootModel/rootModel.test.ts +++ b/products/jbrowse-desktop/src/rootModel/rootModel.test.ts @@ -103,7 +103,7 @@ test('adds track and connection configs to an assembly', () => { type: 'FeatureTrack', trackId: 'trackId0', }) - expect(getSnapshot(newTrackConf)).toMatchSnapshot() + expect(newTrackConf).toMatchSnapshot() expect(root.jbrowse.tracks.length).toBe(1) const newConnectionConf = root.jbrowse.addConnectionConf({ type: 'JBrowse1Connection', diff --git a/products/jbrowse-react-app/src/rootModel/__snapshots__/rootModel.test.ts.snap b/products/jbrowse-react-app/src/rootModel/__snapshots__/rootModel.test.ts.snap index 702c570dd6..616ff61c4f 100644 --- a/products/jbrowse-react-app/src/rootModel/__snapshots__/rootModel.test.ts.snap +++ b/products/jbrowse-react-app/src/rootModel/__snapshots__/rootModel.test.ts.snap @@ -216,16 +216,6 @@ exports[`adds track and connection configs to an assembly 1`] = ` exports[`adds track and connection configs to an assembly 2`] = ` { - "displays": [ - { - "displayId": "trackId0-LinearBasicDisplay", - "type": "LinearBasicDisplay", - }, - { - "displayId": "trackId0-LinearArcDisplay", - "type": "LinearArcDisplay", - }, - ], "trackId": "trackId0", "type": "FeatureTrack", } diff --git a/products/jbrowse-react-app/src/rootModel/rootModel.test.ts b/products/jbrowse-react-app/src/rootModel/rootModel.test.ts index 2a9bc923db..aa5b33c55a 100644 --- a/products/jbrowse-react-app/src/rootModel/rootModel.test.ts +++ b/products/jbrowse-react-app/src/rootModel/rootModel.test.ts @@ -99,7 +99,7 @@ test('adds track and connection configs to an assembly', () => { type: 'FeatureTrack', trackId: 'trackId0', }) - expect(getSnapshot(newTrackConf)).toMatchSnapshot() + expect(newTrackConf).toMatchSnapshot() expect(root.jbrowse.tracks.length).toBe(1) const newConnectionConf = root.jbrowse.addConnectionConf({ type: 'JBrowse1Connection', diff --git a/products/jbrowse-web/src/__snapshots__/jbrowseModel.test.ts.snap b/products/jbrowse-web/src/__snapshots__/jbrowseModel.test.ts.snap index b9f5ae2e69..22c783cf61 100644 --- a/products/jbrowse-web/src/__snapshots__/jbrowseModel.test.ts.snap +++ b/products/jbrowse-web/src/__snapshots__/jbrowseModel.test.ts.snap @@ -455,10 +455,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "tracks": [ { "adapter": { - "chromSizesLocation": { - "locationType": "UriLocation", - "uri": "/path/to/default.chrom.sizes", - }, "twoBitLocation": { "locationType": "UriLocation", "uri": "volvox.2bit", @@ -468,12 +464,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "assemblyNames": [ "volvox", ], - "displays": [ - { - "displayId": "volvox_gc-LinearGCContentTrackDisplay", - "type": "LinearGCContentTrackDisplay", - }, - ], "name": "GCContent", "trackId": "volvox_gc", "type": "GCContentTrack", @@ -503,28 +493,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "Variants", ], "description": "A uniquely interesting track", - "displays": [ - { - "displayId": "volvox_sv_test-LinearVariantDisplay", - "type": "LinearVariantDisplay", - }, - { - "displayId": "volvox_sv_test-LinearVariantMatrixDisplay", - "type": "LinearVariantMatrixDisplay", - }, - { - "displayId": "volvox_sv_test-MultiLinearVariantDisplay", - "type": "MultiLinearVariantDisplay", - }, - { - "displayId": "volvox_sv_test-ChordVariantDisplay", - "type": "ChordVariantDisplay", - }, - { - "displayId": "volvox_sv_test-LinearPairedArcDisplay", - "type": "LinearPairedArcDisplay", - }, - ], "name": "volvox structural variant test (HTML italic+link)", "trackId": "volvox_sv_test", "type": "VariantTrack", @@ -553,28 +521,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "category": [ "Variants", ], - "displays": [ - { - "displayId": "volvox_sv_test_renamed-LinearVariantDisplay", - "type": "LinearVariantDisplay", - }, - { - "displayId": "volvox_sv_test_renamed-LinearVariantMatrixDisplay", - "type": "LinearVariantMatrixDisplay", - }, - { - "displayId": "volvox_sv_test_renamed-MultiLinearVariantDisplay", - "type": "MultiLinearVariantDisplay", - }, - { - "displayId": "volvox_sv_test_renamed-ChordVariantDisplay", - "type": "ChordVariantDisplay", - }, - { - "displayId": "volvox_sv_test_renamed-LinearPairedArcDisplay", - "type": "LinearPairedArcDisplay", - }, - ], "name": "volvox structural variant test w/renamed refs", "trackId": "volvox_sv_test_renamed", "type": "VariantTrack", @@ -604,28 +550,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "category": [ "Integration test", ], - "displays": [ - { - "displayId": "volvox_cram_alignments-LinearAlignmentsDisplay", - "type": "LinearAlignmentsDisplay", - }, - { - "displayId": "volvox_cram_alignments-LinearPileupDisplay", - "type": "LinearPileupDisplay", - }, - { - "displayId": "volvox_cram_alignments-LinearSNPCoverageDisplay", - "type": "LinearSNPCoverageDisplay", - }, - { - "displayId": "volvox_cram_alignments-LinearReadArcsDisplay", - "type": "LinearReadArcsDisplay", - }, - { - "displayId": "volvox_cram_alignments-LinearReadCloudDisplay", - "type": "LinearReadCloudDisplay", - }, - ], "name": "volvox-sorted.cram (contigA, default display)", "trackId": "volvox_cram_alignments", "type": "AlignmentsTrack", @@ -665,22 +589,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "height": 400, "type": "LinearPileupDisplay", }, - { - "displayId": "volvox_cram_pileup-LinearAlignmentsDisplay", - "type": "LinearAlignmentsDisplay", - }, - { - "displayId": "volvox_cram_pileup-LinearSNPCoverageDisplay", - "type": "LinearSNPCoverageDisplay", - }, - { - "displayId": "volvox_cram_pileup-LinearReadArcsDisplay", - "type": "LinearReadArcsDisplay", - }, - { - "displayId": "volvox_cram_pileup-LinearReadCloudDisplay", - "type": "LinearReadCloudDisplay", - }, ], "metadata": { "description": "this is a metadata description", @@ -724,22 +632,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "displayId": "volvox_cram_snpcoverage_snpcoverage", "type": "LinearSNPCoverageDisplay", }, - { - "displayId": "volvox_cram_snpcoverage-LinearAlignmentsDisplay", - "type": "LinearAlignmentsDisplay", - }, - { - "displayId": "volvox_cram_snpcoverage-LinearPileupDisplay", - "type": "LinearPileupDisplay", - }, - { - "displayId": "volvox_cram_snpcoverage-LinearReadArcsDisplay", - "type": "LinearReadArcsDisplay", - }, - { - "displayId": "volvox_cram_snpcoverage-LinearReadCloudDisplay", - "type": "LinearReadCloudDisplay", - }, ], "name": "volvox-sorted.cram (contigA, LinearSNPCoverageDisplay)", "trackId": "volvox_cram_snpcoverage", @@ -770,28 +662,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "category": [ "Integration test", ], - "displays": [ - { - "displayId": "volvox_cram_alignments_ctga-LinearAlignmentsDisplay", - "type": "LinearAlignmentsDisplay", - }, - { - "displayId": "volvox_cram_alignments_ctga-LinearPileupDisplay", - "type": "LinearPileupDisplay", - }, - { - "displayId": "volvox_cram_alignments_ctga-LinearSNPCoverageDisplay", - "type": "LinearSNPCoverageDisplay", - }, - { - "displayId": "volvox_cram_alignments_ctga-LinearReadArcsDisplay", - "type": "LinearReadArcsDisplay", - }, - { - "displayId": "volvox_cram_alignments_ctga-LinearReadCloudDisplay", - "type": "LinearReadCloudDisplay", - }, - ], "name": "volvox-sorted.cram (ctgA, default display)", "trackId": "volvox_cram_alignments_ctga", "type": "AlignmentsTrack", @@ -826,22 +696,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "displayId": "volvox_cram_pileup_ctga_pileup", "type": "LinearPileupDisplay", }, - { - "displayId": "volvox_cram_pileup_ctga-LinearAlignmentsDisplay", - "type": "LinearAlignmentsDisplay", - }, - { - "displayId": "volvox_cram_pileup_ctga-LinearSNPCoverageDisplay", - "type": "LinearSNPCoverageDisplay", - }, - { - "displayId": "volvox_cram_pileup_ctga-LinearReadArcsDisplay", - "type": "LinearReadArcsDisplay", - }, - { - "displayId": "volvox_cram_pileup_ctga-LinearReadCloudDisplay", - "type": "LinearReadCloudDisplay", - }, ], "name": "volvox-sorted.cram (ctgA, LinearPileupDisplay)", "trackId": "volvox_cram_pileup_ctga", @@ -877,22 +731,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "displayId": "volvox_cram_pileup_ctga_snpcoverage", "type": "LinearSNPCoverageDisplay", }, - { - "displayId": "volvox_cram_snpcoverage_ctga-LinearAlignmentsDisplay", - "type": "LinearAlignmentsDisplay", - }, - { - "displayId": "volvox_cram_snpcoverage_ctga-LinearPileupDisplay", - "type": "LinearPileupDisplay", - }, - { - "displayId": "volvox_cram_snpcoverage_ctga-LinearReadArcsDisplay", - "type": "LinearReadArcsDisplay", - }, - { - "displayId": "volvox_cram_snpcoverage_ctga-LinearReadCloudDisplay", - "type": "LinearReadCloudDisplay", - }, ], "name": "volvox-sorted.cram (ctgA, LinearSNPCoverageDisplay)", "trackId": "volvox_cram_snpcoverage_ctga", @@ -932,22 +770,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` }, "type": "LinearAlignmentsDisplay", }, - { - "displayId": "volvox_alignments-LinearPileupDisplay", - "type": "LinearPileupDisplay", - }, - { - "displayId": "volvox_alignments-LinearSNPCoverageDisplay", - "type": "LinearSNPCoverageDisplay", - }, - { - "displayId": "volvox_alignments-LinearReadArcsDisplay", - "type": "LinearReadArcsDisplay", - }, - { - "displayId": "volvox_alignments-LinearReadCloudDisplay", - "type": "LinearReadCloudDisplay", - }, ], "name": "volvox-sorted.bam (ctgA, larger default height, colorBy mappingQual)", "trackId": "volvox_alignments", @@ -978,22 +800,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "displayId": "volvox_bam_snpcoverage_snpcoverage", "type": "LinearSNPCoverageDisplay", }, - { - "displayId": "volvox_bam_snpcoverage-LinearAlignmentsDisplay", - "type": "LinearAlignmentsDisplay", - }, - { - "displayId": "volvox_bam_snpcoverage-LinearPileupDisplay", - "type": "LinearPileupDisplay", - }, - { - "displayId": "volvox_bam_snpcoverage-LinearReadArcsDisplay", - "type": "LinearReadArcsDisplay", - }, - { - "displayId": "volvox_bam_snpcoverage-LinearReadCloudDisplay", - "type": "LinearReadCloudDisplay", - }, ], "name": "volvox-sorted.bam (contigA LinearSNPCoverageDisplay)", "trackId": "volvox_bam_snpcoverage", @@ -1024,22 +830,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "displayId": "volvox_bam_pileup_pileup", "type": "LinearPileupDisplay", }, - { - "displayId": "volvox_bam_pileup-LinearAlignmentsDisplay", - "type": "LinearAlignmentsDisplay", - }, - { - "displayId": "volvox_bam_pileup-LinearSNPCoverageDisplay", - "type": "LinearSNPCoverageDisplay", - }, - { - "displayId": "volvox_bam_pileup-LinearReadArcsDisplay", - "type": "LinearReadArcsDisplay", - }, - { - "displayId": "volvox_bam_pileup-LinearReadCloudDisplay", - "type": "LinearReadCloudDisplay", - }, ], "name": "volvox-sorted.bam (contigA LinearPileupDisplay)", "trackId": "volvox_bam_pileup", @@ -1065,28 +855,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "category": [ "Integration test", ], - "displays": [ - { - "displayId": "volvox_alignments_pileup_coverage-LinearAlignmentsDisplay", - "type": "LinearAlignmentsDisplay", - }, - { - "displayId": "volvox_alignments_pileup_coverage-LinearPileupDisplay", - "type": "LinearPileupDisplay", - }, - { - "displayId": "volvox_alignments_pileup_coverage-LinearSNPCoverageDisplay", - "type": "LinearSNPCoverageDisplay", - }, - { - "displayId": "volvox_alignments_pileup_coverage-LinearReadArcsDisplay", - "type": "LinearReadArcsDisplay", - }, - { - "displayId": "volvox_alignments_pileup_coverage-LinearReadCloudDisplay", - "type": "LinearReadCloudDisplay", - }, - ], "name": "volvox-sorted.bam (ctgA, canvas)", "trackId": "volvox_alignments_pileup_coverage", "type": "AlignmentsTrack", @@ -1111,28 +879,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "category": [ "Integration test", ], - "displays": [ - { - "displayId": "volvox_bam_altname-LinearAlignmentsDisplay", - "type": "LinearAlignmentsDisplay", - }, - { - "displayId": "volvox_bam_altname-LinearPileupDisplay", - "type": "LinearPileupDisplay", - }, - { - "displayId": "volvox_bam_altname-LinearSNPCoverageDisplay", - "type": "LinearSNPCoverageDisplay", - }, - { - "displayId": "volvox_bam_altname-LinearReadArcsDisplay", - "type": "LinearReadArcsDisplay", - }, - { - "displayId": "volvox_bam_altname-LinearReadCloudDisplay", - "type": "LinearReadCloudDisplay", - }, - ], "name": "volvox-sorted.bam (contigA)", "trackId": "volvox_bam_altname", "type": "AlignmentsTrack", @@ -1172,22 +918,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` }, "type": "LinearAlignmentsDisplay", }, - { - "displayId": "volvox_bam_small_max_height-LinearPileupDisplay", - "type": "LinearPileupDisplay", - }, - { - "displayId": "volvox_bam_small_max_height-LinearSNPCoverageDisplay", - "type": "LinearSNPCoverageDisplay", - }, - { - "displayId": "volvox_bam_small_max_height-LinearReadArcsDisplay", - "type": "LinearReadArcsDisplay", - }, - { - "displayId": "volvox_bam_small_max_height-LinearReadCloudDisplay", - "type": "LinearReadCloudDisplay", - }, ], "name": "volvox-sorted.bam (small max height)", "trackId": "volvox_bam_small_max_height", @@ -1217,28 +947,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "category": [ "Variants", ], - "displays": [ - { - "displayId": "volvox_test_vcf-LinearVariantDisplay", - "type": "LinearVariantDisplay", - }, - { - "displayId": "volvox_test_vcf-LinearVariantMatrixDisplay", - "type": "LinearVariantMatrixDisplay", - }, - { - "displayId": "volvox_test_vcf-MultiLinearVariantDisplay", - "type": "MultiLinearVariantDisplay", - }, - { - "displayId": "volvox_test_vcf-ChordVariantDisplay", - "type": "ChordVariantDisplay", - }, - { - "displayId": "volvox_test_vcf-LinearPairedArcDisplay", - "type": "LinearPairedArcDisplay", - }, - ], "formatAbout": { "hideUris": true, }, @@ -1260,16 +968,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "category": [ "Integration test", ], - "displays": [ - { - "displayId": "nclist_long_names-LinearBasicDisplay", - "type": "LinearBasicDisplay", - }, - { - "displayId": "nclist_long_names-LinearArcDisplay", - "type": "LinearArcDisplay", - }, - ], "name": "nclist with long names/descriptions", "trackId": "nclist_long_names", "type": "FeatureTrack", @@ -1294,28 +992,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "category": [ "Integration test", ], - "displays": [ - { - "displayId": "volvox_alignments_bam_nonexist-LinearAlignmentsDisplay", - "type": "LinearAlignmentsDisplay", - }, - { - "displayId": "volvox_alignments_bam_nonexist-LinearPileupDisplay", - "type": "LinearPileupDisplay", - }, - { - "displayId": "volvox_alignments_bam_nonexist-LinearSNPCoverageDisplay", - "type": "LinearSNPCoverageDisplay", - }, - { - "displayId": "volvox_alignments_bam_nonexist-LinearReadArcsDisplay", - "type": "LinearReadArcsDisplay", - }, - { - "displayId": "volvox_alignments_bam_nonexist-LinearReadCloudDisplay", - "type": "LinearReadCloudDisplay", - }, - ], "name": "volvox-sorted.bam (bam nonexist 404)", "trackId": "volvox_alignments_bam_nonexist", "type": "AlignmentsTrack", @@ -1340,28 +1016,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "category": [ "Integration test", ], - "displays": [ - { - "displayId": "volvox_alignments_bai_nonexist-LinearAlignmentsDisplay", - "type": "LinearAlignmentsDisplay", - }, - { - "displayId": "volvox_alignments_bai_nonexist-LinearPileupDisplay", - "type": "LinearPileupDisplay", - }, - { - "displayId": "volvox_alignments_bai_nonexist-LinearSNPCoverageDisplay", - "type": "LinearSNPCoverageDisplay", - }, - { - "displayId": "volvox_alignments_bai_nonexist-LinearReadArcsDisplay", - "type": "LinearReadArcsDisplay", - }, - { - "displayId": "volvox_alignments_bai_nonexist-LinearReadCloudDisplay", - "type": "LinearReadCloudDisplay", - }, - ], "name": "volvox-sorted.bam (bai nonexist 404)", "trackId": "volvox_alignments_bai_nonexist", "type": "AlignmentsTrack", @@ -1381,12 +1035,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "Integration test", "Wiggle", ], - "displays": [ - { - "displayId": "volvox_bigwig_nonexist-LinearWiggleDisplay", - "type": "LinearWiggleDisplay", - }, - ], "name": "wiggle_track 404", "trackId": "volvox_bigwig_nonexist", "type": "QuantitativeTrack", @@ -1430,12 +1078,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "assemblyNames": [ "volvox", ], - "displays": [ - { - "displayId": "volvox_microarray_multi-MultiLinearWiggleDisplay", - "type": "MultiLinearWiggleDisplay", - }, - ], "name": "MultiWig", "trackId": "volvox_microarray_multi", "type": "MultiQuantitativeTrack", @@ -1455,12 +1097,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "Integration test", "Wiggle", ], - "displays": [ - { - "displayId": "volvox_microarray-LinearWiggleDisplay", - "type": "LinearWiggleDisplay", - }, - ], "name": "wiggle_track xyplot", "trackId": "volvox_microarray", "type": "QuantitativeTrack", @@ -1532,12 +1168,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "Integration test", "Wiggle", ], - "displays": [ - { - "displayId": "volvox_microarray_density_altname-LinearWiggleDisplay", - "type": "LinearWiggleDisplay", - }, - ], "name": "wiggle_track density (altname)", "trackId": "volvox_microarray_density_altname", "type": "QuantitativeTrack", @@ -1598,16 +1228,11 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "displays": [ { "displayId": "lollipop_track_linear", + "renderer": { + "type": "LollipopRenderer", + }, "type": "LinearLollipopDisplay", }, - { - "displayId": "lollipop_track-LinearBasicDisplay", - "type": "LinearBasicDisplay", - }, - { - "displayId": "lollipop_track-LinearArcDisplay", - "type": "LinearArcDisplay", - }, ], "name": "FromConfig Track (defaults to LinearLollipopDisplay)", "trackId": "lollipop_track", @@ -1633,28 +1258,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "category": [ "Alignments", ], - "displays": [ - { - "displayId": "volvox-long-reads-sv-bam-LinearAlignmentsDisplay", - "type": "LinearAlignmentsDisplay", - }, - { - "displayId": "volvox-long-reads-sv-bam-LinearPileupDisplay", - "type": "LinearPileupDisplay", - }, - { - "displayId": "volvox-long-reads-sv-bam-LinearSNPCoverageDisplay", - "type": "LinearSNPCoverageDisplay", - }, - { - "displayId": "volvox-long-reads-sv-bam-LinearReadArcsDisplay", - "type": "LinearReadArcsDisplay", - }, - { - "displayId": "volvox-long-reads-sv-bam-LinearReadCloudDisplay", - "type": "LinearReadCloudDisplay", - }, - ], "name": "volvox-long reads with SV", "trackId": "volvox-long-reads-sv-bam", "type": "AlignmentsTrack", @@ -1684,28 +1287,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "category": [ "Alignments", ], - "displays": [ - { - "displayId": "volvox-long-reads-sv-cram-LinearAlignmentsDisplay", - "type": "LinearAlignmentsDisplay", - }, - { - "displayId": "volvox-long-reads-sv-cram-LinearPileupDisplay", - "type": "LinearPileupDisplay", - }, - { - "displayId": "volvox-long-reads-sv-cram-LinearSNPCoverageDisplay", - "type": "LinearSNPCoverageDisplay", - }, - { - "displayId": "volvox-long-reads-sv-cram-LinearReadArcsDisplay", - "type": "LinearReadArcsDisplay", - }, - { - "displayId": "volvox-long-reads-sv-cram-LinearReadCloudDisplay", - "type": "LinearReadCloudDisplay", - }, - ], "name": "volvox-long reads with SV (cram)", "trackId": "volvox-long-reads-sv-cram", "type": "AlignmentsTrack", @@ -1735,28 +1316,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "category": [ "Alignments", ], - "displays": [ - { - "displayId": "volvox-long-reads-cram-LinearAlignmentsDisplay", - "type": "LinearAlignmentsDisplay", - }, - { - "displayId": "volvox-long-reads-cram-LinearPileupDisplay", - "type": "LinearPileupDisplay", - }, - { - "displayId": "volvox-long-reads-cram-LinearSNPCoverageDisplay", - "type": "LinearSNPCoverageDisplay", - }, - { - "displayId": "volvox-long-reads-cram-LinearReadArcsDisplay", - "type": "LinearReadArcsDisplay", - }, - { - "displayId": "volvox-long-reads-cram-LinearReadCloudDisplay", - "type": "LinearReadCloudDisplay", - }, - ], "name": "volvox-long reads (cram)", "trackId": "volvox-long-reads-cram", "type": "AlignmentsTrack", @@ -1781,28 +1340,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "category": [ "Alignments", ], - "displays": [ - { - "displayId": "volvox-long-reads-bam-LinearAlignmentsDisplay", - "type": "LinearAlignmentsDisplay", - }, - { - "displayId": "volvox-long-reads-bam-LinearPileupDisplay", - "type": "LinearPileupDisplay", - }, - { - "displayId": "volvox-long-reads-bam-LinearSNPCoverageDisplay", - "type": "LinearSNPCoverageDisplay", - }, - { - "displayId": "volvox-long-reads-bam-LinearReadArcsDisplay", - "type": "LinearReadArcsDisplay", - }, - { - "displayId": "volvox-long-reads-bam-LinearReadCloudDisplay", - "type": "LinearReadCloudDisplay", - }, - ], "name": "volvox-long reads", "trackId": "volvox-long-reads-bam", "type": "AlignmentsTrack", @@ -1832,28 +1369,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "category": [ "Alignments", ], - "displays": [ - { - "displayId": "volvox_samspec_cram-LinearAlignmentsDisplay", - "type": "LinearAlignmentsDisplay", - }, - { - "displayId": "volvox_samspec_cram-LinearPileupDisplay", - "type": "LinearPileupDisplay", - }, - { - "displayId": "volvox_samspec_cram-LinearSNPCoverageDisplay", - "type": "LinearSNPCoverageDisplay", - }, - { - "displayId": "volvox_samspec_cram-LinearReadArcsDisplay", - "type": "LinearReadArcsDisplay", - }, - { - "displayId": "volvox_samspec_cram-LinearReadCloudDisplay", - "type": "LinearReadCloudDisplay", - }, - ], "name": "volvox-samspec (cram)", "trackId": "volvox_samspec_cram", "type": "AlignmentsTrack", @@ -1878,28 +1393,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "category": [ "Alignments", ], - "displays": [ - { - "displayId": "volvox_samspec-LinearAlignmentsDisplay", - "type": "LinearAlignmentsDisplay", - }, - { - "displayId": "volvox_samspec-LinearPileupDisplay", - "type": "LinearPileupDisplay", - }, - { - "displayId": "volvox_samspec-LinearSNPCoverageDisplay", - "type": "LinearSNPCoverageDisplay", - }, - { - "displayId": "volvox_samspec-LinearReadArcsDisplay", - "type": "LinearReadArcsDisplay", - }, - { - "displayId": "volvox_samspec-LinearReadCloudDisplay", - "type": "LinearReadCloudDisplay", - }, - ], "name": "volvox-samspec", "trackId": "volvox_samspec", "type": "AlignmentsTrack", @@ -1929,28 +1422,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "category": [ "Alignments", ], - "displays": [ - { - "displayId": "volvox_sv_cram-LinearAlignmentsDisplay", - "type": "LinearAlignmentsDisplay", - }, - { - "displayId": "volvox_sv_cram-LinearPileupDisplay", - "type": "LinearPileupDisplay", - }, - { - "displayId": "volvox_sv_cram-LinearSNPCoverageDisplay", - "type": "LinearSNPCoverageDisplay", - }, - { - "displayId": "volvox_sv_cram-LinearReadArcsDisplay", - "type": "LinearReadArcsDisplay", - }, - { - "displayId": "volvox_sv_cram-LinearReadCloudDisplay", - "type": "LinearReadCloudDisplay", - }, - ], "name": "volvox-sv (cram)", "trackId": "volvox_sv_cram", "type": "AlignmentsTrack", @@ -1975,28 +1446,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "category": [ "Alignments", ], - "displays": [ - { - "displayId": "volvox_sv-LinearAlignmentsDisplay", - "type": "LinearAlignmentsDisplay", - }, - { - "displayId": "volvox_sv-LinearPileupDisplay", - "type": "LinearPileupDisplay", - }, - { - "displayId": "volvox_sv-LinearSNPCoverageDisplay", - "type": "LinearSNPCoverageDisplay", - }, - { - "displayId": "volvox_sv-LinearReadArcsDisplay", - "type": "LinearReadArcsDisplay", - }, - { - "displayId": "volvox_sv-LinearReadCloudDisplay", - "type": "LinearReadCloudDisplay", - }, - ], "name": "volvox-sv", "trackId": "volvox_sv", "type": "AlignmentsTrack", @@ -2021,16 +1470,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "category": [ "Miscellaneous", ], - "displays": [ - { - "displayId": "gff3tabix_genes-LinearBasicDisplay", - "type": "LinearBasicDisplay", - }, - { - "displayId": "gff3tabix_genes-LinearArcDisplay", - "type": "LinearArcDisplay", - }, - ], "formatDetails": { "feature": "jexl:{name:''+feature.name+'',extrafield:'Field added with custom callback:' + feature.name,phase:undefined,type:undefined}", "subfeatures": "jexl:{name:'Subfeature: '+(!feature.name?'No name':feature.name)+''}", @@ -2064,28 +1503,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "category": [ "Alignments", ], - "displays": [ - { - "displayId": "volvox_cram-LinearAlignmentsDisplay", - "type": "LinearAlignmentsDisplay", - }, - { - "displayId": "volvox_cram-LinearPileupDisplay", - "type": "LinearPileupDisplay", - }, - { - "displayId": "volvox_cram-LinearSNPCoverageDisplay", - "type": "LinearSNPCoverageDisplay", - }, - { - "displayId": "volvox_cram-LinearReadArcsDisplay", - "type": "LinearReadArcsDisplay", - }, - { - "displayId": "volvox_cram-LinearReadCloudDisplay", - "type": "LinearReadCloudDisplay", - }, - ], "name": "volvox-sorted.cram", "trackId": "volvox_cram", "type": "AlignmentsTrack", @@ -2110,28 +1527,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "category": [ "Alignments", ], - "displays": [ - { - "displayId": "volvox_bam-LinearAlignmentsDisplay", - "type": "LinearAlignmentsDisplay", - }, - { - "displayId": "volvox_bam-LinearPileupDisplay", - "type": "LinearPileupDisplay", - }, - { - "displayId": "volvox_bam-LinearSNPCoverageDisplay", - "type": "LinearSNPCoverageDisplay", - }, - { - "displayId": "volvox_bam-LinearReadArcsDisplay", - "type": "LinearReadArcsDisplay", - }, - { - "displayId": "volvox_bam-LinearReadCloudDisplay", - "type": "LinearReadCloudDisplay", - }, - ], "name": "volvox-sorted.bam", "trackId": "volvox_bam", "type": "AlignmentsTrack", @@ -2160,28 +1555,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "category": [ "Variants", ], - "displays": [ - { - "displayId": "volvox_filtered_vcf-LinearVariantDisplay", - "type": "LinearVariantDisplay", - }, - { - "displayId": "volvox_filtered_vcf-LinearVariantMatrixDisplay", - "type": "LinearVariantMatrixDisplay", - }, - { - "displayId": "volvox_filtered_vcf-MultiLinearVariantDisplay", - "type": "MultiLinearVariantDisplay", - }, - { - "displayId": "volvox_filtered_vcf-ChordVariantDisplay", - "type": "ChordVariantDisplay", - }, - { - "displayId": "volvox_filtered_vcf-LinearPairedArcDisplay", - "type": "LinearPairedArcDisplay", - }, - ], "name": "volvox filtered vcf", "trackId": "volvox_filtered_vcf", "type": "VariantTrack", @@ -2210,28 +1583,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "category": [ "Variants", ], - "displays": [ - { - "displayId": "volvox_filtered_vcf_assembly_alias-LinearVariantDisplay", - "type": "LinearVariantDisplay", - }, - { - "displayId": "volvox_filtered_vcf_assembly_alias-LinearVariantMatrixDisplay", - "type": "LinearVariantMatrixDisplay", - }, - { - "displayId": "volvox_filtered_vcf_assembly_alias-MultiLinearVariantDisplay", - "type": "MultiLinearVariantDisplay", - }, - { - "displayId": "volvox_filtered_vcf_assembly_alias-ChordVariantDisplay", - "type": "ChordVariantDisplay", - }, - { - "displayId": "volvox_filtered_vcf_assembly_alias-LinearPairedArcDisplay", - "type": "LinearPairedArcDisplay", - }, - ], "name": "volvox filtered vcf (with assembly alias)", "trackId": "volvox_filtered_vcf_assembly_alias", "type": "VariantTrack", @@ -2250,16 +1601,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "category": [ "Miscellaneous", ], - "displays": [ - { - "displayId": "bigbed_genes-LinearBasicDisplay", - "type": "LinearBasicDisplay", - }, - { - "displayId": "bigbed_genes-LinearArcDisplay", - "type": "LinearArcDisplay", - }, - ], "name": "BigBed genes", "trackId": "bigbed_genes", "type": "FeatureTrack", @@ -2284,16 +1625,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "category": [ "Miscellaneous", ], - "displays": [ - { - "displayId": "bedtabix_genes-LinearBasicDisplay", - "type": "LinearBasicDisplay", - }, - { - "displayId": "bedtabix_genes-LinearArcDisplay", - "type": "LinearArcDisplay", - }, - ], "name": "BedTabix genes", "trackId": "bedtabix_genes", "type": "FeatureTrack", @@ -2301,7 +1632,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` { "adapter": { "bedLocation": { - "locationType": "UriLocation", "uri": "volvox-bed12.bed", }, "type": "BedAdapter", @@ -2312,16 +1642,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "category": [ "Miscellaneous", ], - "displays": [ - { - "displayId": "bed_genes-LinearBasicDisplay", - "type": "LinearBasicDisplay", - }, - { - "displayId": "bed_genes-LinearArcDisplay", - "type": "LinearArcDisplay", - }, - ], "name": "Bed genes", "trackId": "bed_genes", "type": "FeatureTrack", @@ -2366,16 +1686,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "category": [ "Miscellaneous", ], - "displays": [ - { - "displayId": "Genes-LinearBasicDisplay", - "type": "LinearBasicDisplay", - }, - { - "displayId": "Genes-LinearArcDisplay", - "type": "LinearArcDisplay", - }, - ], "name": "NCList genes", "trackId": "Genes", "type": "FeatureTrack", @@ -2421,12 +1731,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "BigWig", "XYPlot", ], - "displays": [ - { - "displayId": "24eGIUSM86l-LinearWiggleDisplay", - "type": "LinearWiggleDisplay", - }, - ], "name": "Volvox microarray", "trackId": "24eGIUSM86l", "type": "QuantitativeTrack", @@ -2472,12 +1776,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "BigWig", "XYPlot", ], - "displays": [ - { - "displayId": "1at1sLO1Gsl-LinearWiggleDisplay", - "type": "LinearWiggleDisplay", - }, - ], "name": "Volvox microarray - negative", "trackId": "1at1sLO1Gsl", "type": "QuantitativeTrack", @@ -2549,12 +1847,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "BigWig", "XYPlot", ], - "displays": [ - { - "displayId": "jdYHuGnpAc_-LinearWiggleDisplay", - "type": "LinearWiggleDisplay", - }, - ], "name": "Volvox microarray with +/- values", "trackId": "jdYHuGnpAc_", "type": "QuantitativeTrack", @@ -2600,12 +1892,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "BigWig", "XYPlot", ], - "displays": [ - { - "displayId": "pOOtg9wxcUC-LinearWiggleDisplay", - "type": "LinearWiggleDisplay", - }, - ], "name": "Volvox - BAM coverage", "trackId": "pOOtg9wxcUC", "type": "QuantitativeTrack", @@ -2629,24 +1915,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "category": [ "Synteny", ], - "displays": [ - { - "displayId": "volvox_fake_synteny_alt-DotplotDisplay", - "type": "DotplotDisplay", - }, - { - "displayId": "volvox_fake_synteny_alt-LinearComparativeDisplay", - "type": "LinearComparativeDisplay", - }, - { - "displayId": "volvox_fake_synteny_alt-LinearSyntenyDisplay", - "type": "LinearSyntenyDisplay", - }, - { - "displayId": "volvox_fake_synteny_alt-LGVSyntenyDisplay", - "type": "LGVSyntenyDisplay", - }, - ], "name": "volvox_fake_synteny_alt", "trackId": "volvox_fake_synteny_alt", "type": "SyntenyTrack", @@ -2670,24 +1938,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "category": [ "Synteny", ], - "displays": [ - { - "displayId": "volvox_fake_synteny-DotplotDisplay", - "type": "DotplotDisplay", - }, - { - "displayId": "volvox_fake_synteny-LinearComparativeDisplay", - "type": "LinearComparativeDisplay", - }, - { - "displayId": "volvox_fake_synteny-LinearSyntenyDisplay", - "type": "LinearSyntenyDisplay", - }, - { - "displayId": "volvox_fake_synteny-LGVSyntenyDisplay", - "type": "LGVSyntenyDisplay", - }, - ], "name": "volvox_fake_synteny", "trackId": "volvox_fake_synteny", "type": "SyntenyTrack", @@ -2699,6 +1949,7 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "uri": "volvox-rg.bam", }, "index": { + "indexType": "BAI", "location": { "locationType": "UriLocation", "uri": "volvox-rg.bam.bai", @@ -2719,28 +1970,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "category": [ "Alignments", ], - "displays": [ - { - "displayId": "volvox-rg-LinearAlignmentsDisplay", - "type": "LinearAlignmentsDisplay", - }, - { - "displayId": "volvox-rg-LinearPileupDisplay", - "type": "LinearPileupDisplay", - }, - { - "displayId": "volvox-rg-LinearSNPCoverageDisplay", - "type": "LinearSNPCoverageDisplay", - }, - { - "displayId": "volvox-rg-LinearReadArcsDisplay", - "type": "LinearReadArcsDisplay", - }, - { - "displayId": "volvox-rg-LinearReadCloudDisplay", - "type": "LinearReadCloudDisplay", - }, - ], "name": "volvox-rg (read groups, bam)", "trackId": "volvox-rg", "type": "AlignmentsTrack", @@ -2770,28 +1999,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "category": [ "Alignments", ], - "displays": [ - { - "displayId": "volvox-rg-cram-LinearAlignmentsDisplay", - "type": "LinearAlignmentsDisplay", - }, - { - "displayId": "volvox-rg-cram-LinearPileupDisplay", - "type": "LinearPileupDisplay", - }, - { - "displayId": "volvox-rg-cram-LinearSNPCoverageDisplay", - "type": "LinearSNPCoverageDisplay", - }, - { - "displayId": "volvox-rg-cram-LinearReadArcsDisplay", - "type": "LinearReadArcsDisplay", - }, - { - "displayId": "volvox-rg-cram-LinearReadCloudDisplay", - "type": "LinearReadCloudDisplay", - }, - ], "name": "volvox-rg (read groups, cram)", "trackId": "volvox-rg-cram", "type": "AlignmentsTrack", @@ -2810,12 +2017,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "category": [ "Integration test", ], - "displays": [ - { - "displayId": "volvox_wrong_assembly-LinearWiggleDisplay", - "type": "LinearWiggleDisplay", - }, - ], "name": "wiggle_track (wrong assembly error)", "trackId": "volvox_wrong_assembly", "type": "QuantitativeTrack", @@ -2847,6 +2048,9 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "displays": [ { "displayId": "volvox_filtered_vcf_color-ChordVariantDisplay", + "renderer": { + "type": "StructuralVariantChordRenderer", + }, "type": "ChordVariantDisplay", }, { @@ -2858,18 +2062,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` }, "type": "LinearVariantDisplay", }, - { - "displayId": "variant_colors-LinearVariantMatrixDisplay", - "type": "LinearVariantMatrixDisplay", - }, - { - "displayId": "variant_colors-MultiLinearVariantDisplay", - "type": "MultiLinearVariantDisplay", - }, - { - "displayId": "variant_colors-LinearPairedArcDisplay", - "type": "LinearPairedArcDisplay", - }, ], "name": "volvox filtered vcf (green snp, purple indel)", "trackId": "variant_colors", @@ -2882,6 +2074,7 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "uri": "MM-chebi-volvox.bam", }, "index": { + "indexType": "BAI", "location": { "locationType": "UriLocation", "uri": "MM-chebi-volvox.bam.bai", @@ -2902,28 +2095,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "category": [ "Methylation", ], - "displays": [ - { - "displayId": "MM-chebi-volvox-LinearAlignmentsDisplay", - "type": "LinearAlignmentsDisplay", - }, - { - "displayId": "MM-chebi-volvox-LinearPileupDisplay", - "type": "LinearPileupDisplay", - }, - { - "displayId": "MM-chebi-volvox-LinearSNPCoverageDisplay", - "type": "LinearSNPCoverageDisplay", - }, - { - "displayId": "MM-chebi-volvox-LinearReadArcsDisplay", - "type": "LinearReadArcsDisplay", - }, - { - "displayId": "MM-chebi-volvox-LinearReadCloudDisplay", - "type": "LinearReadCloudDisplay", - }, - ], "name": "MM-chebi-volvox", "trackId": "MM-chebi-volvox", "type": "AlignmentsTrack", @@ -2935,6 +2106,7 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "uri": "MM-double-volvox.bam", }, "index": { + "indexType": "BAI", "location": { "locationType": "UriLocation", "uri": "MM-double-volvox.bam.bai", @@ -2955,28 +2127,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "category": [ "Methylation", ], - "displays": [ - { - "displayId": "MM-double-volvox-LinearAlignmentsDisplay", - "type": "LinearAlignmentsDisplay", - }, - { - "displayId": "MM-double-volvox-LinearPileupDisplay", - "type": "LinearPileupDisplay", - }, - { - "displayId": "MM-double-volvox-LinearSNPCoverageDisplay", - "type": "LinearSNPCoverageDisplay", - }, - { - "displayId": "MM-double-volvox-LinearReadArcsDisplay", - "type": "LinearReadArcsDisplay", - }, - { - "displayId": "MM-double-volvox-LinearReadCloudDisplay", - "type": "LinearReadCloudDisplay", - }, - ], "name": "MM-double-volvox", "trackId": "MM-double-volvox", "type": "AlignmentsTrack", @@ -2988,6 +2138,7 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "uri": "MM-multi-volvox.bam", }, "index": { + "indexType": "BAI", "location": { "locationType": "UriLocation", "uri": "MM-multi-volvox.bam.bai", @@ -3008,28 +2159,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "category": [ "Methylation", ], - "displays": [ - { - "displayId": "MM-multi-volvox-LinearAlignmentsDisplay", - "type": "LinearAlignmentsDisplay", - }, - { - "displayId": "MM-multi-volvox-LinearPileupDisplay", - "type": "LinearPileupDisplay", - }, - { - "displayId": "MM-multi-volvox-LinearSNPCoverageDisplay", - "type": "LinearSNPCoverageDisplay", - }, - { - "displayId": "MM-multi-volvox-LinearReadArcsDisplay", - "type": "LinearReadArcsDisplay", - }, - { - "displayId": "MM-multi-volvox-LinearReadCloudDisplay", - "type": "LinearReadCloudDisplay", - }, - ], "name": "MM-multi-volvox", "trackId": "MM-multi-volvox", "type": "AlignmentsTrack", @@ -3041,6 +2170,7 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "uri": "MM-orient-volvox.bam", }, "index": { + "indexType": "BAI", "location": { "locationType": "UriLocation", "uri": "MM-orient-volvox.bam.bai", @@ -3061,28 +2191,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "category": [ "Methylation", ], - "displays": [ - { - "displayId": "MM-orient-volvox-LinearAlignmentsDisplay", - "type": "LinearAlignmentsDisplay", - }, - { - "displayId": "MM-orient-volvox-LinearPileupDisplay", - "type": "LinearPileupDisplay", - }, - { - "displayId": "MM-orient-volvox-LinearSNPCoverageDisplay", - "type": "LinearSNPCoverageDisplay", - }, - { - "displayId": "MM-orient-volvox-LinearReadArcsDisplay", - "type": "LinearReadArcsDisplay", - }, - { - "displayId": "MM-orient-volvox-LinearReadCloudDisplay", - "type": "LinearReadCloudDisplay", - }, - ], "name": "MM-orient-volvox", "trackId": "MM-orient-volvox", "type": "AlignmentsTrack", @@ -3107,16 +2215,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "category": [ "Miscellaneous", ], - "displays": [ - { - "displayId": "single_exon_gene-LinearBasicDisplay", - "type": "LinearBasicDisplay", - }, - { - "displayId": "single_exon_gene-LinearArcDisplay", - "type": "LinearArcDisplay", - }, - ], "name": "Single exon gene", "trackId": "single_exon_gene", "type": "FeatureTrack", @@ -3135,16 +2233,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "category": [ "Miscellaneous", ], - "displays": [ - { - "displayId": "gtf_plain_text_test-LinearBasicDisplay", - "type": "LinearBasicDisplay", - }, - { - "displayId": "gtf_plain_text_test-LinearArcDisplay", - "type": "LinearArcDisplay", - }, - ], "name": "GTF - volvox.sorted.gtf", "textSearching": { "indexingAttributes": [ @@ -3157,6 +2245,7 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` { "adapter": { "index": { + "indexType": "TBI", "location": { "locationType": "UriLocation", "uri": "volvox.inv.vcf.gz.tbi", @@ -3178,28 +2267,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "category": [ "Variants", ], - "displays": [ - { - "displayId": "volvox.inv.vcf-LinearVariantDisplay", - "type": "LinearVariantDisplay", - }, - { - "displayId": "volvox.inv.vcf-LinearVariantMatrixDisplay", - "type": "LinearVariantMatrixDisplay", - }, - { - "displayId": "volvox.inv.vcf-MultiLinearVariantDisplay", - "type": "MultiLinearVariantDisplay", - }, - { - "displayId": "volvox.inv.vcf-ChordVariantDisplay", - "type": "ChordVariantDisplay", - }, - { - "displayId": "volvox.inv.vcf-LinearPairedArcDisplay", - "type": "LinearPairedArcDisplay", - }, - ], "name": "volvox inversions", "trackId": "volvox.inv.vcf", "type": "VariantTrack", @@ -3244,22 +2311,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` }, "type": "LinearAlignmentsDisplay", }, - { - "displayId": "Deep sequencing-LinearPileupDisplay", - "type": "LinearPileupDisplay", - }, - { - "displayId": "Deep sequencing-LinearSNPCoverageDisplay", - "type": "LinearSNPCoverageDisplay", - }, - { - "displayId": "Deep sequencing-LinearReadArcsDisplay", - "type": "LinearReadArcsDisplay", - }, - { - "displayId": "Deep sequencing-LinearReadCloudDisplay", - "type": "LinearReadCloudDisplay", - }, ], "name": "Deep sequencing", "trackId": "Deep sequencing", @@ -3317,12 +2368,11 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "displays": [ { "displayId": "arc_track_linear", + "renderer": { + "type": "ArcRenderer", + }, "type": "LinearArcDisplay", }, - { - "displayId": "arc_track-LinearBasicDisplay", - "type": "LinearBasicDisplay", - }, ], "name": "FromConfig Track (defaults to LinearArcDisplay)", "trackId": "arc_track", @@ -3335,6 +2385,7 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "uri": "spliced.bam", }, "index": { + "indexType": "BAI", "location": { "locationType": "UriLocation", "uri": "spliced.bam.bai", @@ -3355,28 +2406,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "category": [ "Alignments", ], - "displays": [ - { - "displayId": "spliced-LinearAlignmentsDisplay", - "type": "LinearAlignmentsDisplay", - }, - { - "displayId": "spliced-LinearPileupDisplay", - "type": "LinearPileupDisplay", - }, - { - "displayId": "spliced-LinearSNPCoverageDisplay", - "type": "LinearSNPCoverageDisplay", - }, - { - "displayId": "spliced-LinearReadArcsDisplay", - "type": "LinearReadArcsDisplay", - }, - { - "displayId": "spliced-LinearReadCloudDisplay", - "type": "LinearReadCloudDisplay", - }, - ], "name": "volvox-rnaseq demo", "trackId": "spliced", "type": "AlignmentsTrack", @@ -3399,16 +2428,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "category": [ "Integration test", ], - "displays": [ - { - "displayId": "volvox.filtered.lowercase-LinearBasicDisplay", - "type": "LinearBasicDisplay", - }, - { - "displayId": "volvox.filtered.lowercase-LinearArcDisplay", - "type": "LinearArcDisplay", - }, - ], "name": "volvox.filtered.lowercase", "trackId": "volvox.filtered.lowercase", "type": "FeatureTrack", @@ -3416,7 +2435,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` { "adapter": { "pafLocation": { - "locationType": "UriLocation", "uri": "volvox_del.paf", }, "queryAssembly": "volvox_del", @@ -3430,24 +2448,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "category": [ "Synteny", ], - "displays": [ - { - "displayId": "volvox_del.paf-DotplotDisplay", - "type": "DotplotDisplay", - }, - { - "displayId": "volvox_del.paf-LinearComparativeDisplay", - "type": "LinearComparativeDisplay", - }, - { - "displayId": "volvox_del.paf-LinearSyntenyDisplay", - "type": "LinearSyntenyDisplay", - }, - { - "displayId": "volvox_del.paf-LGVSyntenyDisplay", - "type": "LGVSyntenyDisplay", - }, - ], "name": "volvox_del.paf", "trackId": "volvox_del.paf", "type": "SyntenyTrack", @@ -3455,7 +2455,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` { "adapter": { "pafLocation": { - "locationType": "UriLocation", "uri": "volvox_ins.paf", }, "queryAssembly": "volvox_ins", @@ -3469,24 +2468,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "category": [ "Synteny", ], - "displays": [ - { - "displayId": "volvox_ins.paf-DotplotDisplay", - "type": "DotplotDisplay", - }, - { - "displayId": "volvox_ins.paf-LinearComparativeDisplay", - "type": "LinearComparativeDisplay", - }, - { - "displayId": "volvox_ins.paf-LinearSyntenyDisplay", - "type": "LinearSyntenyDisplay", - }, - { - "displayId": "volvox_ins.paf-LGVSyntenyDisplay", - "type": "LGVSyntenyDisplay", - }, - ], "name": "volvox_ins.paf", "trackId": "volvox_ins.paf", "type": "SyntenyTrack", @@ -3509,28 +2490,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "category": [ "Variants", ], - "displays": [ - { - "displayId": "variant_effect_demo_data-LinearVariantDisplay", - "type": "LinearVariantDisplay", - }, - { - "displayId": "variant_effect_demo_data-LinearVariantMatrixDisplay", - "type": "LinearVariantMatrixDisplay", - }, - { - "displayId": "variant_effect_demo_data-MultiLinearVariantDisplay", - "type": "MultiLinearVariantDisplay", - }, - { - "displayId": "variant_effect_demo_data-ChordVariantDisplay", - "type": "ChordVariantDisplay", - }, - { - "displayId": "variant_effect_demo_data-LinearPairedArcDisplay", - "type": "LinearPairedArcDisplay", - }, - ], "name": "Ensembl VEP example", "trackId": "variant_effect_demo_data", "type": "VariantTrack", @@ -3553,28 +2512,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "category": [ "Variants", ], - "displays": [ - { - "displayId": "variant_effect_demo_jannovar-LinearVariantDisplay", - "type": "LinearVariantDisplay", - }, - { - "displayId": "variant_effect_demo_jannovar-LinearVariantMatrixDisplay", - "type": "LinearVariantMatrixDisplay", - }, - { - "displayId": "variant_effect_demo_jannovar-MultiLinearVariantDisplay", - "type": "MultiLinearVariantDisplay", - }, - { - "displayId": "variant_effect_demo_jannovar-ChordVariantDisplay", - "type": "ChordVariantDisplay", - }, - { - "displayId": "variant_effect_demo_jannovar-LinearPairedArcDisplay", - "type": "LinearPairedArcDisplay", - }, - ], "name": "Jannovar example", "trackId": "variant_effect_demo_jannovar", "type": "VariantTrack", @@ -3598,24 +2535,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "category": [ "Synteny", ], - "displays": [ - { - "displayId": "volvox-rev-del-DotplotDisplay", - "type": "DotplotDisplay", - }, - { - "displayId": "volvox-rev-del-LinearComparativeDisplay", - "type": "LinearComparativeDisplay", - }, - { - "displayId": "volvox-rev-del-LinearSyntenyDisplay", - "type": "LinearSyntenyDisplay", - }, - { - "displayId": "volvox-rev-del-LGVSyntenyDisplay", - "type": "LGVSyntenyDisplay", - }, - ], "name": "volvox-rev-del", "trackId": "volvox-rev-del", "type": "SyntenyTrack", @@ -3631,16 +2550,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "assemblyNames": [ "volvox-rev-del", ], - "displays": [ - { - "displayId": "volvox-rev-del-annotations-LinearBasicDisplay", - "type": "LinearBasicDisplay", - }, - { - "displayId": "volvox-rev-del-annotations-LinearArcDisplay", - "type": "LinearArcDisplay", - }, - ], "name": "volvox-rev-del-annotations", "trackId": "volvox-rev-del-annotations", "type": "FeatureTrack", @@ -3652,6 +2561,7 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "uri": "volvox-simple-inv.bam", }, "index": { + "indexType": "BAI", "location": { "locationType": "UriLocation", "uri": "volvox-simple-inv.bam.bai", @@ -3672,28 +2582,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "category": [ "Alignments", ], - "displays": [ - { - "displayId": "volvox-simple-inv.bam-LinearAlignmentsDisplay", - "type": "LinearAlignmentsDisplay", - }, - { - "displayId": "volvox-simple-inv.bam-LinearPileupDisplay", - "type": "LinearPileupDisplay", - }, - { - "displayId": "volvox-simple-inv.bam-LinearSNPCoverageDisplay", - "type": "LinearSNPCoverageDisplay", - }, - { - "displayId": "volvox-simple-inv.bam-LinearReadArcsDisplay", - "type": "LinearReadArcsDisplay", - }, - { - "displayId": "volvox-simple-inv.bam-LinearReadCloudDisplay", - "type": "LinearReadCloudDisplay", - }, - ], "name": "volvox-simple-inv.bam", "trackId": "volvox-simple-inv.bam", "type": "AlignmentsTrack", @@ -3723,28 +2611,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "category": [ "Alignments", ], - "displays": [ - { - "displayId": "volvox-simple-inv.cram-LinearAlignmentsDisplay", - "type": "LinearAlignmentsDisplay", - }, - { - "displayId": "volvox-simple-inv.cram-LinearPileupDisplay", - "type": "LinearPileupDisplay", - }, - { - "displayId": "volvox-simple-inv.cram-LinearSNPCoverageDisplay", - "type": "LinearSNPCoverageDisplay", - }, - { - "displayId": "volvox-simple-inv.cram-LinearReadArcsDisplay", - "type": "LinearReadArcsDisplay", - }, - { - "displayId": "volvox-simple-inv.cram-LinearReadCloudDisplay", - "type": "LinearReadCloudDisplay", - }, - ], "name": "volvox-simple-inv.cram", "trackId": "volvox-simple-inv.cram", "type": "AlignmentsTrack", @@ -3774,28 +2640,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "category": [ "Alignments", ], - "displays": [ - { - "displayId": "volvox-simple-inv-paired.cram-LinearAlignmentsDisplay", - "type": "LinearAlignmentsDisplay", - }, - { - "displayId": "volvox-simple-inv-paired.cram-LinearPileupDisplay", - "type": "LinearPileupDisplay", - }, - { - "displayId": "volvox-simple-inv-paired.cram-LinearSNPCoverageDisplay", - "type": "LinearSNPCoverageDisplay", - }, - { - "displayId": "volvox-simple-inv-paired.cram-LinearReadArcsDisplay", - "type": "LinearReadArcsDisplay", - }, - { - "displayId": "volvox-simple-inv-paired.cram-LinearReadCloudDisplay", - "type": "LinearReadCloudDisplay", - }, - ], "name": "volvox-simple-inv-paired.cram", "trackId": "volvox-simple-inv-paired.cram", "type": "AlignmentsTrack", @@ -3807,6 +2651,7 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "uri": "volvox-simple-inv-paired.bam", }, "index": { + "indexType": "BAI", "location": { "locationType": "UriLocation", "uri": "volvox-simple-inv-paired.bam.bai", @@ -3827,28 +2672,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "category": [ "Alignments", ], - "displays": [ - { - "displayId": "volvox-simple-inv-paired.bam-LinearAlignmentsDisplay", - "type": "LinearAlignmentsDisplay", - }, - { - "displayId": "volvox-simple-inv-paired.bam-LinearPileupDisplay", - "type": "LinearPileupDisplay", - }, - { - "displayId": "volvox-simple-inv-paired.bam-LinearSNPCoverageDisplay", - "type": "LinearSNPCoverageDisplay", - }, - { - "displayId": "volvox-simple-inv-paired.bam-LinearReadArcsDisplay", - "type": "LinearReadArcsDisplay", - }, - { - "displayId": "volvox-simple-inv-paired.bam-LinearReadCloudDisplay", - "type": "LinearReadCloudDisplay", - }, - ], "name": "volvox-simple-inv-paired.bam", "trackId": "volvox-simple-inv-paired.bam", "type": "AlignmentsTrack", @@ -3872,24 +2695,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "category": [ "Synteny", ], - "displays": [ - { - "displayId": "volvox_inv_indels-DotplotDisplay", - "type": "DotplotDisplay", - }, - { - "displayId": "volvox_inv_indels-LinearComparativeDisplay", - "type": "LinearComparativeDisplay", - }, - { - "displayId": "volvox_inv_indels-LinearSyntenyDisplay", - "type": "LinearSyntenyDisplay", - }, - { - "displayId": "volvox_inv_indels-LGVSyntenyDisplay", - "type": "LGVSyntenyDisplay", - }, - ], "name": "volvox_inv_indels", "trackId": "volvox_inv_indels", "type": "SyntenyTrack", @@ -3919,28 +2724,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "category": [ "Alignments", ], - "displays": [ - { - "displayId": "volvox-inv-pbsim-LinearAlignmentsDisplay", - "type": "LinearAlignmentsDisplay", - }, - { - "displayId": "volvox-inv-pbsim-LinearPileupDisplay", - "type": "LinearPileupDisplay", - }, - { - "displayId": "volvox-inv-pbsim-LinearSNPCoverageDisplay", - "type": "LinearSNPCoverageDisplay", - }, - { - "displayId": "volvox-inv-pbsim-LinearReadArcsDisplay", - "type": "LinearReadArcsDisplay", - }, - { - "displayId": "volvox-inv-pbsim-LinearReadCloudDisplay", - "type": "LinearReadCloudDisplay", - }, - ], "name": "volvox-inv-pbsim", "trackId": "volvox-inv-pbsim", "type": "AlignmentsTrack", @@ -3952,6 +2735,7 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "uri": "paired_end_stranded_rnaseq.bam", }, "index": { + "indexType": "BAI", "location": { "locationType": "UriLocation", "uri": "paired_end_stranded_rnaseq.bam.bai", @@ -3972,28 +2756,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "category": [ "Alignments", ], - "displays": [ - { - "displayId": "paired_end_stranded_rnaseq-LinearAlignmentsDisplay", - "type": "LinearAlignmentsDisplay", - }, - { - "displayId": "paired_end_stranded_rnaseq-LinearPileupDisplay", - "type": "LinearPileupDisplay", - }, - { - "displayId": "paired_end_stranded_rnaseq-LinearSNPCoverageDisplay", - "type": "LinearSNPCoverageDisplay", - }, - { - "displayId": "paired_end_stranded_rnaseq-LinearReadArcsDisplay", - "type": "LinearReadArcsDisplay", - }, - { - "displayId": "paired_end_stranded_rnaseq-LinearReadCloudDisplay", - "type": "LinearReadCloudDisplay", - }, - ], "name": "volvox-stranded-rnaseq", "trackId": "paired_end_stranded_rnaseq", "type": "AlignmentsTrack", @@ -4012,16 +2774,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "category": [ "Miscellaneous", ], - "displays": [ - { - "displayId": "arc_test-LinearBasicDisplay", - "type": "LinearBasicDisplay", - }, - { - "displayId": "arc_test-LinearArcDisplay", - "type": "LinearArcDisplay", - }, - ], "name": "Arc test track", "trackId": "arc_test", "type": "FeatureTrack", @@ -4045,22 +2797,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "displayId": "volvox_bedpe-LinearPairedArcDisplay", "type": "LinearPairedArcDisplay", }, - { - "displayId": "volvox_bedpe-LinearVariantDisplay", - "type": "LinearVariantDisplay", - }, - { - "displayId": "volvox_bedpe-LinearVariantMatrixDisplay", - "type": "LinearVariantMatrixDisplay", - }, - { - "displayId": "volvox_bedpe-MultiLinearVariantDisplay", - "type": "MultiLinearVariantDisplay", - }, - { - "displayId": "volvox_bedpe-ChordVariantDisplay", - "type": "ChordVariantDisplay", - }, ], "name": "BEDPE arcs", "trackId": "volvox_bedpe", @@ -4073,6 +2809,7 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "volvox", ], "index": { + "indexType": "TBI", "location": { "locationType": "UriLocation", "uri": "volvox_ins.pif.gz.tbi", @@ -4091,24 +2828,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "category": [ "Synteny", ], - "displays": [ - { - "displayId": "volvox_ins.pif-DotplotDisplay", - "type": "DotplotDisplay", - }, - { - "displayId": "volvox_ins.pif-LinearComparativeDisplay", - "type": "LinearComparativeDisplay", - }, - { - "displayId": "volvox_ins.pif-LinearSyntenyDisplay", - "type": "LinearSyntenyDisplay", - }, - { - "displayId": "volvox_ins.pif-LGVSyntenyDisplay", - "type": "LGVSyntenyDisplay", - }, - ], "name": "volvox_ins.pif", "trackId": "volvox_ins.pif", "type": "SyntenyTrack", @@ -4127,16 +2846,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "category": [ "Integration test", ], - "displays": [ - { - "displayId": "test-LinearBasicDisplay", - "type": "LinearBasicDisplay", - }, - { - "displayId": "test-LinearArcDisplay", - "type": "LinearArcDisplay", - }, - ], "name": "Multi-part feature segments", "trackId": "test", "type": "FeatureTrack", @@ -4166,28 +2875,6 @@ exports[`JBrowse model creates with non-empty snapshot 1`] = ` "category": [ "Integration test", ], - "displays": [ - { - "displayId": "volvox-sorted.noref.cram-LinearAlignmentsDisplay", - "type": "LinearAlignmentsDisplay", - }, - { - "displayId": "volvox-sorted.noref.cram-LinearPileupDisplay", - "type": "LinearPileupDisplay", - }, - { - "displayId": "volvox-sorted.noref.cram-LinearSNPCoverageDisplay", - "type": "LinearSNPCoverageDisplay", - }, - { - "displayId": "volvox-sorted.noref.cram-LinearReadArcsDisplay", - "type": "LinearReadArcsDisplay", - }, - { - "displayId": "volvox-sorted.noref.cram-LinearReadCloudDisplay", - "type": "LinearReadCloudDisplay", - }, - ], "name": "volvox-sorted.cram (noref)", "trackId": "volvox-sorted.noref.cram", "type": "AlignmentsTrack", diff --git a/products/jbrowse-web/src/rootModel/rootModel.test.ts b/products/jbrowse-web/src/rootModel/rootModel.test.ts index 2a9bc923db..aa5b33c55a 100644 --- a/products/jbrowse-web/src/rootModel/rootModel.test.ts +++ b/products/jbrowse-web/src/rootModel/rootModel.test.ts @@ -99,7 +99,7 @@ test('adds track and connection configs to an assembly', () => { type: 'FeatureTrack', trackId: 'trackId0', }) - expect(getSnapshot(newTrackConf)).toMatchSnapshot() + expect(newTrackConf).toMatchSnapshot() expect(root.jbrowse.tracks.length).toBe(1) const newConnectionConf = root.jbrowse.addConnectionConf({ type: 'JBrowse1Connection', diff --git a/products/jbrowse-web/src/tests/Loader.test.tsx b/products/jbrowse-web/src/tests/Loader.test.tsx index 3ef18ccfd7..850be20c14 100644 --- a/products/jbrowse-web/src/tests/Loader.test.tsx +++ b/products/jbrowse-web/src/tests/Loader.test.tsx @@ -140,13 +140,6 @@ test('can use config from a url with nonexistent share param ', async () => { await findAllByText(/Error/, {}, delay) }, 20000) -test('can catch error from loading a bad config', async () => { - const { findAllByText } = render( - , - ) - await findAllByText(/Error while converting/) -}, 20000) - test('can use a spec url for lgv', async () => { const { findByText, findByPlaceholderText } = render( ,