Skip to content

Commit ce85872

Browse files
committed
testing
1 parent 82d1733 commit ce85872

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

integration-tests/tests/pages/search.page.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,11 @@ export class SearchPage {
6363
has: this.page.locator('summary', { hasText: 'Sequence Metadata Filters' }),
6464
});
6565
const select = outer.getByRole('combobox', { name: fieldLabel });
66+
await select.focus();
67+
await expect(async () => {
68+
const options = await select.locator('option:not([value=\"\"])').count();
69+
expect(options).toBeGreaterThan(0);
70+
}).toPass({ timeout: 10000 });
6671
await select.selectOption({ value: option });
6772
await expect(select).toHaveValue(option);
6873

0 commit comments

Comments
 (0)