From 5d9c3818a5e145e5e302de90ed9fb48387d50fcd Mon Sep 17 00:00:00 2001 From: Brandon Thomas Date: Sun, 25 Oct 2026 13:49:12 -0400 Subject: [PATCH] Tests: the Slide Size preset test opens the dialog's own combo box (egui 0.37 exposes the ribbon's too) Co-Authored-By: Claude Opus 5.5 --- crates/ui-egui/src/units_tests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ui-egui/src/units_tests.rs b/crates/ui-egui/src/units_tests.rs index 0256098f..af3059b0 100644 --- a/crates/ui-egui/src/units_tests.rs +++ b/crates/ui-egui/src/units_tests.rs @@ -168,7 +168,7 @@ fn a_slide_size_preset_gives_its_exact_size() { (Unit::Inches, "A4 Paper (210x297 mm)", (780.0, 540.0)), ] { let mut h = slide_size_dialog(units, 720.0, 540.0); - h.get_by_role(Role::ComboBox).click(); + h.get_by_role_and_label(Role::ComboBox, "Slides sized for:").click(); h.run_steps(2); h.get_by_label(label).click(); h.run_steps(2);