mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-12-01 10:45:31 +01:00
pipe view-2: fixes for view (4 tests)
This commit is contained in:
1 parent
24733b3d56
commit
c896fd8a89
1 file changed
+2
-1
@@ -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]
|
||||
|
||||
Reference in new issue
Block a user