mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-11-10 21:11:52 +00:00
Test: pick the camera panel's Crop pages button now that the quick toolbar has one
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
4cfafa2356
commit
0e7e6a0020
1 file changed
+2
-1
@@ -147,7 +147,8 @@ fn after_enhance_page_crop_and_organize_take_over() {
|
||||
h.get_by_label("Enhance page").click();
|
||||
h.run_steps(4);
|
||||
assert_eq!(h.state().views[0].camera_done.map(|d| d.page), Some(0));
|
||||
h.get_by_label(button).click();
|
||||
// The quick toolbar also has a "Crop pages" button; the camera panel's pill is the first match.
|
||||
h.get_all_by_label(button).next().unwrap().click();
|
||||
h.run_steps(3);
|
||||
assert_eq!(h.state().quick_tool, then, "{button}");
|
||||
assert_eq!(h.state().views[0].camera_done, None, "{button}");
|
||||
|
||||
Reference in new issue
Block a user