You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(e2e): replace networkidle in messaging tests + auth-helpers
Same root cause as the BasePage fix (ca6e013): networkidle never
fires on pages with Supabase Realtime subscriptions. The /messages
page has active WebSocket channels that prevent the 500ms idle
window from closing.
Run 24221957976: 13/18 green (all gen shards), 5/18 red (all msg
shards). Every msg failure traced back to networkidle timeouts in
loginAndVerify() fallback or direct calls in test files.
Replaced 9 occurrences across 5 files:
- auth-helpers.ts:90 — loginAndVerify() WebKit fallback (highest
impact: used by every messaging test)
- complete-user-workflow.spec.ts — 3 calls (lines 439, 491, 680)
- group-chat-multiuser.spec.ts — 2 calls (lines 52, 176)
- offline-queue.spec.ts — 2 calls (lines 364, 365)
- friend-requests.spec.ts — 1 call (line 747)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments