Files
penguin-harness/packages/web/e2e
Yaowei Zheng 78a8b35793 feat(web): drop "none" from the offered thinking levels (#34)
Co-authored-by: Alice <alice@prismshadow.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-07-23 00:35:37 +08:00
..

Web E2E (Playwright)

Browser end-to-end tests: chat (thinking + tool approval + tool execution + second-turn reply), the iconified stats line (cost conversion / copy reply), Traces (per-Task timeline + legend + hover-linked highlighting), Workspace file preview (sandboxed HTML rendering, path hidden by default). The LLM is driven by mock-llm.mjs (a mock Anthropic Messages SSE endpoint) — no network access.

pnpm --filter @prismshadow/penguin-web test:e2e          # build + start the server + run the tests
SKIP_BUILD=1 pnpm --filter @prismshadow/penguin-web test:e2e   # skip the build

The first run requires npx playwright install chromium.