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
test(e2e): assert auth guard does not flash on reload with valid session
Companion to the existing "maintains session on page reload" test:
that one verifies the authenticated content is eventually visible
after reload, but does not catch a single-frame guardComponent flash
during the `!isReady` window.
Inject a MutationObserver via `addInitScript` so it is attached
before any post-reload render, and assert the auth-guard testid
never enters the DOM while the session is being re-checked.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments