mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-03 06:31:42 +01:00
test(ui): Fit Screen after Fill Screen leaves only the fit pending (#12026)
This commit is contained in:
1 parent
c7752cc184
commit
c5239ca4d6
1 file changed
+4
@@ -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];
|
||||
|
||||
Reference in new issue
Block a user