qwen-code/integration-tests/interactive
Shaojin Wen 30984a2f51
Some checks are pending
E2E Tests / E2E Test (Linux) - sandbox:docker (push) Waiting to run
E2E Tests / E2E Test (Linux) - sandbox:none (push) Waiting to run
E2E Tests / E2E Test - macOS (push) Waiting to run
E2E Tests / cron-interactive E2E (nightly) (push) Waiting to run
E2E Tests / web-shell Browser Regression (push) Waiting to run
fix(integration): harden flaky interactive read-then-write test (#7105)
* fix(integration): harden flaky interactive read-then-write test

The interactive read-then-write test read version.txt once immediately
after the write/edit tool call was logged and asserted strict equality
with '1.0.1'. This was flaky in two ways: the model may append a
trailing newline ('1.0.1\n'), and the file may not yet reflect the new
version when the tool call is observed (e.g. a first edit whose
old_string did not match is still logged by name and retried within the
turn). Poll the file until it contains '1.0.1' instead, matching the
lenient assertion already used by the non-interactive sibling test.

* test(integration): tighten interactive write polling

---------

Co-authored-by: yiliang114 <effortyiliang@gmail.com>
2026-07-17 11:55:43 +00:00
..
context-compress-interactive.test.ts feat(core,cli): auto-compact follow-up — /compress instructions, PreCompact hook plumb, plan/subagent attachments (#4688) 2026-06-03 09:23:00 +08:00
cron-interactive.test.ts fix(cron): add deterministic test seam for cron-interactive E2E (#6987) 2026-07-15 17:39:15 +00:00
ctrl-c-exit.test.ts refactor(tests): reorganize integration tests by execution mode 2026-03-29 05:49:17 +00:00
file-system-interactive.test.ts fix(integration): harden flaky interactive read-then-write test (#7105) 2026-07-17 11:55:43 +00:00
hooks-command.test.ts refactor(tests): reorganize integration tests by execution mode 2026-03-29 05:49:17 +00:00
interactive-session.ts feat(core): enable loop/cron tools by default (#4950) 2026-06-10 23:21:53 +08:00
mixed-input-crash.test.ts refactor(tests): reorganize integration tests by execution mode 2026-03-29 05:49:17 +00:00
protocol-tags-interactive.test.ts fix(core): retry leaked protocol turns in recovery paths (#6683) 2026-07-11 04:57:34 +00:00