Merge pull request #1645

test: make the language-dialog test independent of installed dictionaries
This commit is contained in:
Brandon Thomas
2026-11-02 04:53:51 -05:00
+2 -1
View File
@@ -999,7 +999,8 @@ fn the_language_dialog_marks_the_selected_text() {
harness.state_mut().run("app.dialog", json!({"id": "language"})).unwrap();
// The anchored window settles over its first frames; click once it stays put.
harness.run_steps(4);
harness.get_by_label("Français (France)").click();
// Installed dictionaries append a marker to the language's accessible label.
harness.get_by_label_contains("Français (France)").click();
harness.run_steps(2);
harness.get_by_label("OK").click();
harness.run_steps(2);