/playwright-kit:playwright-evidencefrom playwright-kit
Generate the Playwright test report and collect its evidence files under reports/{run-id}/. Use when summarizing or sharing E2E results(テスト報告書・エビデンス・trace・動画).
Ships in playwright-kit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
テスト実行後に Markdown レポートを生成し、エビデンス一式を reports/<run-id>/ にまとめる。
共有の手段(チャット・ストレージ・課題への添付など)は利用者が選ぶ。
reports/<run-id>/ にエビデンスが存在すること (/playwright-kit:playwright-authoring)pytest_terminal_summary hook で reports/<run-id>/report.md が自動生成される。特別な設定は不要。
./scenario-test/run.sh
# → reports/<run-id>/report.md が生成される
| セクション | 内容 |
|---|---|
| サマリ表 | nodeid, role, page_role, 結果, 実行時間, エラー数 |
| 失敗詳細 | FAIL/ERROR のテストごとの詳細情報 |
| body_check 違反 | PHP/SSR エラー検出の詳細 (URL, パターン, スニペット) |
| エビデンスリンク | video, trace, HAR, screenshot へのパス |
scenario.config.yaml の report セクションで表題等を制御する。
report:
title: "シナリオ E2E テスト 実施報告書"
test_plan_link: "./test-plan.md"
phase_labels: {}
| ファイル | 種別 | セキュリティ考慮 |
|---|---|---|
video.mp4 | テスト動画 | 画面に表示された情報が含まれる |
trace.zip | Playwright Trace | DOM snapshot + 操作ログ + Cookie/localStorage |
request.har | ネットワーク通信ログ | HTTP request/response body を含む場合あり |
report.md | テスト結果サマリ | URL + テスト名程度 |
body_check.jsonl | PHP/SSR エラー詳細 | ソースコード片を含む場合あり |
screenshot-*.png | 失敗時スクリーンショット | 画面に表示された情報 |
セキュリティ注意: trace.zip / HAR には認証情報 (Cookie, localStorage, Basic Auth) や 入力内容が含まれる可能性がある。共有する先は 非公開の置き場所 と 信頼できる共有相手 に限定すること。
[テスト実行] ./scenario-test/run.sh --pwk-overlay
▼
[ローカル確認] reports/<run-id>/report.md で結果確認
▼
[共有] reports/<run-id>/ を、利用者が選んだ手段で共有する
trace.zip はローカルの Playwright Trace Viewer で開ける。
uv run playwright show-trace reports/<run-id>/<case>/trace.zip
/playwright-kit:playwright-authoring — スクリプト作成と実行 (前段)/playwright-kit:playwright-planning — テスト計画/playwright-kit:playwright-kit-ops — 実行環境の運用What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub devbasex/ai-plugins --plugin playwright-kit4 skills in this plugin
/playwright-authoringWrite Playwright E2E scripts and run them with video / trace evidence. Use when writing or running E2E tests, or checking a page over CDP(playwright codegen・ブラウザ動作確認)./playwright-kit-opsRun the playwright_kit scripts: init, page-role classification, a11y / CWV scans. Use when running one directly(playwright_kitのスクリプトを実行・a11yスキャン)./playwright-planningPlan Playwright E2E tests: judge the page role, then pick checklists and techniques. Use when designing E2E test cases(テスト計画書・テスト観点・page role 分類).Other plugins' skills for the same job