Fix-up: theme test picks System from Backstage Options' Display theme combo (#318 after #331)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Brandon Thomas 2026-10-11 12:31:17 -04:00
parent 4d2335c8f5
commit abbd8181b9
1 changed files with 4 additions and 1 deletions

View File

@ -181,7 +181,10 @@ fn title_bar_switch_and_file_menu_choose_the_theme() {
// File opens Backstage; its Options page holds the Office Theme choice (#331).
h.get_by_label("File").click();
h.run_steps(3);
h.get_by_label("Options").click();
h.get_by_role_and_label(egui::accesskit::Role::Button, "Options").click();
h.run_steps(3);
// The first combo box on the page is Display theme.
h.get_all_by_role(egui::accesskit::Role::ComboBox).next().expect("theme combo").click();
h.run_steps(3);
h.get_by_label("System").click();
h.run_steps(3);