Test reportsSessions
Session 6: Clinic App - Availability & Online Booking
Date: 2026-06-11 Module: Clinic App - Availability & Online Booking URL: https://practice-stg-new.kulcare.com/cms/settings/availability Tester: [Your Name]
Test Results Summary
| Category | Tested | ✅ Passed | ❌ Failed |
|---|---|---|---|
| Availability - Admin | 18 | 18 | 0 |
| Online Booking - Admin | 10 | 8 | 2 |
| Online Booking - Doctor | 3 | 3 | 0 |
| Integration | 4 | 4 | 0 |
| Total | 35 | 33 | 2 |
Detailed Test Results
Availability Settings - Admin Side ✅ (18/18)
| # | Test Case | Result | Notes |
|---|---|---|---|
| 1 | Select Doctor | ✅ Pass | Shows doctor's schedules |
| 2 | Add Schedule - Single Day | ✅ Pass | Schedule created |
| 3 | Add Schedule - Multiple Days | ✅ Pass | Schedule created for all days |
| 4 | Add Schedule - All Days | ✅ Pass | Schedule created for all days |
| 5 | View Current Schedules | ✅ Pass | Shows all schedules |
| 6 | Edit Schedule | ✅ Pass | Schedule updated |
| 7 | Delete Schedule | ✅ Pass | Schedule removed |
| 8 | No Days Selected | ✅ Pass | Error shown |
| 9 | No Start Time | ✅ Pass | Error shown |
| 10 | No End Time | ✅ Pass | Error shown |
| 11 | Start Time = End Time | ✅ Pass | Error shown |
| 12 | Start Time > End Time | ✅ Pass | Error shown |
| 13 | Overlapping Time Slots | ✅ Pass | Error: "Time slot overlaps" |
| 14 | Adjacent Time Slots | ✅ Pass | Works (no overlap) |
| 15 | Edit Different Schedule | ✅ Pass | Only edited schedule updated |
| 16 | Delete Confirmation - Cancel | ✅ Pass | Schedule not deleted |
| 17 | Delete Confirmation - Confirm | ✅ Pass | Schedule deleted |
| 18 | Timezone Display | ✅ Pass | Times shown in clinic timezone |
Online Booking Settings - Admin Side (10 Tested)
| # | Test Case | Result | Notes |
|---|---|---|---|
| 19 | Enable Online Booking | ✅ Pass | Toggle works |
| 20 | Disable Online Booking | ✅ Pass | Toggle works |
| 21 | View Doctor Fees | ✅ Pass | Shows all doctors |
| 22 | Block Time Slot | ✅ Pass | Slot blocked |
| 23 | Block Entire Day | ✅ Pass | Day blocked |
| 24 | View Blocked Slots | ✅ Pass | Shows blocked |
| 25 | Unblock Time Slot | ✅ Pass | Slot available |
| 26 | Set Slot Duration | ✅ Pass | Duration saved |
| 27 | Set Consultation Fee | ❌ FAIL | PATCH API not working (Bug #27) |
| 28 | Update Consultation Fee | ❌ FAIL | PATCH API not working (Bug #28) |
Online Booking - Doctor Side ✅ (3/3)
| # | Test Case | Result | Notes |
|---|---|---|---|
| 29 | Set Own Availability | ✅ Pass | Can set schedule |
| 30 | View Own Schedules | ✅ Pass | Shows only own |
| 31 | Edit Own Schedule | ✅ Pass | Changes saved |
Availability & Online Booking Integration ✅ (4/4)
| # | Test Case | Result | Notes |
|---|---|---|---|
| 32 | No Schedule = No Booking | ✅ Pass | Not available |
| 33 | Schedule = Booking Available | ✅ Pass | Slots shown |
| 34 | Blocked Slot = No Booking | ✅ Pass | Not shown |
| 35 | Fee Required for Booking | ✅ Pass | Handles missing fee |
Bugs Found
| Bug # | Description | Severity | Status |
|---|---|---|---|
| 27 | Set consultation fee (PATCH API) | 🟡 High | Open |
| 28 | Set telemedicine fees (PATCH API) | 🟡 High | Open |
| 29 | Doctor can set other doctor's schedule | 🔴 Critical | Open |
Confirmed Working Features
| Feature | Status | Notes |
|---|---|---|
| Availability Schedule CRUD | ✅ Works | Add/Edit/Delete schedules |
| Overlap Detection | ✅ Works | Blocks overlapping time slots |
| Delete Confirmation | ✅ Works | Modal shows summary, confirm works |
| Online Booking Toggle | ✅ Works | Enable/disable booking |
| Unavailability Settings | ✅ Works | Block time slots, days |
| Doctor Own Availability | ✅ Works | Doctor can manage own schedule |
| Timezone Display | ✅ Works | Times shown in clinic timezone |
| Integration with Booking | ✅ Works | No schedule = no booking |
Recommendations
- Fix PATCH API for fee settings (Bug #27, #28)
- Implement role-based authorization for schedule management (Bug #29)
Session Status: ✅ Complete