Revert "Wait for 5s after dropdown click"

This reverts commit 847e9ad33f.
This commit is contained in:
Laurent Nguyen 2024-07-08 14:48:42 +02:00
parent 847e9ad33f
commit c42a93f567

View File

@ -9,7 +9,6 @@ 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();