Run end-to-end tests, fix UI and integration failures, and loop until the E2E suite passes.
Run the project's E2E test command and capture failures.
Fix the smallest root cause for failing E2E specs. Prefer stable selectors and realistic waits.
Re-run E2E until all specs pass.
E2E suite exits 0
Start the "E2E Until Green" loop. Goal: E2E suite passes Max iterations: 10 Between iterations run: npm run test:e2e Exit when: E2E command exits 0 Step 1: Run E2E tests. Fix the first failing spec, then repeat. Self-pace this loop. After each iteration, run the check command, read the output, and only continue if the exit condition is not met. Stop when the exit condition passes or max iterations is reached. Give a short status update each pass.