


























@@ -28,13 +28,27 @@ This starts one held session:
2828- restores TDLib and Telegram Desktop with the same user account
2929- starts a mock OpenClaw Telegram SUT from the current checkout
3030- selects the configured Telegram chat in the visible Linux desktop
31-- starts desktop recording
31+- starts a 24fps desktop recording
3232- writes `.artifacts/qa-e2e/telegram-user-crabbox/pr-review/session.json`
33333434Keep the session alive while investigating. It is valid for the agent to test
3535for minutes, run several commands, use WebVNC, inspect transcripts, and only
3636finish once the behavior is understood.
373738+For deterministic visual repros, put the exact mock-model reply in a file and
39+pass it to `start`:
40+41+```bash
42+pnpm qa:telegram-user:crabbox -- start \
43+ --tdlib-url http://artifacts.openclaw.ai/tdlib-v1.8.0-linux-x64.tgz \
44+ --mock-response-file .artifacts/qa-e2e/telegram-user-crabbox/reply.txt \
45+ --output-dir .artifacts/qa-e2e/telegram-user-crabbox/pr-review
46+```
47+48+The runner defaults to `--class standard`, `--record-fps 24`,
49+`--preview-fps 24`, and `--preview-width 1280`. Keep those defaults unless the
50+proof needs something else.
51+3852## While Testing
39534054Send as the real Telegram user:
@@ -120,6 +134,27 @@ publish bundle and comments that GIF. Use `--full-artifacts` only when the PR
120134needs logs or JSON output. Never publish credential payloads, local env files,
121135TDLib databases, Telegram Desktop profiles, or raw session archives.
122136137+For before/after proof, run one session on `main` and one on the PR head, then
138+publish only the intended GIFs from a clean bundle:
139+140+```bash
141+mkdir -p .artifacts/qa-e2e/telegram-user-crabbox/pr-123/comparison
142+cp <main-output>/telegram-user-crabbox-session-motion.gif \
143+ .artifacts/qa-e2e/telegram-user-crabbox/pr-123/comparison/main-before.gif
144+cp <pr-output>/telegram-user-crabbox-session-motion.gif \
145+ .artifacts/qa-e2e/telegram-user-crabbox/pr-123/comparison/pr-after.gif
146+crabbox artifacts publish \
147+ --repo openclaw/openclaw \
148+ --pr 123 \
149+ --dir .artifacts/qa-e2e/telegram-user-crabbox/pr-123/comparison \
150+ --summary 'Telegram before/after proof' \
151+ --no-comment
152+```
153+154+Then post a concise markdown table with those two URLs. Do not publish working
155+directories that contain screenshots, raw videos, logs, session JSON, or crop
156+experiments unless those artifacts are explicitly needed.
157+123158## Quick Smoke
124159125160For a fast one-shot check, use:
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。