Skip to content

Your lightweight open-source personal agent.

test(webui): allow 150ms for large graph page tasks

Xubin Ren3404fe83e22b
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);
});