← Back to list

test-automation-suite
by Shiminize
⭐ 0🍴 0📅 Jan 22, 2026
SKILL.md
name: Test Automation Suite description: Unified runner for smoke tests, visual regression checks, and reliability reporting.
🧪 Test Automation Suite Skill
This skill powers the QA Agent. It provides a reliable way to run critical test paths and verify "Does it actually work?" before pushing.
🎯 When to Use
- After Logic Changes: Run smoke tests.
- Before Committing: Mandatory check.
- New Feature: MUST add a corresponding test.
🛠️ Toolbelt
1. The Runner (Automated)
Executes the critical path checks.
# Fast Smoke Tests (Critical Paths Only)
node .agent/skills/test-automation/scripts/run-smoke-tests.js
# Full Suite (Nightly/Deep)
npx playwright test
2. Flakiness Patrol (Best Practices)
Avoid these anti-patterns to keep tests green.
| Anti-Pattern | Why it breaks | The Reliable Fix |
|---|---|---|
waitForTimeout(1000) | Random failures | waitForSelector('data-testid=x') |
.class-name selectors | Fragile CSS | getByTestId('submit-btn') |
| Testing too much | Slow | Test the user flow, not every prop. |
🚀 Workflows
Workflow A: The "Green Light" Check
Use this before every git push.
- Run:
run-smoke-tests.js. - Fail?: Do not push. Fix the code, not the test (usually).
- Pass?: You are safe to proceed.
Workflow B: Adding Coverage
Use this when adding a new feature (e.g., "Gift Wrapping").
- Scaffold: Create
tests/gift-wrapping.spec.ts. - Select: Use the codified
data-testidconvention (gift-wrap-checkbox). - Assert: distinct state change (e.g., "Total price increased").
- Register: Add to smoke config if it's a critical path.
🧠 Testing Pyramid
- Unit: (Fastest) Logic only. Jest/Vitest.
- Integration: Components working together.
- E2E (Smoke): (Slowest/Most Important) Does the user succeed? Focus here.
Score
Total Score
50/100
Based on repository quality metrics
✓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
Reviews
💬
Reviews coming soon