Back to skills
SKILL.md
E2e Testing
ASecurityPlaywright E2E 测试 — T 阶段 (Path C+)
- 188 stars
- 0 votes
- 0 copies
- 2 views
- Added September 5, 2026
Works with
Security analysis
92/100- Installs packages at runtime which could introduce malicious dependencies
npx -y skills add WenJunDuan/Rlues --skill e2e-testing --agent claude-codeAre you the author of E2e Testing?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/wenjunduan-e2e-testing)---
name: e2e-testing
description: Playwright E2E 测试 — T 阶段 (Path C+)
context: main
---
## 触发
Path C+ 的 T 阶段, 且项目有前端或 API 端点。
## 流程
1. 检查 playwright 是否安装, 未安装则 `npm install -D @playwright/test`
2. 从 plan.md 提取关键用户流
3. 编写或更新 E2E 测试
4. `npx playwright test` 执行
5. 失败 → 截图保存 → 修复 → 重跑 (最多 3 轮)
6. 结果写入 verified.md
## 降级
无 Playwright → 用 curl/fetch 做 API 冒烟测试。
纯 CLI 工具 → 跳过 E2E, 只跑单测。
Attribution
Comments
Loading comments…