From 0ef215dc8b217b74b2f8b692ff59224ca3982e29 Mon Sep 17 00:00:00 2001 From: ljkx <177671075+ljkx@users.noreply.github.com> Date: Tue, 10 Nov 2026 23:18:54 +0100 Subject: [PATCH] Pen Enter tests: look the Make buttons up by their new labels MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- crates/ui-egui/src/tools/vector_ui/pen_enter_deselects_tests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ui-egui/src/tools/vector_ui/pen_enter_deselects_tests.rs b/crates/ui-egui/src/tools/vector_ui/pen_enter_deselects_tests.rs index 589a2b5e07..47bc54d80c 100644 --- a/crates/ui-egui/src/tools/vector_ui/pen_enter_deselects_tests.rs +++ b/crates/ui-egui/src/tools/vector_ui/pen_enter_deselects_tests.rs @@ -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]