openpencil/tests/engine
Danila Poyarkov 362212b712 Populate instance children from components on .fig import
During .fig import, instance nodes have no children — Figma expects
them to be cloned from their component. The componentId references
used original Figma GUIDs that didn't match our generated node IDs.

Fix:
- Track original GUID → new node ID mapping during import
- Remap all instance componentId references after node creation
- Iteratively populate empty instances from their components
  (multiple passes needed since cloning creates new instances)
2026-03-04 10:55:29 +03:00
..
abspos-cache.test.ts Improve zoom smoothness, add absolute position cache (#21) 2026-03-03 11:44:31 +03:00
clipboard.test.ts Apply instance symbolOverrides on clipboard paste 2026-03-03 23:26:29 +03:00
effects-and-resize.test.ts Fix effects rendering: shadows, blur, spread (#24) 2026-03-03 09:53:39 +03:00
eval-cli.test.ts Fix broken MCP and eval-cli tests 2026-03-04 01:38:26 +03:00
export-jsx.test.ts Add Code tab with JSX export and syntax highlighting 2026-03-01 12:12:45 +03:00
fig-import.test.ts Detect component sets and skip internal canvas on paste 2026-03-03 23:20:55 +03:00
fig-roundtrip.test.ts Add .fig roundtrip tests: real file parsing, property invariants, encode/decode cycle 2026-03-01 10:33:58 +03:00
figma-api.test.ts Fill Figma Plugin API gaps: 29 new tests, 30+ new properties and methods 2026-03-01 13:35:02 +03:00
fonts.test.ts Extract collectFontKeys into core and add font tests 2026-03-04 10:16:26 +03:00
individual-strokes.test.ts Add stroke align, individual side strokes, and side selector UI 2026-03-04 09:47:14 +03:00
layout.test.ts Populate instance children from components on .fig import 2026-03-04 10:55:29 +03:00
mcp-server.test.ts Fix fileRoot test: await async exportFigFile 2026-03-03 17:19:49 +03:00
mcp.test.ts Fix broken MCP and eval-cli tests 2026-03-04 01:38:26 +03:00
multi-selection.test.ts Multi-selection properties panel with tests 2026-03-03 20:35:51 +03:00
render.test.ts JSX renderer in @open-pencil/core 2026-03-01 10:42:06 +03:00
renderer-effects.test.ts Cache effect ImageFilters and reuse layer paint 2026-03-03 10:12:02 +03:00
scene-graph.test.ts Add variables support: collections, modes, bindings, UI panel 2026-03-01 01:47:52 +03:00
tools-ai-adapter.test.ts Unify tool definitions: define once, adapt for AI/CLI/MCP 2026-03-01 15:02:05 +03:00
tools-cli.test.ts Unify tool definitions: define once, adapt for AI/CLI/MCP 2026-03-01 15:02:05 +03:00
tools.test.ts Unify tool definitions: define once, adapt for AI/CLI/MCP 2026-03-01 15:02:05 +03:00