fix(web): format empty-project E2E; stabilize chart-links cold Plot load
Co-authored-by: cynarAI <cynarAI@users.noreply.github.com>
This commit is contained in:
parent
8c948050b9
commit
7f75dfc2bc
@ -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",
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user