diff --git a/codex-rs/tui/src/chatwidget/tests/status_and_layout.rs b/codex-rs/tui/src/chatwidget/tests/status_and_layout.rs index 9cc90c4c12..15498ec20e 100644 --- a/codex-rs/tui/src/chatwidget/tests/status_and_layout.rs +++ b/codex-rs/tui/src/chatwidget/tests/status_and_layout.rs @@ -243,8 +243,11 @@ async fn daybreak_refusal_offers_enable_for_the_next_turn() { } )) ); - chat.open_feedback_consent(crate::app_event::FeedbackCategory::SafetyCheck); - assert!(render_bottom_popup(&chat, /*width*/ 80).contains("Upload logs?")); + chat.open_feedback_consent( + crate::app_event::FeedbackCategory::SafetyCheck, + /*can_save*/ true, + ); + assert!(render_bottom_popup(&chat, /*width*/ 80).contains("Include logs and session history?")); chat.handle_key_event(KeyCode::Esc.into()); assert!(render_bottom_popup(&chat, /*width*/ 80).contains("1. Overview")); chat.handle_key_event(KeyCode::Char('4').into());