Fix plan mode nudge test after task completion signature change (#20045)

Updates the plan mode nudge test to pass the new `duration_ms` argument
to task completion.

Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
canvrno-oai
2026-04-28 11:24:22 -07:00
committed by GitHub
Unverified
parent 9e26613657
commit 640a1b23ea
@@ -45,7 +45,9 @@ async fn plan_mode_nudge_hides_while_task_or_modal_is_active() {
chat.pre_draw_tick();
assert!(!chat.bottom_pane.plan_mode_nudge_visible());
chat.on_task_complete(/*last_agent_message*/ None, /*from_replay*/ false);
chat.on_task_complete(
/*last_agent_message*/ None, /*duration_ms*/ None, /*from_replay*/ false,
);
chat.show_selection_view(SelectionViewParams {
items: vec![SelectionItem {
name: "Keep planning".to_string(),