mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-06-05 15:12:04 +01:00
fix waitFor in playwright
This commit is contained in:
parent
db511207b4
commit
325cbdd188
@ -10,7 +10,7 @@ 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();
|
||||||
const firstOption = explorer.frame.getByRole("option").first();
|
const firstOption = explorer.frame.getByRole("option").first();
|
||||||
firstOption.waitFor();
|
await firstOption.waitFor();
|
||||||
await firstOption.click();
|
await firstOption.click();
|
||||||
|
|
||||||
const currentRegionLabel = explorer.frame.getByLabel("Current Region");
|
const currentRegionLabel = explorer.frame.getByLabel("Current Region");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user