From 7f75dfc2bcd5a1ccf3d3275d316c5b65fe10b846 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Wed, 7 Oct 2026 12:09:00 +0000 Subject: [PATCH] fix(web): format empty-project E2E; stabilize chart-links cold Plot load Co-authored-by: cynarAI --- apps/web/e2e/chart-links.spec.ts | 6 +++--- apps/web/e2e/empty-project-state.spec.ts | 4 +--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/apps/web/e2e/chart-links.spec.ts b/apps/web/e2e/chart-links.spec.ts index 94db42a..87bd712 100644 --- a/apps/web/e2e/chart-links.spec.ts +++ b/apps/web/e2e/chart-links.spec.ts @@ -52,7 +52,7 @@ test("chart links cannot execute script when clicked or expanded", async ({ page }); test("chart links retain supported URLs and browser encoding semantics", async ({ page }) => { - test.setTimeout(120_000); + test.setTimeout(240_000); await page.route("https://example.test/**", (route) => route.fulfill({ body: "Chart destination" }), ); @@ -60,8 +60,8 @@ test("chart links retain supported URLs and browser encoding semantics", async ( route.fulfill({ body: "Chart destination" }), ); // Each test gets a fresh browser context, so this one pays the cold Plot import too. - await page.goto(`${fixture}?${new URLSearchParams({ href: "#details" })}`); - await expect(page.locator("svg circle").first()).toBeVisible({ timeout: 90_000 }); + await page.goto(`${fixture}?${new URLSearchParams({ href: "#details", inspect: "0" })}`); + await expect(page.locator("svg circle").first()).toBeVisible({ timeout: 120_000 }); for (const href of [ "https://example.test/chart?a=1&b=2", "mailto:chart@example.test", diff --git a/apps/web/e2e/empty-project-state.spec.ts b/apps/web/e2e/empty-project-state.spec.ts index 45eddd6..821a391 100644 --- a/apps/web/e2e/empty-project-state.spec.ts +++ b/apps/web/e2e/empty-project-state.spec.ts @@ -14,9 +14,7 @@ test("empty project space offers Start before the main conversation exists", asy const groups = (json.groups as Array<{ spaceId: string }>).filter( (group) => group.spaceId !== side.id, ); - const bots = (json.bots as Array<{ spaceId: string }>).filter( - (bot) => bot.spaceId !== side.id, - ); + const bots = (json.bots as Array<{ spaceId: string }>).filter((bot) => bot.spaceId !== side.id); const spaces = ( json.spaces as Array<{ id: string;