Generate test report. Use when user says "test report", "results summary", "test status", "show results", "test dashboard", or "how did tests go".
This skill generates test reports for Playwright test suites and plugs them into whatever workflow a team already uses, without introducing new tooling. It solves the common problem of raw test output being hard to read and easy to lose: instead of leaving a wall of console text, it turns Playwright results into a clear pass/fail/skip/flaky summary with failed-test details, error messages, and per-browser breakdowns.
The workflow first checks for recent results in `test-results/` or `playwright-report/` and runs `npx playwright test` with JSON, HTML, and list reporters if none exist. It then parses the JSON output to extract counts, durations, failed test names, and flaky tests that passed on retry. A routing step inspects the environment and configuration to decide where the report should go: TestRail if a `TESTRAIL_URL` is set, a Slack summary if a `SLACK_WEBHOOK_URL` webhook is configured, PR comments via artifacts under GitHub Actions, or a served HTML report. A markdown report is always produced and saved under `test-reports/`, and if historical reports exist it performs simple trend analysis comparing pass rates and highlighting newly flaky or recurring failures.
The target users are QA engineers, test automation developers, and full-stack teams already using Playwright who want a lightweight, repeatable way to summarize and distribute test outcomes. Typical use cases include end-of-run status summaries, posting results to Slack, and tracking flakiness over time.
It is built specifically for Playwright, invoking npx playwright test with JSON, HTML, and list reporters and parsing the JSON report to build the summary.
No. The skill is designed around zero new tools and reuses the Playwright CLI and whatever integrations you already have, such as TestRail, Slack, or GitHub Actions.
It auto-detects them from your environment: a TESTRAIL_URL env var routes to TestRail, a SLACK_WEBHOOK_URL posts a Slack summary, a .github/workflows/ directory routes results to PR comments, and otherwise a markdown report is generated.
Yes, if previous reports exist in test-reports/ it compares pass rates over time and flags newly flaky tests and new versus recurring failures.
No. It only runs tests, reads their output, and writes report files or posts summaries to configured destinations.
Quick Setup:
.claude/skills/Repository
alirezarezvani/claude-skills