mirror of
https://github.com/penpot/penpot.git
synced 2026-11-19 16:40:38 +00:00
* 🔧 Test unique layer names in the file builder The builder read used names from :unames while track-used-name wrote them to ::unames, so two boards without a name both ended up as "Board". #12794 fixed the key. These tests cover it: two unnamed boards get "Board" and "Board-1", and two names that clean to the same path get "-1" on the second one. Both fail with the old key. AI-assisted-by: claude-opus-5-5 * 🔧 Test that component root names count as used names #12794 also made add-component register the renamed main instance name. A shape added later with the same name must get "-1". The test fails without that track-used-name call. AI-assisted-by: claude-opus-5-5 * 🔧 Test per-page unique names and anonymous components The builder tracks used names per page, so the same name on two pages stays unchanged. A component without a name is called "anonymous". Each test fails without the code it covers. AI-assisted-by: claude-opus-5-5