Skip to content
Target QATargetQA

Playwright JavaScript E-Commerce Cart & Checkout Practice Labs

Automate realistic e-commerce purchase funnels: searching products, applying coupon promo codes, calculating cart totals, shipping address forms, and order confirmation.

Playwright · JavaScript
Challenges
111
Websites
10
Progress
—

Sign in to run, submit and track progress. Guests can browse and read every challenge.

Sign in
Showing 6 of 6 matching · 111 total
  1. Cart & Checkout#006ShopZone

    Add two units of a product to the cart

    Open the Nimbus X2 Wireless Headphones product page, choose a quantity of 2, add it to the cart and verify the cart badge.

    • Navigation
    • Dropdowns
    • State changes
    Easy 10m30 pts
    Solve
  2. Cart & Checkout#007ShopZone

    Update quantities and remove an item from the cart

    The cart already contains three products. Raise the desk lamp to 3 units, delete the mug, and verify the recalculated subtotal.

    • Scoped locators
    • Data attributes
    • Recalculated totals
    Medium 15m50 pts
    Solve
  3. Cart & Checkout#031StyleKart

    Change sizes and quantities in the bag

    The bag already holds three lines. Change the wrap dress to size M, raise the crop top to 3, remove the T-shirts and verify the recalculated totals.

    • Native dropdowns
    • Scoped locators
    • Recalculated totals
    Medium 15m50 pts
    Solve
  4. Cart & Checkout#032StyleKart

    Pick the better coupon from the coupons dialog

    Open the coupons dialog for the pre-filled bag, compare the savings of STYLE20 and FIRST100, apply the one that saves more, and verify the discounted total.

    • Modals
    • Scoped locators
    • Calculated values
    Medium 15m50 pts
    Solve
  5. Cart & Checkout#041StayNest

    Verify the reserve card price breakdown

    Pick a 4-night stay at Casa Azulejo in the reserve card and verify every line of the price breakdown: nights × nightly price, cleaning fee, 14% service fee and the total.

    • Calculated values
    • Scoped locators
    • Assertions
    Medium 15m55 pts
    Solve

FAQ

Playwright JavaScript E-Commerce Cart & Checkout FAQ

How do I practice E-Commerce Cart & Checkout in Playwright with JavaScript?

Choose any challenge below, write your Playwright test script in JavaScript, and execute it against our realistic mock websites. TargetQA tests your code in isolated cloud browsers and checks each acceptance step automatically.

What scenarios are included in the E-Commerce Cart & Checkout labs?

Automate realistic e-commerce purchase funnels: searching products, applying coupon promo codes, calculating cart totals, shipping address forms, and order confirmation.