qwen-code/packages/cli
qqqys 0411d05a2a
test(cli): drop wait-dependent SessionPicker search tests (#3978)
The Search describe block in StandaloneSessionPicker.test.tsx was
introduced in #3880 and consistently failed on Test (windows-latest,
20.x / 22.x) — six of its tests assumed a 30 ms inter-key wait was
enough for the keypress → useEffect → render chain to commit, which
slow Windows runners regularly missed. The lone fix in c5e49695b
bumped one test to 50 ms but left the other six at 30 ms, and bumping
all of them is fighting the symptom rather than the cause.

The underlying behavior — search-mode keymap, query buffer, focus
transitions — is already covered by useSessionSearchInput.test.ts at
the unit level, where the same scenarios pass deterministically
without driving a real Ink render tree.

Drop the entire Search describe block (the whole #3880-introduced
integration suite) and the now-unused BACKSPACE / ARROW_UP key
constants. The remaining test file (Empty Sessions, Branch Filtering,
Keyboard Navigation, Display, Pagination, Preview Mode) compiles and
passes 17/17.

Closes #3977

Co-authored-by: Qwen-Coder <noreply@qwen.com>
2026-05-09 10:53:06 +08:00
..
src test(cli): drop wait-dependent SessionPicker search tests (#3978) 2026-05-09 10:53:06 +08:00
index.ts fix(cli): stop double-wrapping and double-printing API errors in non-interactive mode (#3749) 2026-05-03 08:39:31 +08:00
package.json chore(release): v0.15.9 [skip ci] 2026-05-08 22:46:11 +08:00
test-setup.ts fix: prevent bogus shell permission rules in tests 2026-03-20 17:55:33 +08:00
tsconfig.json Add background agent resume and continuation (#3739) 2026-05-01 12:14:33 +08:00
vitest.config.ts refactor(core): Unify package exports and improve dev experience 2026-02-01 11:59:05 +08:00