From 3fea71f9054cf54f706d71a129d938eaf9053715 Mon Sep 17 00:00:00 2001 From: Theo Sanderson Date: Thu, 31 Oct 2024 13:49:58 +0000 Subject: [PATCH] adjust tests --- website/tests/pages/submission/template.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/tests/pages/submission/template.spec.ts b/website/tests/pages/submission/template.spec.ts index 469da83ee..a3ec54cc6 100644 --- a/website/tests/pages/submission/template.spec.ts +++ b/website/tests/pages/submission/template.spec.ts @@ -17,7 +17,7 @@ test.describe('The submit page', () => { expect(download.suggestedFilename()).toBe('Test_Dummy_Organism_metadata_template.tsv'); const content = await getDownloadedContent(download); - expect(content).toStrictEqual('submissionId\tcountry\tdate\tdivision\thost\tpangoLineage\tregion\n'); + expect(content).toStrictEqual('submissionId\tcountry\tdate\tdivision\thost\tpangoLineage\tregion\tversionComment\n'); }); test('should download the metadata file template for revision', async ({ @@ -35,7 +35,7 @@ test.describe('The submit page', () => { expect(download.suggestedFilename()).toBe('Test_Dummy_Organism_metadata_revision_template.tsv'); const content = await getDownloadedContent(download); - expect(content).toStrictEqual('accession\tsubmissionId\tcountry\tdate\tdivision\thost\tpangoLineage\tregion\n'); + expect(content).toStrictEqual('accession\tsubmissionId\tcountry\tdate\tdivision\thost\tpangoLineage\tregion\tversionComment\n'); }); async function getDownloadedContent(download: Download) {