Complete a checkout with Cash on Delivery
Hard100 pts~2 min
- End-to-end flows
- Forms
- Radio buttons
- Page transitions
Practice app · ShopZone
A full marketplace: two-step sign-in, search with filters and sorting, product pages with tabs, a cart with coupons, and checkout.
Your starter code already declares TEST_URL — never hardcode a host.
Objective
Automate the full purchase journey: sign in, add the Aurora Desk Lamp to the cart, check out with a delivery address and Cash on Delivery, and verify the order confirmation.
Your task
- 1Open TEST_URL and sign in as buyer@shopzone.test / Shop@123.
- 2Search for “desk lamp”, add the Aurora Desk Lamp to the cart and proceed to checkout from the cart.
- 3Fill the address: Asha Verma, 12 MG Road, Bengaluru, Karnataka, 560001, phone 9876543210.
- 4Choose Cash on Delivery (#pay-cod) and click Place your order (#place-order).
- 5Assert the confirmation page shows “Order placed, thank you!”, the payment method and the delivery city.
Acceptance criteria
- The order confirmation is displayed with an order number (SZ-…).
- The payment method is Cash on Delivery.
- The shipping address contains Bengaluru.
- The test makes at least two assertions along the journey.
Fixtures
- buyer@shopzone.test
- Password
- Shop@123
- Account name
- Asha Verma
- Coupon
- SAVE10 (10% off the subtotal)
- Pincodes
- 560001 Bengaluru · 110001 New Delhi · 400001 Mumbai · 600001 Chennai
Selenium WebDriver 4 · Selenium Challenges · ShopZone