From 8c52cb79538710e9255169958f43a732ec44d101 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Wed, 13 May 2026 03:55:45 +0200 Subject: [PATCH] Add assertion for repeater properties in path inspector integration tests --- tests/unit/path-inspector.integration.test.tsx | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/tests/unit/path-inspector.integration.test.tsx b/tests/unit/path-inspector.integration.test.tsx index 66c8b5b6..f917b791 100644 --- a/tests/unit/path-inspector.integration.test.tsx +++ b/tests/unit/path-inspector.integration.test.tsx @@ -226,6 +226,18 @@ describe("Path inspector", () => { value: "15" } }); + await waitFor(() => { + expect( + store.getState().document.paths[createdPath.id]?.repeaters[0] + ).toMatchObject({ + assetId: "fence_post_wood", + enabled: true, + placement: "right", + offset: 2.25, + spacing: 3, + yawOffsetDegrees: 15 + }); + }); fireEvent.change(screen.getByTestId("path-point-1-z"), { target: { value: "2"