Revert "Attempt to fix e2e test"

This reverts commit 9745bcd2ef.
This commit is contained in:
Laurent Nguyen 2024-07-08 12:31:33 +02:00
parent 9745bcd2ef
commit 7d0a2d1188

View File

@ -7,7 +7,7 @@ test("Self Serve", async ({ page }) => {
const loggingToggle = explorer.frame.locator("#enableLogging-toggle-input");
await expect(loggingToggle).toBeEnabled();
const regionDropdown = explorer.frame.locator("#regions-dropdown-input");
const regionDropdown = explorer.frame.getByText("Select a region");
await regionDropdown.click();
const firstOption = explorer.frame.getByRole("option").first();
await firstOption.waitFor();