スキル一覧に戻る
Shiminize

test-automation-suite

by Shiminize

0🍴 0📅 2026年1月22日
GitHubで見るManusで実行

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-PatternWhy it breaksThe Reliable Fix
waitForTimeout(1000)Random failureswaitForSelector('data-testid=x')
.class-name selectorsFragile CSSgetByTestId('submit-btn')
Testing too muchSlowTest the user flow, not every prop.

🚀 Workflows

Workflow A: The "Green Light" Check

Use this before every git push.

  1. Run: run-smoke-tests.js.
  2. Fail?: Do not push. Fix the code, not the test (usually).
  3. Pass?: You are safe to proceed.

Workflow B: Adding Coverage

Use this when adding a new feature (e.g., "Gift Wrapping").

  1. Scaffold: Create tests/gift-wrapping.spec.ts.
  2. Select: Use the codified data-testid convention (gift-wrap-checkbox).
  3. Assert: distinct state change (e.g., "Total price increased").
  4. Register: Add to smoke config if it's a critical path.

🧠 Testing Pyramid

  1. Unit: (Fastest) Logic only. Jest/Vitest.
  2. Integration: Components working together.
  3. E2E (Smoke): (Slowest/Most Important) Does the user succeed? Focus here.

スコア

総合スコア

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

レビュー

💬

レビュー機能は近日公開予定です