From e4a2e97a218a50ed2fb0fabb714cdce96fcef3da Mon Sep 17 00:00:00 2001 From: "Dylan M. Taylor" Date: Fri, 20 Nov 2026 15:44:25 -0500 Subject: [PATCH] Exercise search during an in-progress zoom --- crates/ui-egui/tests/it/search_position.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/ui-egui/tests/it/search_position.rs b/crates/ui-egui/tests/it/search_position.rs index ed597f642c..1ca0f4a2e9 100644 --- a/crates/ui-egui/tests/it/search_position.rs +++ b/crates/ui-egui/tests/it/search_position.rs @@ -237,7 +237,8 @@ fn zooming_and_stepping_in_any_order_shows_the_match() { /// the zoom keeps it where it went instead of holding the point under the pointer still. #[test] fn a_step_during_a_wheel_zoom_keeps_the_match_on_screen() { - let mut h = harness(); + // Quarter-second harness frames complete the zoom before the search step arrives. + let mut h = harness_dt(1.0 / 60.0); h.set_option("animation_effects", "on").unwrap(); set_zoom(&mut h, 3.0); settle(&mut h);