Attempt to fix e2e test
This commit is contained in:
parent
2a8f1a3be0
commit
9745bcd2ef
|
@ -7,7 +7,7 @@ test("Self Serve", async ({ page }) => {
|
||||||
const loggingToggle = explorer.frame.locator("#enableLogging-toggle-input");
|
const loggingToggle = explorer.frame.locator("#enableLogging-toggle-input");
|
||||||
await expect(loggingToggle).toBeEnabled();
|
await expect(loggingToggle).toBeEnabled();
|
||||||
|
|
||||||
const regionDropdown = explorer.frame.getByText("Select a region");
|
const regionDropdown = explorer.frame.locator("#regions-dropdown-input");
|
||||||
await regionDropdown.click();
|
await regionDropdown.click();
|
||||||
const firstOption = explorer.frame.getByRole("option").first();
|
const firstOption = explorer.frame.getByRole("option").first();
|
||||||
await firstOption.waitFor();
|
await firstOption.waitFor();
|
||||||
|
|
Loading…
Reference in New Issue