2nd attempt to fix example test
This commit is contained in:
parent
38bb1ae591
commit
db511207b4
|
@ -9,7 +9,9 @@ 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 explorer.frame.getByRole("option").first().click();
|
const firstOption = explorer.frame.getByRole("option").first();
|
||||||
|
firstOption.waitFor();
|
||||||
|
await firstOption.click();
|
||||||
|
|
||||||
const currentRegionLabel = explorer.frame.getByLabel("Current Region");
|
const currentRegionLabel = explorer.frame.getByLabel("Current Region");
|
||||||
await currentRegionLabel.waitFor();
|
await currentRegionLabel.waitFor();
|
||||||
|
|
Loading…
Reference in New Issue