e2e-fix-cyclelisted
Install: claude install-skill parisgroup-ai/imersao-ia-setup
# e2e-fix-cycle - Automated Test-Fix Loop
Orchestrates e2e-run → e2e-analyze → fix → repeat until all tests pass.
## Usage
```bash
/e2e-fix-cycle <target> # Full cycle for target
/e2e-fix-cycle admin-tests # Fix all admin test failures
```
## Configuration
```yaml
limits:
max_iterations: 5
max_auto_fixes_per_batch: 10
require_approval:
- code-create # Creating new files
- schema-change # Database changes
- seed-update # Test data changes
auto_approve:
- test-update # Updating test code
- wait-strategy # Changing wait patterns
```
## Cycle Flow
```
┌─────────────────────────────────────────────────────────────┐
│ ITERATION 1 │
├─────────────────────────────────────────────────────────────┤
│ 1. /e2e-run admin-tests │
│ → 7 failures │
│ │
│ 2. /e2e-analyze │
│ → 2 batches: wrong-route(2), timeout-403(5) │
│ │
│ 3. FIX BATCH 1: wrong-route (auto-approve) │
│ → Edit creator-detail.spec.ts │
│ → Replace /admin/creators with /admin/moderation/creators│
│ │
│ 4. VERIFY BATCH 1 │
│