mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2026-06-12 15:37:27 +01:00
fix autoscale selector
This commit is contained in:
@@ -115,7 +115,7 @@ test.describe("Autoscale and Manual throughput", () => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const switchManualToAutoscaleThroughput = async (): Promise<void> => {
|
const switchManualToAutoscaleThroughput = async (): Promise<void> => {
|
||||||
const autoscaleRadioButton = explorer.frame.getByText("Autoscale");
|
const autoscaleRadioButton = explorer.frame.getByText("Autoscale", { exact: true });
|
||||||
await autoscaleRadioButton.click();
|
await autoscaleRadioButton.click();
|
||||||
await expect(explorer.commandBarButton(CommandBarButton.Save)).toBeEnabled();
|
await expect(explorer.commandBarButton(CommandBarButton.Save)).toBeEnabled();
|
||||||
await explorer.commandBarButton(CommandBarButton.Save).click();
|
await explorer.commandBarButton(CommandBarButton.Save).click();
|
||||||
|
|||||||
Reference in New Issue
Block a user