From 2f64aac1e6da1a522dca7fd68c72fde122813362 Mon Sep 17 00:00:00 2001 From: abc2cb Date: Thu, 15 Oct 2026 09:50:35 +0300 Subject: [PATCH] fix(test): reload tests pin the English interface like every other harness (#2239) unsaved_changes_are_kept_until_reload_is_chosen looked for the English notice while the app followed the developer's system language (Auto), so it failed on a non-English Windows. Co-authored-by: abc2cb <271337822+abc2cb@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 Co-authored-by: Brandon Thomas --- crates/ui-egui/tests/reload.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/ui-egui/tests/reload.rs b/crates/ui-egui/tests/reload.rs index fb530093f..d9e6b142b 100644 --- a/crates/ui-egui/tests/reload.rs +++ b/crates/ui-egui/tests/reload.rs @@ -80,6 +80,8 @@ fn harness(path: &str) -> Harness<'static, PdfCraftApp> { app.set_option("language", "en").unwrap(); // The labels looked for are English, whatever the machine's language. app.set_option("language", "en").unwrap(); + // The labels below are English whatever the developer's system language is. + app.set_option("language", "en").unwrap(); app.run_inline = true; app.open_path(&path); app