From 11802740816c975638458cec26a21d3ccbc9f7f4 Mon Sep 17 00:00:00 2001 From: Sameh Khamis Date: Sun, 13 Sep 2026 16:06:52 -0700 Subject: [PATCH] test(radio): settle both lanes in the paused Cockpit fixture --- scripts/qa-radio.mjs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/qa-radio.mjs b/scripts/qa-radio.mjs index d3c26471c..4a3e41fb2 100644 --- a/scripts/qa-radio.mjs +++ b/scripts/qa-radio.mjs @@ -2036,6 +2036,11 @@ async function main() { // qa-cockpit-utility exercises scheduling with the real controller. manager.cockpitView.scheduleContextLayout(); await new Promise((resolve) => requestAnimationFrame(() => requestAnimationFrame(resolve))); + // The paused synthetic controller also needs the accordion pass after + // the Context/HUD obstacle rectangles have settled. Measuring the old + // corridor here races the left lane against the newly visible card. + manager._syncLeftPanelAdaptiveLayout(); + await new Promise((resolve) => requestAnimationFrame(() => requestAnimationFrame(resolve))); }; const prior = { cockpit: document.body.classList.contains('cockpit-mode'),