core-agent-ide/codex-rs/tui/tests
Michael Bolin 4c673086bc
fix: integration test for #9011 (#9166)
Adds an integration test for the new behavior introduced in
https://github.com/openai/codex/pull/9011. The work to create the test
setup was substantial enough that I thought it merited a separate PR.

This integration test spawns `codex` in TUI mode, which requires
spawning a PTY to run successfully, so I had to introduce quite a bit of
scaffolding in `run_codex_cli()`. I was surprised to discover that we
have not done this in our codebase before, so perhaps this should get
moved to a common location so it can be reused.

The test itself verifies that a malformed `rules` in `$CODEX_HOME`
prints a human-readable error message and exits nonzero.
2026-01-13 23:39:34 +00:00
..
fixtures chore: delete chatwidget::tests::binary_size_transcript_snapshot tui test (#6759) 2025-11-17 11:11:41 -08:00
suite fix: integration test for #9011 (#9166) 2026-01-13 23:39:34 +00:00
all.rs fix: integration test for #9011 (#9166) 2026-01-13 23:39:34 +00:00
test_backend.rs update composer + user message styling (#4240) 2025-09-26 16:35:56 -07:00