Smart Playwright test reporting that detects configured destinations and routes results automatically.

CCM score
64 of 100
skills.sh installs
1.7K
GitHub stars
30.3K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers running and parsing Playwright results: pass, fail, skip, and flaky counts, durations, and failure messages
  • Generates a markdown report saved to test-reports/, plus optional Slack, TestRail, and HTML outputs
  • Routes output by detecting TESTRAIL_URL, SLACK_WEBHOOK_URL, GitHub Actions, or an existing playwright-report/ folder
  • Designed for teams that want test status summaries without adding new tools

Install

$ npx -y skills add alirezarezvani/claude-skills --skill report -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Smart Test Reporting

Generate test reports that plug into the user's existing workflow. Zero new tools.

Steps

1. Run Tests (If Not Already Run)

Check if recent test results exist:

ls -la test-results/ playwright-report/ 2>/dev/null

If no recent results, run tests:

npx playwright test --reporter=json,html,list 2>&1 | tee test-output.log

2. Parse Results

Read the JSON report:

npx playwright test --reporter=json 2> /dev/null

Extract:

  • Total tests, passed, failed, skipped, flaky
  • Duration per test and total
  • Failed test names with error messages
  • Flaky tests (passed on retry)

3. Detect Report Destination

Check what's configured and route automatically:

CheckIf foundAction
TESTRAIL_URL env varTestRail configuredPush results via /pw:testrail push
SLACK_WEBHOOK_URL env varSlack configuredPost summary to Slack
.github/workflows/GitHub ActionsResults go to PR comment via artifacts
playwright-report/HTML reporterOpen or serve the report
None of the aboveDefaultGenerate markdown report

4. Generate Report

Details

Repository
github.com/alirezarezvani/claude-skills
Categories
Testing & QA, Workflow Automation
First seen
Apr 16, 2026

More from alirezarezvani/claude-skills

All 259

Similar to Report

More Testing & QA