mirror of
https://github.com/openai/codex.git
synced 2026-11-15 21:50:46 +00:00
1.1 KiB
1.1 KiB
+++ id = "36" title = "Add Tests for Interactive Prompting While Executing" status = "Not started" dependencies = "06,13" # Rationale: depends on Tasks 06 and 13 for external editor and interactive prompt support last_updated = "2025-06-25T04:45:29Z" +++
This task is specific to codex-rs.
Status
General Status: Not started
Summary: Follow-up to Task 13; add unit tests for interactive prompt overlay during execution.
Goal
Write tests that verify BottomPane::handle_key_event forwards input to the composer while is_task_running, preserving the status overlay until completion.
Acceptance Criteria
- Unit tests covering key events (e.g. alphanumeric, Enter) during
is_task_running == true. - Assertions that
active_viewremains aStatusIndicatorViewwhile running and is removed whenset_task_running(false)is called. - Coverage of redraw requests and correct
InputResultvalues.
Implementation
How it was implemented
(Not implemented yet)
How it works
(Not implemented yet)
Notes
- Refer to existing tests in
user_approval_widget.rsandset_title_view.rsfor testing patterns.