Automation lab Aú E2E Workflows (E2E_WORKFLOWS)

Lab 113: E-Commerce E2E: Complex Order -> Split -> Partial Refund

Practice a complex e-commerce E2E flow: add multiple products, apply discount, shipping selection, payment, order splitting, and partial refund.

advanced advanced
advanced

Objectives

Use for test scripts
  • Automate a long E2E flow with multiple mini-flows.
  • Assert complex price calculations (discount, shipping, refund).
  • Handle order splitting and partial refund logic.
  • Verify order states and item-level status.

Sandbox

E2E Workflows | advanced | active

E-Commerce E2E: Complex Order -> Split -> Partial Refund

Complex order flow with discount, shipping, split shipments, and partial refund.

E-commerce checkout Split shipment Partial refund

Learning objectives

  • Automate a long E2E flow with multiple mini-flows.
  • Assert complex price calculations (discount, shipping, refund).
  • Handle order splitting and partial refund logic.
  • Verify order states and item-level status.

Steps

  1. Login as Customer and add items to cart.
  2. Apply discount and shipping, then place order.
  3. Complete payment and confirm status.
  4. Admin splits and ships items.
  5. Process partial refund.

Expected results

  • Totals reflect discount and shipping rules correctly.
  • Order status transitions follow the workflow.
  • Split creates shipments with item-level status.
  • Refund amount matches selected items only.
  • Timeline logs each transition.

Practice sandbox

Customer checkout, admin split, shipping, and partial refund.

Live

Active user

Not signed in.

Guest

Product list

Select products to add into cart.

Cart

Review items before checkout.

Product Qty Price Total
Cart total 0 VND

Checkout

Select shipping and apply discount.

Order total 0 VND

Payment

Available after order is placed.

Change 0 VND

Admin order management

Status: -

No order

Shipments: None

Item Qty Status Total

Partial refund

Refund shipped or completed items only.

Refund amount 0 VND

Timeline

0 events
    Ready.