mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-26 01:26:39 +00:00
Control bar: the narrow-window test checks Crop Image's Apply and Cancel
The wide-window case for the Crop Image tool now also expects Apply and Cancel, so the test fails if either button is left out of the Control bar in a wide window.
This commit is contained in:
@@ -4108,7 +4108,7 @@ fn the_control_bar_s_controls_stay_inside_the_bar_in_a_narrow_window() {
|
||||
wide(&mut app, "an embedded image", &["Unembed…", "Image Trace", "Mask", "Crop Image", "Remove Background"]);
|
||||
app.select_tool(vectorcraft_tools::cropimage::ID);
|
||||
check(&mut app, "Crop Image");
|
||||
wide(&mut app, "Crop Image", &["PPI", "X:", "Y:", "W:", "H:"]);
|
||||
wide(&mut app, "Crop Image", &["PPI", "X:", "Y:", "W:", "H:", "Apply", "Cancel"]);
|
||||
app.select_tool("selection");
|
||||
app.run("imageTrace.make", json!({"preset": "Default"})).unwrap();
|
||||
let trace = selected(&app);
|
||||
|
||||
Reference in New Issue
Block a user