pcbjam/tests/kicad
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Gergő Törcsvári 2ee87889fa
feat(pcbnew): collab adds board text natively (PCB_TEXT) incl. justification
A board-level graphic text (Place→Text) lands in Drawings() and would otherwise hit the
same asyncify-fragile (kicad_pcb …) envelope-blob wall as via/zone on add. So PCB_TEXT
reconstructs NATIVELY: itemToJson emits size/thickness/angle plus horizontal & vertical
justification, mirror, and bold/italic (the text string was already emitted for any
EDA_TEXT); makeItem builds a fresh PCB_TEXT and restores all of them. flushDiff skips the
blob for PCB_TEXT_T. Footprint child text is unaffected — it syncs by move, and its add
is carried by the footprint blob.

Justification matters: it anchors the glyphs relative to the text POSITION, so without it
a left-justified text reconstructed centered on the peer and rendered visibly offset even
though GetPosition() matched (which is why the anchor-only headless check missed it).

Verified two-tab in the real app: a left/bottom-justified bold text added in tab A
reconstructs in tab B at the exact position with matching justification + string. Headless:
a board-text round-trip add test (sample text is left/bottom-justified) asserts the
position AND that hjust/vjust/text round-trip. 7 passed, 1 skipped, 0 aborts.

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 feat(pcbnew): collab adds board text natively (PCB_TEXT) incl. justification 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