为 BiSheng 生成和运行 E2E 测试。两种模式: (1) SDD 模式 — 基于 feature spec.md 的 AC 生成覆盖; (2) 自由模式 — 对指定页面/功能写测试。 采用双层策略:API 端到端测试(pytest + httpx)+ 页面手动验证清单。 自动处理认证、多租户隔离、权限检查、Radix UI 交互等常见问题。 用法:/e2e-test [feature_dir] 或 /e2e-test <描述> 当用户说"写 E2E 测试"、"端到端测试"、"E2E coverage", 或使用 /e2e-test 命令时触发。
$npx -y skills add dataelement/bisheng --skill e2e-testInstalls into the current project.
Run `npx skills use "https://github.com/dataelement/bisheng" --skill "dataelement/bisheng/e2e-test"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/dataelement/bisheng" that are relevant to the current task. Run `npx skills add "https://github.com/dataelement/bisheng"` and select the relevant skills, then follow their instructions.