n/n Test Case | Test Case Description | Test Case Inputs | Expected Result | Step by Step Script | Actual Result |
---|
P1 | MSPs quantity on portal is equal to MSP quantity in DB | - status - "ACTIVE"
- type - "MSP"
- inserted_at between start_date and to_date
- is_active=true
| Equal quantity | - Get MSP quantity on Portal
- Calculate MSP quantity in DB
- Compare results
|
|
P2 | Pharmacies quantity on portal is equal to Pharmacies quantity in DB | - status - "ACTIVE"
- type - "PHARMACY"
- inserted_at between start_date and to_date
- is_active=true
| Equal quantity | - Get Pharmacies quantity on Portal
- Calculate Pharmacies quantity in DB
- Compare results
|
|
P3 | Declarations (patients) quantity on portal is equal to declaration quantity in DB | - status - ["ACTIVE", ''PENDING_VERIFICATION" ]
- inserted_at <=to_date
- is_active=true
| Equal quantity | - Get Declarations quantity on Portal
- Calculate Declarations quantity in DB
- Compare results
|
|
P4 | Doctors quantity on portal is equal to Doctor quantity in DB | - employee_type - DOCTOR
- status - "APPROVED"
- inserted_at between start_date and to_date
- is_active=true
| Equal quantity | - Get Doctors quantity on Portal
- Calculate Doctors quantity in DB
- Compare results
|
|
P5 | Pharmacists quantity on portal is equal to Pharmacists quantity in DB | - employee_type - PHARMACIST
- status - "APPROVED"
- inserted_at between start_date and to_date
- is_active=true
| Equal quantity | - Get Pharmacists quantity on Portal
- Calculate Pharmacists quantity in DB
- Compare results
|
|
P6 | MSPs quantity by each region on portal is equal to MSP quantity by region in DB | - status - "ACTIVE"
- addresses.type='REGISTRATION'
- type - "MSP"
- inserted_at between start_date and to_date
- is_active=true
| Equal quantity | - Get MSPs quantity by region on Portal
- Calculate MSPs quantity by region in DB
- Compare results
|
|
P7 | Pharmacies quantity by each region on portal is equal to Pharmacies quantity by region in DB | - status - "ACTIVE"
- addresses.type='REGISTRATION'
- type - "PHARMACY"
- inserted_at between start_date and to_date
- is_active=true
| Equal quantity | - Get Pharmacies quantity by region on Portal
- Calculate Pharmacies quantity by region in DB
- Compare results
|
|
P8 | Declarations quantity by each region on portal is equal to Declaration quantity by region in DB | - status - ["ACTIVE", ''PENDING_VERIFICATION" ]
- division.addresses.type='RESIDENCE'
- inserted_at <=to_date
- is_active=true
| Equal quantity | - Get Declarations quantity by region on Portal
- Calculate Declarations quantity by region in DB
- Compare results
|
|
P9 | Doctors quantity by each region on portal is equal to Doctor quantity by region in DB | - employee_type - DOCTOR
- status - "APPROVED"
- division.addresses.type='RESIDENCE'
- inserted_at between start_date and to_date
- is_active=true
| Equal quantity | - Get Doctors quantity by region on Portal
- Calculate Doctors quantity by region in DB
- Compare results
|
|
P10 | Pharmacists quantity by each region on portal is equal to Pharmacists quantity by region in DB | - employee_type - PHARMACIST
- status - "APPROVED"
- division.addresses.type='RESIDENCE'
- inserted_at between start_date and to_date
- is_active=true
| Equal quantity | - Get Pharmacists quantity by region on Portal
- Calculate Pharmacists quantity by region in DB
- Compare results
|
|
P11 | Medication requests quantity by each region on portal is equal to Medication requests quantity by region in DB | - status - "ACTIVE"
- employee.division.addresses.type='RESIDENCE'
- inserted_at between start_date and to_date
- is_active=true
| Equal quantity | - Get Medication requests quantity by region on Portal
- Calculate Medication requests quantity by region in DB
- Compare results
|
|