test: E2E browser tests for login + signup (Task 18)

This commit is contained in:
2026-05-27 04:15:39 +08:00
parent eb9a185818
commit 86575923b0
8 changed files with 100 additions and 0 deletions
@@ -0,0 +1,22 @@
# E2E Test: Password Reset Flow
**App URL:** https://localhost:3000
**Date:** 2026-05-27
## Acceptance Criteria
- [ ] Forgot password page loads
- [ ] OTP is sent and received
- [ ] Password reset succeeds
- [ ] Can sign in with new password
## Test Steps (agent_browser)
1. `agent_browser open https://localhost:3000/forgot-password`
2. `agent_browser snapshot -i` — verify "Forgot your password?" heading
3. Fill email → Click "Send verification code"
4. Verify redirect to /reset-password
5. Enter OTP + new password + confirm
6. Click "Reset password"
7. Verify success → Sign in with new password
## Screenshots
- `screenshots/reset-success.png`