From e4c2ffba3f53011b2c02313e400be53cb4c7f068 Mon Sep 17 00:00:00 2001 From: "Dylan M. Taylor" Date: Sat, 21 Nov 2026 19:55:10 -0500 Subject: [PATCH] Open border popover in selected text test --- crates/ui-egui/tests/it/fill_sign.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/ui-egui/tests/it/fill_sign.rs b/crates/ui-egui/tests/it/fill_sign.rs index 016a4fd243..0ad60674cb 100644 --- a/crates/ui-egui/tests/it/fill_sign.rs +++ b/crates/ui-egui/tests/it/fill_sign.rs @@ -481,6 +481,8 @@ fn the_toolbar_shows_and_changes_the_selected_texts_border() { h.state_mut() .apply_edit(&ctx_h, pdfcraft_engine::Edit::StyleAnnotation { page, index, color: None, opacity: None, width: Some(2.0), endings: None }); h.run_steps(3); + h.get_by_role_and_label(egui::accesskit::Role::Button, "Border").click(); + h.run_steps(2); assert!(shows(&h, "2 pt"), "the toolbar shows the selected text's border"); assert_eq!(h.state().fill_text_border, 0.0, "new text keeps none");