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

This commit is contained in:
Xubin Ren committed 2026-11-06 21:56:50 +08:00
1 parent cdaae66c89
commit 3404fe83e2
1 file changed
+3 -1
+3 -1
View File
@@ -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);
});