From 1a2d2b0e4ea88ded316c8cb73344943fc70e420a Mon Sep 17 00:00:00 2001 From: Sindhu Balasubramanian Date: Tue, 13 Jan 2026 14:08:06 -0800 Subject: [PATCH] Fix errors --- .../scaleAndSettings/sharedThroughput.spec.ts | 21 ++++++++++++------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/test/sql/scaleAndSettings/sharedThroughput.spec.ts b/test/sql/scaleAndSettings/sharedThroughput.spec.ts index 45398c418..197f60354 100644 --- a/test/sql/scaleAndSettings/sharedThroughput.spec.ts +++ b/test/sql/scaleAndSettings/sharedThroughput.spec.ts @@ -180,9 +180,11 @@ test.describe("Database with Shared Throughput", () => { await explorer.commandBarButton(CommandBarButton.Save).click(); // Verify success message - await expect(explorer.getConsoleMessage()).toContainText( + await expect(explorer.getConsoleHeaderStatus()).toContainText( `Successfully updated offer for database ${dbContext.database.id}`, - { timeout: 2 * ONE_MINUTE_MS }, + { + timeout: 2 * ONE_MINUTE_MS, + }, ); }); @@ -206,10 +208,11 @@ test.describe("Database with Shared Throughput", () => { // Save changes await explorer.commandBarButton(CommandBarButton.Save).click(); - // Verify success message - await expect(explorer.getConsoleMessage()).toContainText( + await expect(explorer.getConsoleHeaderStatus()).toContainText( `Successfully updated offer for database ${dbContext.database.id}`, - { timeout: 2 * ONE_MINUTE_MS }, + { + timeout: 2 * ONE_MINUTE_MS, + }, ); }); }); @@ -255,9 +258,11 @@ test.describe("Database with Shared Throughput", () => { await explorer.commandBarButton(CommandBarButton.Save).click(); // Verify success message - await expect(explorer.getConsoleMessage()).toContainText( + await expect(explorer.getConsoleHeaderStatus()).toContainText( `Successfully updated offer for database ${dbContext.database.id}`, - { timeout: 2 * ONE_MINUTE_MS }, + { + timeout: 2 * ONE_MINUTE_MS, + }, ); }); @@ -279,7 +284,7 @@ test.describe("Database with Shared Throughput", () => { await explorer.commandBarButton(CommandBarButton.Save).click(); // Verify success message - await expect(explorer.getConsoleMessage()).toContainText( + await expect(explorer.getConsoleHeaderStatus()).toContainText( `Successfully updated offer for database ${dbContext.database.id}`, { timeout: 2 * ONE_MINUTE_MS }, );