From c896fd8a89174de7d13a205ca47a99583ddf716d Mon Sep 17 00:00:00 2001 From: "Dylan M. Taylor" Date: Fri, 20 Nov 2026 02:27:08 -0500 Subject: [PATCH] pipe view-2: fixes for view (4 tests) --- crates/ui-egui/tests/it/view.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/ui-egui/tests/it/view.rs b/crates/ui-egui/tests/it/view.rs index 1d9b138325..4a7b9f85ef 100644 --- a/crates/ui-egui/tests/it/view.rs +++ b/crates/ui-egui/tests/it/view.rs @@ -604,7 +604,8 @@ fn the_rail_zoom_field_sets_a_typed_zoom() { assert_eq!(h.state().views[0].zoom(), 64.0); h.state_mut().views[0].view.zoom = 2.0; h.run_steps(2); - assert_eq!(h.get_by_role_and_label(Role::SpinButton, "Zoom").value().as_deref(), Some("200%")); + // The number field paints the percent unit separately from its accessible text value. + assert_eq!(h.get_by_role_and_label(Role::SpinButton, "Zoom").value().as_deref(), Some("200")); } #[test]