From 759308404ee3a62dc286e2fda015fe86f8210655 Mon Sep 17 00:00:00 2001 From: Sameh Khamis Date: Wed, 11 Nov 2026 17:33:52 -0800 Subject: [PATCH] draw.motion.live measures from the wall time it drew at The icon moves past its own width in about a quarter of a second, and a new renderer's first frame can come that late: the check now reads where it should be from the wall time after that frame, its delay and its 'not at wall time' unchanged. --- src/render/conformance/checks/ports.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/render/conformance/checks/ports.js b/src/render/conformance/checks/ports.js index 14a5cce84..e7727a91c 100644 --- a/src/render/conformance/checks/ports.js +++ b/src/render/conformance/checks/ports.js @@ -1329,8 +1329,11 @@ export function portChecks() { const s = r.query.project(p); return r.query.drillPick(s.x, s.y).some((x) => x.set === 'conf:live'); }; - ok(pickAt(along(0.5)), 'drawn delayMs behind wall time'); - ok(!pickAt(along(0.7)), 'not at wall time'); + // Measured from the wall time it was drawn at: a first frame may + // come a while after the set was made. + const late = (h.wallTime(r) - w) / 10000; + ok(pickAt(along(0.5 + late)), 'drawn delayMs behind wall time'); + ok(!pickAt(along(0.7 + late)), 'not at wall time'); ok(!pickAt(from), 'not held at the start by the scene clock'); // A second of frames later it has moved on by the wall time passed. await drawn(h, r, 60);