Add assertion for repeater properties in path inspector integration tests

This commit is contained in:
2026-05-13 03:55:45 +02:00
parent 8ed0f46371
commit 8c52cb7953

View File

@@ -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"