mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-02-16 17:25:58 +00:00
Revert "Use playwright selectOption to select dropdown option"
This reverts commit daa8cd09304f68093df2d94f4bd1139cb367465a.
This commit is contained in:
parent
daa8cd0930
commit
a33dd19438
@ -7,7 +7,11 @@ test("Self Serve", async ({ page }) => {
|
||||
const loggingToggle = explorer.frame.locator("#enableLogging-toggle-input");
|
||||
await expect(loggingToggle).toBeEnabled();
|
||||
|
||||
explorer.frame.getByText("Select a region").selectOption({ index: 0 });
|
||||
const regionDropdown = explorer.frame.getByText("Select a region");
|
||||
await regionDropdown.click();
|
||||
const firstOption = explorer.frame.getByRole("option").first();
|
||||
await firstOption.waitFor();
|
||||
await firstOption.click();
|
||||
|
||||
const currentRegionLabel = explorer.frame.getByLabel("Current Region");
|
||||
await currentRegionLabel.waitFor();
|
||||
|
Loading…
x
Reference in New Issue
Block a user