Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

Open the agents overview directly in the reconnect test (#41929)

jif2c3bf4ea793a
diff --git a/codex-rs/tui/src/app/tests/navigation_reconnect_tests.rs b/codex-rs/tui/src/app/tests/navigation_reconnect_tests.rs
index 81c69b9199..17cc593a79 100644
--- a/codex-rs/tui/src/app/tests/navigation_reconnect_tests.rs
+++ b/codex-rs/tui/src/app/tests/navigation_reconnect_tests.rs
@@ -377,12 +377,8 @@ async fn reconnect_daemon_command_center_after_socket_replacement_without_a_conv
app.chat_widget.composer_text_with_pending(),
"latest draft!"
);
- app.handle_tui_event(
- &mut tui,
- &mut session,
- TuiEvent::Key(KeyEvent::new(KeyCode::Char('a'), KeyModifiers::ALT)),
- )
- .await?;
+ app.handle_event(&mut tui, &mut session, AppEvent::OpenAgentsOverview)
+ .await?;
assert!(app.chat_widget.has_active_view());
app.handle_tui_event(
&mut tui,