mirror of
https://github.com/openai/codex.git
synced 2026-11-03 19:53:25 +00:00
Open the agents overview directly in the reconnect test (#41929)
## What changed Dispatch `AppEvent::OpenAgentsOverview` in the daemon reconnect navigation test instead of simulating the Alt+A keyboard shortcut. GitOrigin-RevId: 99729a39496ffb96747f6d0c4be0edf52d1ef3f6
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user