一键导入
test-report
Open and analyze Playwright HTML test reports. Use when user asks to see test results, check test report, view test output, or analyze test failures.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Open and analyze Playwright HTML test reports. Use when user asks to see test results, check test report, view test output, or analyze test failures.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Review a pull request for Playwright test automation using project standards. Use when user asks to review a PR, check a pull request, or mentions a PR number.
Create a pull request from the current branch with an auto-generated summary. Use when user asks to create a PR, make a pull request, or submit changes.
Run Playwright tests with various options (specific file, all UI tests, debug mode, headed browser, tagged tests). Use when user asks to run tests, execute tests, test something, or debug tests.
基于 SOC 职业分类
| name | test-report |
| description | Open and analyze Playwright HTML test reports. Use when user asks to see test results, check test report, view test output, or analyze test failures. |
| allowed-tools | Bash(npx:*), Bash(open:*), Bash(xdg-open:*), Read, Grep, Glob |
# Open Playwright HTML report
npx playwright show-report
The report will open in the default browser showing:
Check for report existence:
ls -la playwright-report/
Check recent test results:
# List recent test runs
ls -lt playwright-report/ | head -10
# Check for failures
grep -r "failed" playwright-report/ 2>/dev/null || echo "No failures found"
If analyzing results, provide:
If report doesn't exist:
# Run tests first
npx playwright test
# Then show report
npx playwright show-report
Alternative: Direct file access
# Open report HTML directly (macOS)
open playwright-report/index.html
# Linux
xdg-open playwright-report/index.html