From f88b1d77ffa1fcbf6ffba8f71ed8ac4c0499f39a Mon Sep 17 00:00:00 2001 From: Asier Isayas Date: Mon, 5 Jan 2026 15:46:34 -0500 Subject: [PATCH] run tests with no throughput limit on the account --- test/sql/scaleAndSettings/scale.spec.ts | 52 ++++++++++++------------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/test/sql/scaleAndSettings/scale.spec.ts b/test/sql/scaleAndSettings/scale.spec.ts index 81dd4d38c..b18913317 100644 --- a/test/sql/scaleAndSettings/scale.spec.ts +++ b/test/sql/scaleAndSettings/scale.spec.ts @@ -49,20 +49,20 @@ test.describe("Autoscale throughput", () => { ); }); - test("Update autoscale max throughput passed allowed limit", async () => { - // Get soft allowed max throughput and remove commas - const softAllowedMaxThroughputString = await explorer.frame - .getByTestId("soft-allowed-maximum-throughput") - .innerText(); - const softAllowedMaxThroughput = Number(softAllowedMaxThroughputString.replace(/,/g, "")); + // test("Update autoscale max throughput passed allowed limit", async () => { + // // Get soft allowed max throughput and remove commas + // const softAllowedMaxThroughputString = await explorer.frame + // .getByTestId("soft-allowed-maximum-throughput") + // .innerText(); + // const softAllowedMaxThroughput = Number(softAllowedMaxThroughputString.replace(/,/g, "")); - // Try to set autoscale max throughput above allowed limit - await getThroughputInput(explorer, "autopilot").fill((softAllowedMaxThroughput * 10).toString()); - await expect(explorer.commandBarButton(CommandBarButton.Save)).toBeDisabled(); - await expect(getThroughputInputErrorMessage(explorer, "autopilot")).toContainText( - "This update isn't possible because it would increase the total throughput", - ); - }); + // // Try to set autoscale max throughput above allowed limit + // await getThroughputInput(explorer, "autopilot").fill((softAllowedMaxThroughput * 10).toString()); + // await expect(explorer.commandBarButton(CommandBarButton.Save)).toBeDisabled(); + // await expect(getThroughputInputErrorMessage(explorer, "autopilot")).toContainText( + // "This update isn't possible because it would increase the total throughput", + // ); + // }); test("Update autoscale max throughput with invalid increment", async () => { // Try to set autoscale max throughput with invalid increment @@ -120,20 +120,20 @@ test.describe("Manual throughput", () => { ); }); - test("Update manual throughput passed allowed limit", async () => { - // Get soft allowed max throughput and remove commas - const softAllowedMaxThroughputString = await explorer.frame - .getByTestId("soft-allowed-maximum-throughput") - .innerText(); - const softAllowedMaxThroughput = Number(softAllowedMaxThroughputString.replace(/,/g, "")); + // test("Update manual throughput passed allowed limit", async () => { + // // Get soft allowed max throughput and remove commas + // const softAllowedMaxThroughputString = await explorer.frame + // .getByTestId("soft-allowed-maximum-throughput") + // .innerText(); + // const softAllowedMaxThroughput = Number(softAllowedMaxThroughputString.replace(/,/g, "")); - // Try to set manual throughput above allowed limit - await getThroughputInput(explorer, "manual").fill((softAllowedMaxThroughput * 10).toString()); - await expect(explorer.commandBarButton(CommandBarButton.Save)).toBeDisabled(); - await expect(getThroughputInputErrorMessage(explorer, "manual")).toContainText( - "This update isn't possible because it would increase the total throughput", - ); - }); + // // Try to set manual throughput above allowed limit + // await getThroughputInput(explorer, "manual").fill((softAllowedMaxThroughput * 10).toString()); + // await expect(explorer.commandBarButton(CommandBarButton.Save)).toBeDisabled(); + // await expect(getThroughputInputErrorMessage(explorer, "manual")).toContainText( + // "This update isn't possible because it would increase the total throughput", + // ); + // }); }); // Helper methods