Automation lab Aú E2E Workflows (E2E_WORKFLOWS)
Lab 112: Inpatient E2E: Admission -> Doctor Approval -> Discharge -> Medical Record
Practice an inpatient hospital E2E flow with multi-form data entry, doctor approval, department assignment, discharge, and medical record locking.
advanced
advanced
Objectives
Use for test scripts- Automate long E2E flows with multiple roles and permissions.
- Work with multi-step forms containing 10+ fields.
- Assert workflow status transitions and timeline history.
- Validate read-only behavior after medical record locking.
- Practice negative and permission-based test cases.
Sandbox
E2E Workflows | advanced | active
Inpatient E2E: Admission -> Doctor Approval -> Discharge -> Medical Record
Admission intake, doctor approval, discharge, and record locking with role-based controls.
Inpatient admission
Doctor approval
Record locking
Learning objectives
- Automate long E2E flows with multiple roles.
- Validate multi-step forms with 10+ fields.
- Assert status transitions and timeline history.
- Enforce read-only behavior after record lock.
Steps
- Login as Reception and submit admission.
- Login as Doctor to approve and assign.
- Admit, discharge, and lock the record.
- Verify read-only enforcement.
Expected results
- Required fields block invalid submissions.
- Only allowed roles can approve or lock.
- Status transitions follow the workflow.
- Timeline logs each transition.
- Record becomes read-only after lock.
Practice sandbox
Inpatient admission with doctor approval and discharge workflow.
Live
Active user
Not signed in.
Admission form
Reception registers patient details and submits to doctor.
Doctor approval
Doctor reviews and approves admission.
Decision
Discharge and lock
Discharge patient and lock the record.
Admission detail
Status: -
No admission created.
Assigned: -
Medical record
-Record not locked.
Read-only: No
Timeline
0 events
Ready.