pcbjam/tests/kicad
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Gergő Törcsvári f60abaa349
fix(pcbnew): collab syncs footprint silkscreen text; un-no-op test-move helper
Bug 1 — footprint child text now syncs. forEachTopItem also visits each footprint's
TEXT children by their own uuid (GetFields() PCB_FIELDs + GraphicalItems() PCB_TEXT),
so moving a silkscreen reference/value/user text — which leaves the footprint origin
unchanged — produces a diff. Apply needed only a guard: the removed loop skips items
with a parent footprint (a footprint delete cascades to its children, so don't
double-remove). ResolveItem already resolves child uuids and BOARD_COMMIT::undoLevelItem
rolls a child Modify up to the footprint, so Modify+SetPosition (in the existing
COROUTINE) just works. itemToJson now carries text for EDA_TEXT items.

Bug 2 — kicadCollabTestMoveFirst no longer no-ops. Its CallAfter now runs the move
inside a COROUTINE fiber (like doApply) so the virtual BOARD_ITEM::Move dispatches
instead of asyncify-no-opping.

Tests: sample board gains a footprint with a Reference field + user fp_text; snapshot
test asserts the footprint and both text children are emitted by uuid; a new test
moves each child by uuid and asserts the footprint origin stays put. 3 pass, 1 skipped.
Verified two-tab in the real app: C1's reference text move syncs A->B, no footprint moves.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-09 06:03:59 +02:00
..
utils tests: load-pcb e2e for microwave + pic_programmer demos 2026-05-29 09:51:18 +02:00
calculator.spec.ts add calculator build 2026-05-28 17:28:17 +02:00
eeschema-collab.spec.ts fix(eeschema): wasm dialog positioning (web .window CSS) + collab SCH_SHAPE add via coroutine fiber stack 2026-06-05 13:56:43 +02:00
eeschema-load.spec.ts fix(wasm): self-heal fiber trampoline so schematic load doesn't hang 2026-06-02 20:32:25 +02:00
eeschema-ui.spec.ts fix(eeschema-wasm): quasi-modal dialogs no longer freeze; Backspace deletes selection 2026-06-05 13:56:42 +02:00
eeschema-url-regex.spec.ts test(eeschema): guard URL-detection wxRegEx UTF-8 fix + bump wxwidgets 2026-06-02 20:32:25 +02:00
eeschema.spec.ts feat(schematic): eeschema WASM build + e2e harness 2026-05-29 16:01:17 +02:00
fixtures.ts Organize test logs into separate directories by test suite and file 2025-12-27 16:35:40 +01:00
gerbview.spec.ts feat: gerbview WASM port 2026-06-03 14:23:57 +02:00
load-pcb-probe.spec.ts tests: load-pcb e2e for microwave + pic_programmer demos 2026-05-29 09:51:18 +02:00
load-pcb.spec.ts test: 💍 fix test cases 2026-06-05 11:42:01 +02:00
pcbnew-collab.spec.ts fix(pcbnew): collab syncs footprint silkscreen text; un-no-op test-move helper 2026-06-09 06:03:59 +02:00
pcbnew.spec.ts test: 💍 fix test cases 2026-06-05 11:42:01 +02:00
pl_editor-collab.spec.ts feat(pl_editor): Yjs collaborative bridge — differ/apply + generic reconciler (yjs-bridge commit 2) 2026-06-05 13:56:41 +02:00
pl_editor-load.spec.ts test(e2e): web-app tool open-path suite + pl_editor open/wizard-skip 2026-06-03 08:52:34 +02:00
pl_editor-uuid.spec.ts feat(pl_editor): add KIID m_Uuid + (uuid) to .kicad_wks format (yjs-bridge commit 1) 2026-06-05 13:56:38 +02:00
pl_editor.spec.ts test(e2e): web-app tool open-path suite + pl_editor open/wizard-skip 2026-06-03 08:52:34 +02:00
symbol_editor.spec.ts feat: symbol_editor WASM port 2026-06-02 13:37:26 +02:00
zoom-cursor.spec.ts fix(view): use zoom-to-cursor in WASM canvas (browser can't warp pointer for center-on-zoom) 2026-06-08 10:37:08 +02:00