mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-12-19 00:41:31 +00:00
2nd attempt to fix example test
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user