From b121d8d0088720d5a34cf72e8af78c89f2a0cf11 Mon Sep 17 00:00:00 2001 From: jyviko <2501648+jyviko@users.noreply.github.com> Date: Wed, 28 Oct 2026 21:23:20 -0400 Subject: [PATCH] frames tests: the moved combine tool's part is made ungrounded a_combine_tool_stays_where_it_is_placed makes a part and then moves its occurrence to check that a combine tool stays where it is placed. Since #2804 the design's first part is grounded when it is made, so the occurrence.move refused and the test never reached its question. The part is now made with grounded: false, as a part that is meant to be moved is; the checks are unchanged. Co-Authored-By: Claude Opus 5.5 --- crates/engine/src/frames_tests.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/engine/src/frames_tests.rs b/crates/engine/src/frames_tests.rs index 8047a3ed1..e67f940a0 100644 --- a/crates/engine/src/frames_tests.rs +++ b/crates/engine/src/frames_tests.rs @@ -377,7 +377,8 @@ fn an_explicit_sketch_plane_is_read_in_the_frame_asked_for() { #[test] fn a_combine_tool_stays_where_it_is_placed() { let mut s = Session::default(); - run(&mut s, "component.create", json!({"name": "Part"})); + // The design's first part is grounded when it is made (#2804); this one is moved. + run(&mut s, "component.create", json!({"name": "Part", "grounded": false})); run(&mut s, "solid.box", json!({"length": 40, "width": 40, "height": 10, "corner": [-20, -20, 0], "body_name": "Plate"})); run(&mut s, "component.activate", json!({"component": "root"})); run(&mut s, "occurrence.move", json!({"occurrence": "Part:1", "axis": [1, 0, 0], "angle": "90 deg"}));