Testing prompts
Help me fix this flaky test. The test and any helpers it uses: """ [PASTE THE TEST, ITS SETUP AND TEARDOWN, AND THE CODE UNDER TEST] """ Failure output from a failing run: """ [PASTE THE ERROR AND STACK TRACE] """ Failure rate: [e.g. "1 in 20 runs", "only in CI", "only when the full suite runs"] When it started: [AFTER WHAT CHANGE, or
Flaky Test Triage
Diagnose intermittent test failures by cause class, get the experiment that confirms each, and fix the root rather than adding retries.
Codingintermediate
Write end-to-end tests for this application. Framework: [PLAYWRIGHT / CYPRESS / SELENIUM] and language: [TS / PYTHON / OTHER] The app and its critical user journeys: [THE 3-7 FLOWS THAT LOSING WOULD ACTUALLY HURT] Relevant markup or components: """ [PASTE THE PAGES, COMPONENTS, OR SELECTORS INVOLVED] """ Auth: [HOW USERS LOG IN, AND WHET
End-to-End Test Suite
Write stable end-to-end tests for the flows that matter: resilient selectors, real waits, isolated data, and no test that tests everything.
Codingintermediate
Write tests for the code below. Test framework + conventions: [e.g. "vitest, tests in __tests__/, describe/it style", or paste an existing test file to match] What this code is used for: [THE REAL-WORLD JOB, so tests reflect actual usage] Code under test: """ [PASTE FUNCTION/MODULE] """ Work in this order: 1. **Contract**: state what t
Edge-Case Test Generation
Generate tests from a behavior contract and boundary analysis (happy paths, edges, and error paths) instead of coverage theater.
Codingintermediate