Wait for 5s after dropdown click

This commit is contained in:
Laurent Nguyen 2024-07-08 14:35:53 +02:00
parent b06e886ac3
commit 847e9ad33f
1 changed files with 1 additions and 0 deletions

View File

@ -9,6 +9,7 @@ test("Self Serve", async ({ page }) => {
const regionDropdown = explorer.frame.getByText("Select a region");
await regionDropdown.click();
await page.waitForTimeout(5000);
const firstOption = explorer.frame.getByRole("option").first();
await firstOption.waitFor();
await firstOption.click();