Loading...
Loading...
Review Playwright tests for quality. Use when user says "review tests", "check test quality", "audit tests", "improve tests", "test code review", or "playwright best practices check".
npx skill4agent add alirezarezvani/claude-skills review$ARGUMENTStestDirplaywright.config.ts*.spec.ts*.spec.jsanti-patterns.mdwaitForTimeout()expect(await ...)baseURLawaitpage.evaluate()test.describe()test.describe()## <filename> — Score: X/10
### Critical
- Line 15: `waitForTimeout(2000)` → use `expect(locator).toBeVisible()`
- Line 28: CSS selector `.btn-submit` → `getByRole('button', { name: 'Submit' })`
### Warning
- Line 42: Test name "test login" → "should redirect to dashboard after login"
### Suggestions
- Consider adding error case: what happens with invalid credentials?/batchEdit