All categories

CI stability

AI prompts: Flaky test debugging

Prompts for reviewing unstable automated checks, weak selectors, timing issues, and test data dependencies.

Data security: Use these prompts with your coding agent or QA workflow. Avoid pasting secrets, credentials, or sensitive customer data into tools you do not control.

Review a Playwright test for reliability

Use this when your test works locally but fails in CI.

You are a senior QA automation engineer.
Review this Playwright test and identify why it may be flaky:
[PASTE TEST CODE]

Look for:
- Timing issues
- Weak selectors
- Missing waits
- Race conditions
- Overly broad assertions
- Test data dependencies
- Shared state
- Network instability
- Browser-specific behavior

Return:
1. Problems found
2. Why each problem matters
3. Improved version of the test
4. Additional recommendations for CI stability