mirror of
https://github.com/openai/codex.git
synced 2026-11-27 23:31:09 +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:
1 parent
c4350b4ca2
commit
2c3bf4ea79
1 file changed
+1
-5
@@ -377,11 +377,7 @@ async fn reconnect_daemon_command_center_after_socket_replacement_without_a_conv
|
|||||||
app.chat_widget.composer_text_with_pending(),
|
app.chat_widget.composer_text_with_pending(),
|
||||||
"latest draft!"
|
"latest draft!"
|
||||||
);
|
);
|
||||||
app.handle_tui_event(
|
app.handle_event(&mut tui, &mut session, AppEvent::OpenAgentsOverview)
|
||||||
&mut tui,
|
|
||||||
&mut session,
|
|
||||||
TuiEvent::Key(KeyEvent::new(KeyCode::Char('a'), KeyModifiers::ALT)),
|
|
||||||
)
|
|
||||||
.await?;
|
.await?;
|
||||||
assert!(app.chat_widget.has_active_view());
|
assert!(app.chat_widget.has_active_view());
|
||||||
app.handle_tui_event(
|
app.handle_tui_event(
|
||||||
|
|||||||
Reference in new issue
Block a user