Automation lab Aú E2E Workflows (E2E_WORKFLOWS)
Lab 106: Login -> Buy -> Track order status workflow (Placed -> Shipped -> Delivered)
Track order status transitions and verify the timeline across buyer and admin roles.
advanced
advanced
Objectives
Use for test scripts- Automate multi-role order lifecycle flows.
- Validate allowed status transitions.
- Assert tracking timelines and status updates.
- Verify access control for orders.
Sandbox
E2E Workflows | e2e-workflows | advanced | active
Login -> Buy -> Track order status workflow (Placed -> Shipped -> Delivered)
Track order status transitions and verify timeline updates across buyer and admin roles.
Order tracking
Status workflow
Timeline assertions
Learning objectives
- Automate multi-role order lifecycle flows.
- Validate allowed status transitions.
- Assert tracking timelines and status updates.
- Verify access control for orders.
Steps
- Login as buyer USER_06 and place an order.
- Verify tracking status is PLACED.
- Login as admin ADMIN_01 and update status to SHIPPED.
- Verify tracking status is SHIPPED.
- Update status to DELIVERED and verify timeline milestones.
Expected results
- Buyer can only view their own order.
- Order tracking shows correct current status.
- Timeline includes PLACED, SHIPPED, DELIVERED entries.
- Invalid transitions are rejected with errors.
- UI reflects latest status after refresh.
Practice sandbox
Buyer places an order, admin updates status, buyer tracks.
Live
Active user
Not signed in.
Buyer actions
Product P008 stock: 30
Last order code: -
Admin actions
| Order | Buyer | Status | Update |
|---|
Order tracking
Current status
-
Ready.
Assertions to practice
- Tracking updates after status changes.
- Invalid transitions are blocked.
- Timeline events appear once per transition.