.qwen/e2e-tests/2026-07-31-export-collapsible-tool-output.md
Verify that long shell output and long think tool content keep their full
text in the shared WebUI while remaining collapsed by default. This covers the
HTML export viewer and the other consumers of @qwen-code/webui.
A released global qwen executable was not available in this environment, so
the before-change /export dry-run could not be performed. Source inspection
on upstream/main reproduces the loss: ShellToolCall and ThinkToolCall
replace content after 500 characters with an ellipsis.
Show more control.think tool call longer than 500 characters.cd packages/webui
npx vitest run \
src/components/toolcalls/shared/CollapsibleOutput.test.tsx \
src/components/toolcalls/GenericToolCall.test.tsx \
src/components/toolcalls/ShellToolCall.test.tsx \
src/components/toolcalls/ThinkToolCall.test.tsx
npm test
npm run typecheck
npm run lint
npm run build
cd ../sdk-typescript
npm run build
cd ../web-shell
npm run lint
npm run typecheck
npm run test:e2e:smoke
/export smoke test was not used as proof because the
generated page loads the published WebUI package from unpkg rather than the
worktree bundle. Component tests and the local WebUI build cover this change
until a release build is available for the manual scenario.