Wait for 5s after dropdown click
This commit is contained in:
parent
b06e886ac3
commit
847e9ad33f
|
@ -9,6 +9,7 @@ test("Self Serve", async ({ page }) => {
|
||||||
|
|
||||||
const regionDropdown = explorer.frame.getByText("Select a region");
|
const regionDropdown = explorer.frame.getByText("Select a region");
|
||||||
await regionDropdown.click();
|
await regionDropdown.click();
|
||||||
|
await page.waitForTimeout(5000);
|
||||||
const firstOption = explorer.frame.getByRole("option").first();
|
const firstOption = explorer.frame.getByRole("option").first();
|
||||||
await firstOption.waitFor();
|
await firstOption.waitFor();
|
||||||
await firstOption.click();
|
await firstOption.click();
|
||||||
|
|
Loading…
Reference in New Issue