From d3200e464c8a0bf4ff04be09f93bd84e2e84d6ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gerg=C5=91=20T=C3=B6rcsv=C3=A1ri?= Date: Wed, 22 Jul 2026 10:40:55 +0200 Subject: [PATCH] fix(wasm): re-land eeschema-switch nav from 3dcfea5e45 + de-flake sim run-tool poll MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit kicad bump: re-apply only the nav hunk of 3dcfea5e45 (the 7/20 backout 92f18ef4ed was aimed at the WebGL GAL recovery/flush but took the nav with it, breaking web/tool-switch.spec.ts on both engines since). eeschema-sim spec: the Run tool's ENABLE(!simRunning) is a wxUpdateUIEvent condition the WASM port only re-evaluates on input events — after a run finishes the toolbar can hold its stale "running" state past the 60s poll (CI 29846684031: run finished, Run still disabled). Nudge the mouse inside the poll so the condition re-evaluates. Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_01APzCH3oxjLrZk6Nxepvczz --- kicad | 2 +- tests/kicad/eeschema-sim.spec.ts | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/kicad b/kicad index 91c9732..d06f653 160000 --- a/kicad +++ b/kicad @@ -1 +1 @@ -Subproject commit 91c9732e64a165c5d24aefc443b93af198b26774 +Subproject commit d06f653f0edc18b1f7cc6e52d0bb3be426a5cefa diff --git a/tests/kicad/eeschema-sim.spec.ts b/tests/kicad/eeschema-sim.spec.ts index daaab1f..679be23 100644 --- a/tests/kicad/eeschema-sim.spec.ts +++ b/tests/kicad/eeschema-sim.spec.ts @@ -75,9 +75,16 @@ async function runSimulation(page: import('@playwright/test').Page): Promise { + await page.mouse.move(4, 4); + await page.mouse.move(8, 8); const el = await findByTooltip(page, 'Run Simulation', { elementType: 'tool' }); return !!el && el.enabled; }, { timeout: 60000 })