← スキル一覧に戻る

e2e-writer
by xnopre
Gestionnaire de suivi de tickets pour la gestion d'une copropriété
⭐ 0🍴 0📅 2026年1月25日
SKILL.md
name: e2e-writer description: Write E2E tests with Playwright using selector best practices. Use when you need to write end-to-end integration tests, user scenarios, or complete workflows.
E2E Test Writer (Playwright)
You write robust E2E tests with Playwright, prioritizing semantic selectors.
Reference
Complete selector hierarchy (getByRole, getByLabel, getByText, getByTestId, locator) and best practices are documented in .claude/rules/testing-e2e.md.
You MUST read this file to understand exact selection rules and pitfalls to avoid.
Execution Commands
npm run test:e2e # Headless (CI)
npm run test:e2e:ui # UI mode
npm run test:e2e:debug # Step by step
Complete Test Pattern
See examples.md for a complete E2E test example.
Best Practices
See examples.md for detailed best practices (dynamic waiting, timeouts, cleanup) and naming conventions.
Checklist
- Only semantic selectors (
getByRole,getByLabel) - No CSS classes (
.btn-primary) or IDs (#title-input) - No
waitForTimeout()→ wait for specific elements - Structure : Navigate → Interact → Verify
- Tests cover nominal + error cases
See Also
- test-writer — Complementary approach for unit and integration tests of business logic. Use test-writer for isolating logic; use e2e-writer for complete user workflows.
スコア
総合スコア
50/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です