diff --git a/playwright.config.ts b/playwright.config.ts index b1f6a622d..3a00bdffa 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -11,8 +11,8 @@ export default defineConfig({ reporter: process.env.CI ? "blob" : "html", timeout: 10 * 60 * 1000, use: { - trace: "off", - video: "off", + trace: "on-first-retry", + video: "on-first-retry", screenshot: "on", testIdAttribute: "data-test", contextOptions: { diff --git a/test/sql/scaleAndSettings/scale.spec.ts b/test/sql/scaleAndSettings/scale.spec.ts index a71960d28..40531572a 100644 --- a/test/sql/scaleAndSettings/scale.spec.ts +++ b/test/sql/scaleAndSettings/scale.spec.ts @@ -42,9 +42,12 @@ test.describe("Autoscale and Manual throughput", () => { await expect(explorer.commandBarButton(CommandBarButton.Save)).toBeEnabled(); await explorer.commandBarButton(CommandBarButton.Save).click(); - await expect(explorer.getConsoleMessage()).toContainText(`Successfully updated offer for collection ${containerId}`, { - timeout: ONE_MINUTE_MS, - }); + await expect(explorer.getConsoleMessage()).toContainText( + `Successfully updated offer for collection ${containerId}`, + { + timeout: ONE_MINUTE_MS, + }, + ); }; test("Update autoscale max throughput", async ({ page }) => {