From f97f1529c16d4e036cd974396ba819448aec5673 Mon Sep 17 00:00:00 2001 From: Theo Sanderson Date: Fri, 20 Sep 2024 00:54:42 +0100 Subject: [PATCH] hmm --- website/tests/pages/sequences/sequences.page.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/tests/pages/sequences/sequences.page.ts b/website/tests/pages/sequences/sequences.page.ts index fed8723bd..b3b486f67 100644 --- a/website/tests/pages/sequences/sequences.page.ts +++ b/website/tests/pages/sequences/sequences.page.ts @@ -18,7 +18,7 @@ export class SequencePage { constructor(public readonly page: Page) { this.loadButton = this.page.getByRole('button', { name: 'Load sequences' }); this.specificProteinTab = this.page.getByRole('button', { name: 'Amino acid sequences' }); - this.geneDropdown = this.page.getByText('Select a protein'); + this.geneDropdown = this.page.locator('text=Select a protein').locator('..').locator('select'); this.allVersions = this.page.getByRole('link', { name: `All versions`, });