diff --git a/website/tests/pages/sequences/sequences.page.ts b/website/tests/pages/sequences/sequences.page.ts index b3b486f67..6431fa397 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.locator('text=Select a protein').locator('..').locator('select'); + this.geneDropdown = this.page.locator('select'); this.allVersions = this.page.getByRole('link', { name: `All versions`, });