# Issues — cts-herd-playwright ## Known Constraints ### Metis-Identified Risks 1. **UserFactory incomplete**: Missing OAuth fields (resolved in T3) 2. **Zero data-testid attributes**: Must add systematically before writing tests (T4) 3. **Auth::attempt() won't work**: Password field has `hashed` cast with `bcrypt('')` for OAuth users 4. **SQLite BUSY**: Parallel Playwright workers would cause database lock errors 5. **Vite HMR**: `hmr.host: 'localhost'` may fail with Herd — use static build 6. **CTS data dependency**: Tests must NOT assert specific live data values ## Guardrails - NO writes to CTS API (STRICTLY READ-ONLY) - NO `fullyParallel: true` in Playwright config - NO `APP_DEBUG` gating for dummy login - NO changes to existing 174 Pest tests - NO .pro file parser implementation (remains 501 placeholder) ## Task 2: Dummy Test Login - Completed - ✓ Route gating with `app()->environment('local', 'testing')` works correctly - ✓ User::updateOrCreate() pattern matches OAuth callback exactly - ✓ Auth::login() (not Auth::attempt()) required due to password hashed cast - ✓ Vue component receives canDevLogin prop and conditionally renders button - ✓ Amber styling (bg-amber-500) distinguishes test button from OAuth button (indigo) - ✓ German text "Test-Anmeldung" used throughout - ✓ Route registered in guest middleware group as required