Control UI 浏览器测试与审查
control-ui-e2e
Control UI 浏览器测试、视觉审查与录制、交互性能审计,以及 Run Inspector 证据。
- License 许可
- MIT
- 最近更新
- 2026-11-15
- Stars
- ★ 39w
- Forks
- 8.3w
01 前言 Front Matter
- name
- control-ui-e2e
- description
- Control UI browser tests, visual reviews and recordings, interaction performance audits, and Run Inspector evidence.
02 资源文件 4
- 参考文档agents/openai.yaml264 B
- 参考文档references/interaction-performance.md4.6 KB
- 参考文档references/run-inspector.md1.3 KB
- 参考文档references/visual-proof.md5.2 KB
03 SKILL.md 正文
Control UI E2E
Workflow
- Select proof. Use the existing browser E2E lane for routing, boot, Gateway handshake, and complete user flows; use browser/unit tests for isolated render logic. Read each branch below that matches the requested outcome. Done: every changed behavior has a named scenario and proof boundary.
- Prepare fixtures. Reuse
ui/src/test-helpers/control-ui-e2e.tswith synthetic Gateway data. Extend its typed scenario options for missing responses. Use the existing dependency installation; preserve installs used by other jobs. Real Gateway/provider credentials require explicit live-proof authorization. Follow testing policy for execution placement. Done: the target flow runs against the intended source or production build and each required fixture response is defined. - Exercise behavior. Install the mock before navigation. Act through visible controls and assert both the rendered outcome and relevant Gateway requests. Resolve unexpected behavior at the product or fixture owner before replaying. Done: each scenario reaches its asserted outcome, or has a retained failure identifying the unmet assertion.
- Deliver evidence. Apply the artifact rules below and the selected branch's checks. Report verified results, failures, and untested states separately. Done: every claimed result has inspectable evidence; remaining gaps are named.
UI Stress Test
For substantial layout/component changes or multi-state design feedback, read visual proof before building the stress-test gallery. Small copy/icon changes may use focused proof.
Visual Proof Default
For appearance changes, screenshots, transient-state capture, or video, read visual proof. Appearance changes require inspected before/after evidence; behavior assertions alone can suffice for nonvisual fixes.
Interaction Performance Audits
For UI slowness, responsiveness audits, or automatic Chrome trace collection, read interaction profiling before choosing the build, fixtures, and measurement boundaries.
Run Inspector evidence
For run/execution/decision evidence, read Run Inspector capture before selecting a receipt.
Artifacts
- Allocate with
createControlUiE2eArtifactDir(scope, parentDir?), once per attempt or standalone invocation. Pass the directory to capture helpers; keep distinct stage filenames and the report, screenshots, traces, and video together. - The helper owns parent selection. Preserve existing output controls, gates, viewport, and recording options; use its returned path in the final report.
- Retain failed and successful attempts. Clean up only exact owned directories after review; never clear shared artifact parents or overwrite earlier proof.
- Timeout diagnostics use fresh children of their existing diagnostic parent.
Mantis retains every attempt. Real-Gateway,
chat-outbox-*, andchat-attachment-read-lifecyclesuites have separate owners: verify their retention behavior before claiming replay-safe capture.
Running a focused test
Use the current scripts in package.json and
testing policy. For a worktree's focused browser test:
node scripts/run-vitest.mjs run --config test/vitest/vitest.ui-e2e.config.ts --configLoader runner ui/src/e2e/chat-flow.messaging.e2e.test.ts
04 同仓库更多 Skills
creative-project
Design or revise branding, visual identities, logos, posters, illustrations, and social-media assets using project artwork or image references. Inspect the existing visual language, choose references, and iterate on named candidates.
ios-e2e
iOS app on the simulator - build, run, pair with an isolated Gateway, drive the UI, screenshots, logs and crashes, focused tests, and end-to-end proof.
labs-graduation
Move a feature out of Control UI Labs, either on by default or still off by default. Use when asked to promote, graduate or ship a Labs feature.
Lobster 自动化工作流编排
lobster
暂无简介
X 平台 CLI 操作
xurl
xurl CLI 工具,用于经过身份验证的 X(原 Twitter)发帖、回复、读取/搜索、私信(DM)、媒体上传、关注者管理、认证状态查看,或原始 v2 API 调用。
天气查询与预报
weather
使用 web_fetch 获取当前天气和天气预报,在涉及地点、降雨、温度、出行规划等场景时回退到通过 curl 调用 wttr.in。