Error test on e2e

This commit is contained in:
Laurent Nguyen 2024-07-08 12:38:34 +02:00
parent 556f7b866f
commit 124e3764f7

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.getByText("Select a region");
const regionDropdown = explorer.frame.getByText("Select a region2");
await regionDropdown.click();
const firstOption = explorer.frame.getByRole("option").first();
await firstOption.waitFor();