From fd8c8791e1050b5a731f1dca55a9ac47c2ad8840 Mon Sep 17 00:00:00 2001 From: Edward Frazer Date: Tue, 26 May 2026 16:06:03 -0700 Subject: [PATCH] test: cover standalone Windows update prompt --- ...s__standalone_windows_update_prompt_modal.snap | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 codex-rs/tui/src/snapshots/codex_tui__update_prompt__tests__standalone_windows_update_prompt_modal.snap diff --git a/codex-rs/tui/src/snapshots/codex_tui__update_prompt__tests__standalone_windows_update_prompt_modal.snap b/codex-rs/tui/src/snapshots/codex_tui__update_prompt__tests__standalone_windows_update_prompt_modal.snap new file mode 100644 index 0000000000..41457446b1 --- /dev/null +++ b/codex-rs/tui/src/snapshots/codex_tui__update_prompt__tests__standalone_windows_update_prompt_modal.snap @@ -0,0 +1,15 @@ +--- +source: tui/src/update_prompt.rs +expression: terminal.backend() +--- + + ✨ Update available! 0.0.0 -> 9.9.9 + + Release notes: https://github.com/openai/codex/releases/latest + +› 1. Update now (runs `powershell -ExecutionPolicy Bypass -c '$env:CODEX_NON_INTERACTIVE=1; irm + https://chatgpt.com/codex/install.ps1 | iex'`) + 2. Skip + 3. Skip until next version + + Press enter to continue