Skip to content

Commit

Permalink
adjust templates test
Browse files Browse the repository at this point in the history
  • Loading branch information
theosanderson authored Feb 18, 2025
1 parent f13919f commit 9881be2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/tests/pages/submission/template.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ test.describe('The submit page', () => {

let download = await revisePage.downloadTsvMetadataTemplate();

const expectedHeaders = ['accession', 'submissionId', 'country', 'date'];
const expectedHeaders = ['accession', 'id', 'country', 'date'];

expect(download.suggestedFilename()).toBe('Test_Dummy_Organism_metadata_revision_template.tsv');
const content = await getDownloadedContentAsString(download);
expect(content).toStrictEqual('accession\tsubmissionId\tcountry\tdate\n');
expect(content).toStrictEqual('accession\tid\tcountry\tdate\n');

download = await revisePage.downloadXlsxMetadataTemplate();
expect(download.suggestedFilename()).toBe('Test_Dummy_Organism_metadata_revision_template.xlsx');
Expand Down

0 comments on commit 9881be2

Please sign in to comment.