mirror of
https://github.com/storytold/deckcraft.git
synced 2026-11-05 09:59:18 +00:00
Merge pull request #1645
test: make the language-dialog test independent of installed dictionaries
This commit is contained in:
commit
0d45a64db2
1 file changed
+2
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user