Test plansPatient app
Test Plan: Patient App - Profile
Module: Patient App - Profile URL: https://patient-stg.kulcare.com/profile Status: ✅ Complete (Tested 2026-06-11)
Test Data Requirements
| Type | Data | Purpose |
|---|---|---|
| Test Image | JPG/PNG < 5MB | Photo upload |
| PDF File | Any PDF | File type validation |
| Large Image | JPG > 5MB | Size validation |
Test Cases
Happy Path
| # | Test Case | Priority | Steps | Expected | Result |
|---|---|---|---|---|---|
| 1 | View profile | P0 | Go to profile page | Shows all fields | ✅ Pass |
| 2 | Edit first name | P0 | Edit first name → Save | Updates correctly | ✅ Pass |
| 3 | Edit with all fields | P0 | Edit all fields → Save | All fields saved | ✅ Pass |
| 4 | Cancel edit | P0 | Make changes → Cancel | No changes saved | ✅ Pass |
| 5 | Upload profile photo | P0 | Select photo → Upload | Photo uploaded | ❌ FAIL |
Validation
| # | Test Case | Priority | Steps | Expected | Result |
|---|---|---|---|---|---|
| 6 | Empty first name | P0 | Clear first name → Save | Error: "Required" | ✅ Pass |
| 7 | Whitespace-only first name | P0 | Enter spaces → Save | Error: "Required" | ✅ Pass |
| 8 | Save without changes | P0 | No changes → Save | Button disabled | ✅ Pass |
| 9 | Partial address save | P1 | Fill partial address → Save | Only filled saved | ✅ Pass |
| 10 | DOB date format | P0 | Select date | Validates format | ❌ FAIL |
Edge Cases
| # | Test Case | Priority | Steps | Expected | Result |
|---|---|---|---|---|---|
| 11 | Long text (100+ chars) | P1 | Enter 100+ chars | Backend blocks | ✅ Pass |
| 12 | Special characters in name | P1 | Enter @#$% → Save | Should reject | ❌ FAIL |
| 13 | Upload PDF file | P1 | Select PDF → Upload | Frontend blocks | ✅ Pass |
| 14 | Image size (5MB+) | P1 | Select 5MB+ image | Error shown | ✅ Pass |
| 15 | Invalid pincode | P1 | Enter letters in pincode | Validates | ⚠️ Backend |
| 16 | Invalid phone | P1 | Enter letters in phone | Validates | ⚠️ Backend |
| 17 | Edit without auth | P0 | Clear session → Edit | Redirect to login | ✅ Pass |
Bugs Found
| Bug # | Description | Severity | Status |
|---|---|---|---|
| 4 | Photo upload preview not showing | 🟠 Medium | Open |
| 5 | DOB allows future dates | 🟠 Medium | Open |
| 6 | No format validation on pincode/phone (frontend) | 🟢 Low | Open |
| 7 | Special characters in name fields | 🟢 Low | Open |
Test Execution Checklist
- TC-1 to TC-17
Test Plan Status: ✅ Complete
Tested: 2026-06-11
Session File: ../test-reports/sessions/02-patient-app-profile.md