From b88f23686f37c2cb91200659cf36aaa734a32a43 Mon Sep 17 00:00:00 2001 From: "Dylan M. Taylor" Date: Sun, 22 Nov 2026 06:29:54 -0500 Subject: [PATCH] Reload test: the save-over prompt's button is production's "Save anyway" --- crates/ui-egui/src/app/reload.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ui-egui/src/app/reload.rs b/crates/ui-egui/src/app/reload.rs index fcdf8e0729..657cf8addd 100644 --- a/crates/ui-egui/src/app/reload.rs +++ b/crates/ui-egui/src/app/reload.rs @@ -304,7 +304,7 @@ mod tests { assert!(!app.save_active(&egui::Context::default(), SaveTarget::InPlace), "asks before writing over B"); r.steps(2); assert_eq!(r.doc().info.pages.len(), 2, "B waits while the question is open"); - r.h.get_by_label("Replace").click(); + r.h.get_by_label("Save anyway").click(); r.steps(4); let d = r.doc();