Kulcare Docs
Test reportsSessions

Session 2: Patient App - Profile

Date: 2026-06-11 Module: Patient App - Profile URL: https://patient-stg.kulcare.com/profile Tester: [Your Name]


Test Results Summary

CategoryTested✅ Passed❌ Failed
Happy Path541
Validation541
Edge Cases642
Regression110
Total17134

Detailed Test Results

Happy Path

#Test CaseResultNotes
1View profile✅ PassShows all fields correctly
2Edit first name✅ PassSave updates correctly
3Edit with all fields✅ PassAddress + emergency contact save
4Cancel edit✅ PassNo changes, no API call
5Upload profile photo❌ FAILUpload succeeds but preview doesn't show

Validation

#Test CaseResultNotes
6Empty first name✅ Pass"First name is required" error
7Whitespace-only first name✅ PassTrim validation works
8Save without changes✅ PassButton disabled when no changes
9Partial address save✅ PassOnly filled fields saved
10DOB date format❌ FAILAllows future dates

Edge Cases

#Test CaseResultNotes
11Long text (100+ chars)✅ PassBackend blocks + Toast shows
12Special characters in name❌ FAIL@ ~#$ accepted - should reject
13Upload PDF file✅ PassFrontend blocks
14Image size (5MB+)✅ PassFrontend validation works
15Invalid pincode format⚠️ BackendFrontend accepts, backend validates
16Invalid phone format⚠️ BackendFrontend accepts, backend validates
17Edit without auth✅ PassRedirects to login

Bugs Found

Bug #DescriptionSeverityStatus
4Photo upload preview not showing🟠 MediumOpen
5DOB allows future dates🟠 MediumOpen
6No format validation on pincode/phone (frontend)🟢 LowOpen
7Special characters in name fields🟢 LowOpen
35Email field missing in Patient App profile edit🟠 MediumOpen

Recommendations

  • Fix photo upload preview (Bug #4)
  • Add DOB future date validation (Bug #5)
  • Add frontend format validation for pincode/phone (Bug #6)
  • Add special character validation for name fields (Bug #7)
  • Add email field to profile edit form (Bug #35)

Bug Details

Bug #35: Email Field Missing in Patient App Profile Edit

Severity: 🟠 Medium Status: Open

Description: Patient signs up with email, but the email field is not visible in the profile edit page. Patient cannot update their email later.

Steps to Reproduce:

  1. Patient signs up with email "test@example.com"
  2. Go to Profile → Edit
  3. Check for email field → Not visible ❌

Expected: Email field should be editable in profile settings Actual: Email field missing from edit form

API Evidence: Patient profile PUT request (no email field in payload):

curl 'https://api-stg.kulcare.com/patient/profile' \
  -X 'PUT' \
  -H 'Authorization: Bearer ...' \
  --data-raw '{
    "profile": {
      "first_name": "Uday",
      "last_name": "Bisht",
      "birth_date": "2016-01-22",
      "gender": "male"
    }
  }'

API Response (shows email is stored but null):

{
  "data": {
    "id": "019ecefa-da2e-71cc-bb60-cd7d53ee8aa5",
    "first_name": "Uday",
    "last_name": "Bisht",
    "phone_number": "9988776655",
    "email": null
  }
}

Impact: Patients cannot update their email address after signup


Session Status: ✅ Complete

On this page