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:
ljkxandClaude Fable 5.2 committed 2026-11-10 23:18:54 +01:00
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]