Skip to content

armgit / TREK

Public Imported from GitHub
0

The most complete open-source travel planner: real-time collaboration, bookings, budgets, packing lists, journals, offline PWA, SSO and an AI-ready MCP server, with planet-wide place search and routing built in.

test(studio): the shape swap test finds the ellipse by its translated name

Maurice5a8ff16afa2a
diff --git a/client/tests/unit/studio/inspector.test.tsx b/client/tests/unit/studio/inspector.test.tsx
index 0ae60f69c..88727f162 100644
--- a/client/tests/unit/studio/inspector.test.tsx
+++ b/client/tests/unit/studio/inspector.test.tsx
@@ -487,7 +487,7 @@ describe('a shape', () => {
load([shape({ shape: 'rect', fill: '#c2410c' })])
const { container } = draw()
- fireEvent.click(container.querySelector('.st-mini-shapes [aria-label="ellipse"]')!)
+ fireEvent.click(container.querySelector('.st-mini-shapes [aria-label="journey.studio.shapeName.ellipse"]')!)
expect(el()).toMatchObject({ shape: 'ellipse', fill: '#c2410c', frame: FRAME })
})