← スキル一覧に戻る

playwright-testing
by frostaura
A toolkit for building full-stack systems. Battle-tested with Copilot in VS Code, with agents for Github Copilot CLI.
⭐ 23🍴 25📅 2026年1月13日
SKILL.md
name: playwright-testing description: Guide for using Playwright MCP tools for visual and functional regression testing. Use when testing features, validating UI, or running regression checks.
Playwright Testing (via MCP Tools)
Use Playwright MCP tools directly for testing - NOT npm/npx commands.
Testing Types
Functional Regression (Manual Testing)
Interactively verify features work using Playwright MCP tools:
0. Spin up the entire stack via Docker Compose. Ensure no cache is used for front and backend projects. Database projects should not be cleared and retain data where possible.
1. Navigate to page/component
2. Interact with elements (click, type, select)
3. Verify expected behavior
4. Check for console errors
5. Test error states and edge cases
Visual Regression (Screenshots)
Capture and compare screenshots at all breakpoints:
| Breakpoint | Width | Use Case |
|---|---|---|
| Mobile | 320px | Small phones |
| Tablet | 768px | Tablets/iPad |
| Desktop | 1024px | Laptops |
| Large | 1440px+ | Desktop monitors |
What to Test
- All pages at every breakpoint
- Interactive states: default, hover, focus, active, disabled, loading, error
- User workflows: Complete user journeys end-to-end
- Data integrity: Forms save correctly, displays show right data
- Error handling: Invalid inputs, network failures, edge cases
Console Error Monitoring
Monitor browser console during all testing - flag ANY errors.
Functional Test Checklist
For each affected feature:
- Navigation works
- Forms submit correctly
- Data displays properly
- Buttons/links respond
- Error states show correctly
- No console errors
Visual Test Checklist
- Screenshot at 320px
- Screenshot at 768px
- Screenshot at 1024px
- Screenshot at 1440px
- Compare with baseline
- Flag unintended changes
Key Rules
- ✅ Use Playwright MCP tools directly
- ✅ Test interactively (manual regression)
- ❌ Do NOT run
npx playwright test - ❌ Do NOT create separate test spec files for regression
スコア
総合スコア
75/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
✓説明文
100文字以上の説明がある
+10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
✓フォーク
10回以上フォークされている
+5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です