diff --git a/crates/ui-egui/tests/scenarios.rs b/crates/ui-egui/tests/scenarios.rs index fb4b84d6..f19144c3 100644 --- a/crates/ui-egui/tests/scenarios.rs +++ b/crates/ui-egui/tests/scenarios.rs @@ -55,7 +55,8 @@ scenarios!( s35_construction_mode, s36_sketch_palette_visible, s32_cut_in_active_component, - s30_pattern_a_hole + s30_pattern_a_hole, + s41_type_value_after_picking ); /// Scenarios written ahead of their fixes or features (the user's open bugs): run with diff --git a/crates/ui-egui/tests/scenarios/s41_type_value_after_picking.json b/crates/ui-egui/tests/scenarios/s41_type_value_after_picking.json new file mode 100644 index 00000000..2cb4862e --- /dev/null +++ b/crates/ui-egui/tests/scenarios/s41_type_value_after_picking.json @@ -0,0 +1,14 @@ +[ + {"note": "Like Fusion, typing a number after picking the geometry goes into the dialog's heads-up value: Fillet after picking an edge, as Hole after picking a face and Extrude after opening do today."}, + {"start": "SketchCreate"}, {"click": {"plane": "XY"}}, + {"start": "ShapeRectangleTwoPoint"}, {"click": {"sketch": [0, 0]}}, {"click": {"sketch": [60, 40]}}, {"key": "Escape"}, + {"start": "SketchStop"}, + {"call": "ui.view", "params": {"view": "home"}}, + {"start": "Extrude"}, {"text": "15"}, {"key": "Enter"}, + {"expect": {"volume": 36000}}, + {"start": "FusionFilletEdgesCommand"}, + {"click": {"world": [30, 0, 15]}}, + {"text": "3"}, + {"key": "Enter"}, + {"expect": {"dialog": null, "volume": 35884.13}} +]