1.1 KiB
1.1 KiB
E2E Test: Web Login Flow
App URL: https://localhost:3000 Date: 2026-05-27
Results
- Login page loads without console errors (SSR
window is not definedis expected client-side) - "Welcome back" heading is present
- Email field accepts input
- "Continue" button click triggers API call
- Password field is visible
- Social login buttons (Google, Discord) render
- Passkey button is rendered (disabled, deferred feature)
- Full authentication — requires real user account (manual test needed)
Test Steps (agent_browser)
- ✅ Open https://localhost:3000/login
- ✅ Snapshot — verify "Welcome back" heading (ref=e2)
- ✅ Fill email field (ref=e6) with test@example.com
- ✅ Click "Continue" (ref=e7)
- ✅ Snapshot — form re-renders with email still filled
- ⏳ Fill password + Sign in (requires real account)
Screenshots
screenshots/login-flow.png
Notes
- Login page rendered successfully
- SSR
window is not definedin LoginForm is expected (client component, resolved on hydration) check-emailendpoint (consolidated in Task 6) responds correctly to API calls