From 3404fe83e22b7b2cb3edae1348ed45dd9b8ad051 Mon Sep 17 00:00:00 2001 From: Xubin Ren <52506698+Re-bin@users.noreply.github.com> Date: Fri, 6 Nov 2026 21:37:59 +0800 Subject: [PATCH] test(webui): allow 150ms for large graph page tasks --- webui/browser/context-graph.spec.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/webui/browser/context-graph.spec.ts b/webui/browser/context-graph.spec.ts index 03ceb370b..dd167c8fc 100644 --- a/webui/browser/context-graph.spec.ts +++ b/webui/browser/context-graph.spec.ts @@ -172,7 +172,9 @@ test("500 reduced-motion nodes settle over multiple frames and are all painted", await expect.poll(() => page.evaluate(() => window.graphDrawTrace.arcs), { timeout: 15000 }).toBe(500); const trace = await page.evaluate(() => window.graphDrawTrace); expect(trace.frames).toBeGreaterThan(2); - expect(trace.maxTask).toBeLessThan(100); + // Allow 50ms of headroom in this page-wide CI budget; layout settlement still + // targets separate 4ms slices. This is not an input-latency guarantee. + expect(trace.maxTask).toBeLessThan(150); });