원클릭으로
test-frontend
// Frontend test automation — generate component tests, E2E browser tests, visual regression, accessibility audits, hook/composable tests for React, Vue, Svelte, Angular
// Frontend test automation — generate component tests, E2E browser tests, visual regression, accessibility audits, hook/composable tests for React, Vue, Svelte, Angular
| name | test-frontend |
| description | Frontend test automation — generate component tests, E2E browser tests, visual regression, accessibility audits, hook/composable tests for React, Vue, Svelte, Angular |
| disable-model-invocation | false |
| user-invocable | true |
| allowed-tools | Read, Grep, Glob, Bash, Edit, Write |
| argument-hint | <action: component|e2e|visual|a11y|hook|integration|snapshot> <target> |
Action: $ARGUMENTS
component Generate component unit tests:
getByRole, getByLabel) — not CSS classese2e Generate E2E browser tests with Playwright:
getByRole, getByLabel, getByTestId — never CSS selectorswaitForTimeout()visual Generate visual regression tests:
a11y Generate accessibility tests:
hook Generate tests for React hooks, Vue composables, or Svelte stores:
integration Generate component integration tests with real stores/routing:
snapshot Generate snapshot tests for a component:
getByRole('button', { name: 'Submit' }) — best for a11ygetByLabelText('Email') — for form fieldsgetByPlaceholderText('Search...') — when no labelgetByText('Welcome') — for visible contentgetByTestId('cart-count') — last resort, but stableNever use: .btn-primary, #submit-btn, div > span:nth-child(2)
For all actions:
sleep() or waitForTimeout() — use auto-waitingAPI test automation — generate REST/GraphQL/gRPC endpoint tests, contract tests (Pact), schema validation, load tests (k6/Locust), and mock servers (MSW/WireMock)
Backend test automation — generate unit, integration, DB, queue, worker, and contract tests for Java, Python, Go, Rust, TypeScript backends
Test orchestrator — generate unit/integration/E2E tests, analyze coverage, diagnose flaky tests, design test strategy. Routes to /test-backend, /test-frontend, /test-api for specialized automation.
API design and management — design endpoints, detect breaking changes, validate specs, generate mock servers and clients
Authentication and authorization — design auth flows, JWT setup, RBAC models, OAuth integration, session management
Data modeling — design schemas, plan migrations, review entity relationships, generate seed data, optimize queries