We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 82d1733 commit ce85872Copy full SHA for ce85872
integration-tests/tests/pages/search.page.ts
@@ -63,6 +63,11 @@ export class SearchPage {
63
has: this.page.locator('summary', { hasText: 'Sequence Metadata Filters' }),
64
});
65
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 });
71
await select.selectOption({ value: option });
72
await expect(select).toHaveValue(option);
73
0 commit comments