Test plansPatient app
Test Plan: Patient App - Authentication
Module: Patient App - Authentication URL: https://patient-stg.kulcare.com/login Status: ✅ Complete (Tested 2026-06-11)
Test Data Requirements
| Type | Data | Purpose |
|---|---|---|
| Existing User | Phone: valid, OTP: correct | Test successful login |
| New User | Phone: unregistered | Test signup flow |
| Invalid OTP | Any valid phone | Test validation |
Test Cases
Happy Path
| # | Test Case | Priority | Steps | Expected | Result |
|---|---|---|---|---|---|
| 1 | Signup success → redirect to OTP | P0 | Enter phone → Submit → Enter OTP | Navigates to OTP page | ✅ Pass |
| 2 | Correct OTP → Dashboard | P0 | Enter correct 6-digit OTP | Redirects to dashboard | ✅ Pass |
| 3 | Forgot password flow | P0 | Click forgot → Enter phone → Submit | OTP sent, reset flow works | ✅ Pass |
| 4 | Logout | P0 | Click logout | Logged out, redirected to login | ✅ Pass |
Validation
| # | Test Case | Priority | Steps | Expected | Result |
|---|---|---|---|---|---|
| 5 | Empty mandatory fields | P0 | Submit without phone | Error: "Phone required" | ✅ Pass |
| 6 | Already registered phone | P0 | Enter registered phone | Error: "Phone already exists" | ✅ Pass |
| 7 | Wrong OTP | P0 | Enter wrong OTP | Error: "Invalid OTP" | ✅ Pass |
Edge Cases
| # | Test Case | Priority | Steps | Expected | Result |
|---|---|---|---|---|---|
| 8 | OTP paste in reset password | P1 | Paste OTP in reset password field | Should work | ❌ FAIL |
Bugs Found
| Bug # | Description | Severity | Status |
|---|---|---|---|
| 1 | Error message not user-friendly | 🟠 Medium | Open |
| 2 | Resend OTP not working | 🟡 High | Open |
| 3 | OTP paste in reset password | 🟠 Medium | Open |
Test Execution Checklist
- TC-1: Signup success
- TC-2: Correct OTP
- TC-3: Forgot password
- TC-4: Logout
- TC-5: Empty fields validation
- TC-6: Already registered
- TC-7: Wrong OTP
- TC-8: OTP paste
Test Plan Status: ✅ Complete
Tested: 2026-06-11
Session File: ../test-reports/sessions/01-patient-app-auth.md