Agent Skills
› sediman-agent/OpenSkynet
› run-smoke-tests
run-smoke-tests
GitHub用于在代码变更前后运行 Playwright 端到端冒烟测试。包括构建依赖、执行测试套件、调试失败原因并验证修复,确保应用稳定性,同时遵循减少误报和避免脆弱等待的最佳实践。
Trigger Scenarios
需要变更前后的端到端冒烟验证
测试失败需排查根因或验证修复
Install
npx skills add sediman-agent/OpenSkynet --skill run-smoke-tests -g -y
SKILL.md
Frontmatter
{
"name": "run-smoke-tests",
"description": "Run Playwright smoke tests, debug failures, and verify fixes"
}
Run smoke tests
Trigger
Need end-to-end smoke verification before or after changes.
Workflow
- Build prerequisites for the target app.
- Run the relevant smoke suite or a focused test file.
- If failing, inspect traces/logs and isolate the root cause.
- Apply a minimal fix and rerun until stable.
Example Commands
# Run full smoke suite
npm run smoketest
# Run a specific smoke test file
npm run smoketest -- path/to/test.spec.ts
# Faster iteration when build artifacts are ready
npm run smoketest-no-compile -- path/to/test.spec.ts
Guardrails
- Prefer deterministic waits and assertions over brittle timeouts.
- Re-run passing fixes to reduce flaky false positives.
- Quarantine tests only when explicitly requested and documented.
Output
- Test results summary
- Root cause and fix
- Remaining flake risk (if any)
Version History
- c9d8953 Current 2026-07-05 19:52


