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
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

  1. Login as buyer USER_06 and place an order.
  2. Verify tracking status is PLACED.
  3. Login as admin ADMIN_01 and update status to SHIPPED.
  4. Verify tracking status is SHIPPED.
  5. 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.

Guest

Buyer actions

Product P008 stock: 30

0 items

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.