diff --git a/crates/ui-egui/src/panels/options_bar/hand_tooltips_tests.rs b/crates/ui-egui/src/panels/options_bar/hand_tooltips_tests.rs index 127a5e91364..2b45db756ea 100644 --- a/crates/ui-egui/src/panels/options_bar/hand_tooltips_tests.rs +++ b/crates/ui-egui/src/panels/options_bar/hand_tooltips_tests.rs @@ -62,6 +62,10 @@ fn the_buttons_still_zoom_fit_and_fill() { h.run_steps(2); let v = &h.state().ui.views[0]; assert!(v.fill_pending && !v.fit_pending); + h.get_by_label("Fit Screen").click(); + h.run_steps(2); + let v = &h.state().ui.views[0]; + assert!(v.fit_pending && !v.fill_pending, "Fit after Fill"); h.get_by_label("100%").click(); h.run_steps(2); let v = &h.state().ui.views[0];