Loading...
Loading...
Generate test report. Use when user says "test report", "results summary", "test status", "show results", "test dashboard", or "how did tests go".
npx skill4agent add alirezarezvani/claude-skills reportls -la test-results/ playwright-report/ 2>/dev/nullnpx playwright test --reporter=json,html,list 2>&1 | tee test-output.lognpx playwright test --reporter=json 2> /dev/null| Check | If found | Action |
|---|---|---|
| TestRail configured | Push results via |
| Slack configured | Post summary to Slack |
| GitHub Actions | Results go to PR comment via artifacts |
| HTML reporter | Open or serve the report |
| None of the above | Default | Generate markdown report |
# Test Results — {{date}}
## Summary
- ✅ Passed: {{passed}}
- ❌ Failed: {{failed}}
- ⏭️ Skipped: {{skipped}}
- 🔄 Flaky: {{flaky}}
- ⏱️ Duration: {{duration}}
## Failed Tests
| Test | Error | File |
|---|---|---|
| {{name}} | {{error}} | {{file}}:{{line}} |
## Flaky Tests
| Test | Retries | File |
|---|---|---|
| {{name}} | {{retries}} | {{file}} |
## By Project
| Browser | Passed | Failed | Duration |
|---|---|---|---|
| Chromium | X | Y | Zs |
| Firefox | X | Y | Zs |
| WebKit | X | Y | Zs |test-reports/{{date}}-report.mdcurl -X POST "$SLACK_WEBHOOK_URL" \
-H 'Content-Type: application/json' \
-d '{
"text": "🧪 Test Results: ✅ {{passed}} | ❌ {{failed}} | ⏱️ {{duration}}\n{{failed_details}}"
}'/pw:testrail pushnpx playwright show-reportecho "HTML report available at: playwright-report/index.html"test-reports/