diff --git a/tests/acceptance/variant_view.js b/tests/acceptance/variant_view.js index ae7d0b37..05c1a421 100644 --- a/tests/acceptance/variant_view.js +++ b/tests/acceptance/variant_view.js @@ -239,7 +239,7 @@ test.describe('Variant View - Human RS exclusive to accessioning', function() { "table", "submitted-variant-summary", expectedResults, variantView.checkSection); }); -test.describe('Variant View - RS with multiple entires', function() { +test.describe('Variant View - RS with multiple entries', function() { var driver; test.before(function() { driver = config.initDriver(config.browser()); @@ -250,7 +250,10 @@ test.describe('Variant View - RS with multiple entires', function() { config.shutdownDriver(driver); }); - var expectedResults = [{"Organism": "rat", "Assembly": "GCA_015227675.2 (mRatBN7.2)", + var expectedResults = [{"Organism": "rat", "Assembly": "GCA_036323735.1 (GRCr8)", + "Chromosome/Contig accession": "CM070391.1", "Chromosome": "1", "Start": "160105635", + "ID": "rs105032341", "Type": "SNV", "Created Date": "5 December 2024"}, + {"Organism": "rat", "Assembly": "GCA_015227675.2 (mRatBN7.2)", "Chromosome/Contig accession": "CM026974.1", "Chromosome": "1", "Start": "150694351", "ID": "rs105032341", "Type": "SNV", "Created Date": "1 December 2021"}, {"Organism": "rat", "Assembly": "GCA_000001895.4 (Rnor_6.0)", @@ -274,7 +277,19 @@ test.describe('Variant View - RS with multiple entires', function() { "End": "161315554", "Reference": "G", "Alternate": "C", "Created Date": "3 January 2010"}, {"ID": "ss93228403", "Study": "ENSEMBL_RAT_COMPUTATIONAL_CELERA", "Assembly": "GCA_000002265.1 (Rn_Celera)", "Chromosome/Contig accession": "CM000231.2", "Chromosome": "1", "Start": "148800140", - "End": "148800140", "Reference": "G", "Alternate": "C", "Created Date": "3 January 2010"} + "End": "148800140", "Reference": "G", "Alternate": "C", "Created Date": "3 January 2010"}, + {"ID": "ss93228403", "Study": "ENSEMBL_RAT_COMPUTATIONAL_CELERA", "Assembly": "GCA_036323735.1 (GRCr8)", + "Chromosome/Contig accession": "CM070391.1", "Chromosome": "1", "Start": "160105635", + "End": "160105635", "Reference": "G", "Alternate": "C", "Created Date": "3 January 2010"}, + {"ID": "ss7306907838", "Study": "PRJEB42012", "Assembly": "GCA_036323735.1 (GRCr8)", + "Chromosome/Contig accession": "CM070391.1", "Chromosome": "1", "Start": "160105635", + "End": "160105635", "Reference": "G", "Alternate": "C", "Created Date": "8 February 2021"}, + {"ID": "ss11827767621", "Study": "PRJEB79361", "Assembly": "GCA_036323735.1 (GRCr8)", + "Chromosome/Contig accession": "CM070391.1", "Chromosome": "1", "Start": "160105635", + "End": "160105635", "Reference": "G", "Alternate": "C", "Created Date": "29 August 2024"}, + {"ID": "ss11827767621", "Study": "PRJEB79361", "Assembly": "GCA_015227675.2 (mRatBN7.2)", + "Chromosome/Contig accession": "CM026974.1", "Chromosome": "1", "Start": "150694351", + "End": "150694351", "Reference": "G", "Alternate": "C", "Created Date": "29 August 2024"} ]; variantView.runTableTestNew("Submitted Variant Section", "Submitted Variant Section has the correct values for attributes", "table", "submitted-variant-summary", expectedResults);