From 34d726278dd3ad8a3ce38161a434ebfbbf5b1e4c Mon Sep 17 00:00:00 2001 From: "Dylan M. Taylor" Date: Fri, 20 Nov 2026 15:03:26 -0500 Subject: [PATCH] Reveal overlay controls before editing redaction codes --- crates/ui-egui/tests/it/redact.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/crates/ui-egui/tests/it/redact.rs b/crates/ui-egui/tests/it/redact.rs index d6bb4bf4b4..7eda9eef91 100644 --- a/crates/ui-egui/tests/it/redact.rs +++ b/crates/ui-egui/tests/it/redact.rs @@ -518,6 +518,10 @@ fn redaction_codes_become_the_overlay_text() { assert!(h.execute("redact.properties")); h.run_steps(2); h.get_by_role_and_label(Role::Dialog, "Redaction Tool Properties"); + // The long properties dialog opens scrolled below this row; bring it into view first. + h.get_by_label("Use overlay text").scroll_to_me(); + h.run_steps(3); + assert!(h.get_by_role_and_label(Role::Dialog, "Redaction Tool Properties").rect().contains_rect(h.get_by_label("Use overlay text").rect())); h.get_by_label("Use overlay text").click(); h.run_steps(2); h.get_by_label("Custom text").click();