mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-06-07 08:02:36 +01:00
Revert "Try to select dropdown item by xpath selector"
This reverts commit 8eb42a64e23cee589a7c0a809c039ecc7867b7ba.
This commit is contained in:
parent
8eb42a64e2
commit
5316ae1002
@ -9,8 +9,7 @@ test("Self Serve", async ({ page }) => {
|
||||
|
||||
const regionDropdown = explorer.frame.getByText("Select a region");
|
||||
await regionDropdown.click();
|
||||
await page.waitForSelector("xpath=//button[@role='option'");
|
||||
const firstOption = explorer.frame.locator("xpath=//button[@role='option'").first();
|
||||
const firstOption = explorer.frame.getByRole("option").first();
|
||||
await firstOption.waitFor();
|
||||
await firstOption.click();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user