mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-02 06:20:48 +01:00
Pen Enter tests: look the Make buttons up by their new labels
The Make row's buttons are Selection… and Shape since #12993; the tests of #12892 still asked for Make Selection and Make Shape and failed on main. Co-Authored-By: Claude Fable 5.2 <[email protected]>
This commit is contained in:
1 parent
ec40f3912a
commit
0ef215dc8b
1 file changed
+1
-1
@@ -35,7 +35,7 @@ fn listed(h: &Harness<'static, PhotocraftApp>) -> bool {
|
||||
}
|
||||
|
||||
fn make_buttons_enabled(h: &Harness<'static, PhotocraftApp>) -> [bool; 2] {
|
||||
["Make Selection", "Make Shape"].map(|label| !h.get_by_label(label).accesskit_node().is_disabled())
|
||||
["Selection…", "Shape"].map(|label| !h.get_by_label(label).accesskit_node().is_disabled())
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
||||
Reference in new issue
Block a user