pipe view-2: fixes for view (4 tests)

This commit is contained in:
Dylan M. Taylor committed 2026-11-20 02:27:08 -05:00
1 parent 24733b3d56
commit c896fd8a89
1 file changed
+2 -1
+2 -1
View File
@@ -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]