Files
penguin-harness/packages/web/e2e
Yaowei Zheng 45bfae6e94 Initialize repository with harness code and assets
Initial import of all source code, config, and README assets: the
packages workspace (cli, core, server, web, docs, landing, skills),
build scripts, tooling config, and CI workflows.

Includes the data-layout revision made on this branch: the local data
root defaults to ~/.penguin/data (PENGUIN_HOME still overrides; the
installer keeps its binaries in ~/.penguin), and every Agent lives
under <project>/agents/<agent>/ — path helpers, the three
agent-enumeration scans, the system prompt, built-in Skills, tests
and docs all follow the new layout.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018ihk8iQuo3kv2aPjAYEPuR
2026-07-19 14:06:53 +08:00
..

Web E2E(Playwright)

浏览器端到端:对话(thinking + 工具审批 + 工具执行 + 二轮答复)、图标化统计(成本折算 / 复制回复)、轨迹观测(分 Task 时间线 + 图例 + 悬停联动高亮)、Workspace 文件预览(HTML sandbox 渲染、路径默认隐藏)。LLM 由 mock-llm.mjs(mock Anthropic Messages SSE)驱动, 不联网。

pnpm --filter @prismshadow/penguin-web test:e2e          # 构建 + 起服务 + 跑用例
SKIP_BUILD=1 pnpm --filter @prismshadow/penguin-web test:e2e   # 跳过构建

首次需 npx playwright install chromium。