Test generation
When creating new tests, the test engineer:- Reads test cases (from markdown files or an external TMS like Zephyr Scale)
- Generates Playwright TypeScript test scripts with proper assertions
- Creates Page Object classes for reusable interactions
- Adds appropriate waits, retries, and error handling
- Tags tests with
@smoke,@regression, or custom tags
CLAUDE.md conventions and matches your style.
Auto-fixing
When a test fails due to a test issue (not a product bug), the test engineer automatically:Analyze the failure
Reads the error message, stack trace, and screenshots to identify the root cause.
Identify the fix
Determines whether the issue is a stale selector, a timing race, an outdated assertion, or a changed page structure.
Retry if needed
If the first fix doesn’t work, tries an alternative approach — up to 3 total attempts.
Knowledge base
The test engineer builds and consults aknowledge-base.md file that captures:
- Application structure and navigation patterns
- Common selectors and interaction patterns
- Known flaky areas and workarounds
- Corrections from disputed findings
Test maintenance
As your application evolves, existing tests may break due to UI changes, new authentication flows, or restructured pages. The test engineer handles this during every test run:- Updates selectors when elements are moved or renamed
- Adjusts assertions when expected behavior changes intentionally
- Refactors Page Objects when page structure changes significantly
Learn more
Extend test coverage
The full test generation workflow from plan to automation.
Triage failures
How failures are classified and how auto-fix fits into triage.
