Examples
Ecommerce
Test prompts for shopping carts, checkout, and order management
Ecommerce Test Prompts
Test prompts for online stores and shopping functionality.
Replace paths like /products, /cart, /checkout with your site's actual URL structure. Use real product URLs when possible.
Using checkout credentials? Store them as Credentials and reference them with {{credentials.<name>}} syntax.
Product Browsing
Browse Products
Go to /products (or /shop, /store).
Verify that:
- Products are displayed with images, names, and prices
- At least 3 products are visible
- Products are clickable
Click on the first product.
Verify the product detail page shows:
- Product name and price
- Add to cart button
- Product description
- Product image(s)Product Filtering
Go to /products.
Apply a category filter:
- Click or select "Electronics" (or available category)
Verify that:
- URL updates (e.g., /products?category=electronics)
- Only products in that category are shown
- Filter is visibly active/selected
- Product count updates if displayedProduct Sorting
Go to /products.
Find the sort dropdown and select "Price: Low to High".
Verify that:
- Products reorder by price ascending
- First product has the lowest price
- URL or page reflects sort selectionProduct Search
Go to /products.
Use the search/filter to search for: "shirt" (or relevant product)
Verify that:
- Search results show matching products
- Products contain "shirt" in name or description
- "No results" message if nothing matchesShopping Cart
Add to Cart
Go to /products/sample-product (or any product page).
Click "Add to Cart" button.
Verify that:
- Confirmation appears (toast, modal, or cart update)
- Cart icon shows 1 item (or increments by 1)
Go to /cart.
Verify the product is listed with correct name and price.Add to Cart - Multiple Products
Go to /products.
Click "Add to Cart" on Product 1 (quick add if available).
Click "Add to Cart" on Product 2.
Go to /cart.
Verify that:
- Both products are in cart
- Cart shows 2 items
- Each product has correct name and priceUpdate Cart Quantity
Ensure at least 1 item is in cart.
Go to /cart.
Find the quantity selector for the first item.
Change quantity from 1 to 3.
Verify that:
- Quantity updates to 3
- Line item total = unit price × 3
- Cart total reflects the changeRemove from Cart
Ensure at least 1 item is in cart.
Go to /cart.
Click the remove/delete button for the first item.
Verify that:
- Item is removed from cart
- Cart total updates
- If cart is empty, "empty cart" message appearsEmpty Cart State
Remove all items from cart (or start with empty cart).
Go to /cart.
Verify that:
- "Your cart is empty" message is displayed
- Link to continue shopping (e.g., to /products) is provided
- No errors or broken layoutDiscount Codes
Apply Valid Discount Code
Add any product to cart.
Go to /cart (or /checkout).
Find the coupon/promo code field.
Enter code: SAVE10 (or your valid test code)
Click Apply.
Verify that:
- Discount is applied and shown as line item
- Total price is reduced by discount amount
- Success message confirms code appliedApply Invalid Discount Code
Add any product to cart.
Go to /cart (or /checkout).
Enter invalid coupon code: FAKECODE123
Click Apply.
Verify that:
- Error message appears (e.g., "Invalid code")
- Cart total remains unchanged
- No discount is appliedCheckout
Checkout - Guest
Add a product to cart.
Go to /cart and click "Checkout" (or go to /checkout).
If prompted, select "Guest Checkout" or continue without account.
Fill shipping information:
- First name: Test
- Last name: Customer
- Email: {{credentials.testEmail}}
- Address: 123 Test Street
- City: Test City
- State/Province: California
- Postal code: 90210
- Country: United States
Click Continue.
Verify that:
- Shipping info is accepted
- Order summary shows correct items
- Proceed to payment/review stepCheckout - Logged In User
Log in as existing user.
Add a product to cart.
Go to /checkout.
Verify that:
- User info is pre-filled (if saved)
- Saved addresses are available to select
- User can proceed without re-entering all infoCheckout - Payment (Test Mode)
Complete checkout up to payment step.
Enter test card details:
- Card number: 4242 4242 4242 4242
- Expiry: 12/28
- CVC: 123
- Name: Test Customer
Click "Pay" or "Place Order".
Verify that:
- Payment processes successfully (test mode)
- Order confirmation page appears
- Order number is displayed
- Confirmation email mention (or sent)Checkout - Shipping Method Selection
Go through checkout to shipping step.
Verify that shipping options are displayed:
- At least one shipping method available
- Each shows name, estimated time, and price
Select the second shipping option (if available).
Verify that:
- Selection is highlighted
- Order total updates with shipping costOrders
View Order History
Log in as user with past orders.
Go to /account/orders (or /orders, /my-orders).
Verify that:
- Past orders are listed
- Each order shows: order number, date, status, total
- Orders are sorted by date (newest first)View Order Details
Log in and go to /account/orders.
Click on the most recent order.
Verify that order detail page shows:
- Order number and date
- Order status (e.g., Processing, Shipped, Delivered)
- Items ordered with quantities and prices
- Shipping address
- Order totalTrack Order
Go to /account/orders and click on a shipped order.
(Or go to /order-tracking and enter order number)
Verify that:
- Order status is displayed
- Tracking number is shown (if shipped)
- Shipping carrier information (if available)
- Estimated delivery date (if available)Wishlist / Saved Items
Add to Wishlist
Log in as user.
Go to /products/sample-product (any product page).
Click "Add to Wishlist" or heart icon.
Verify that:
- Confirmation appears
- Heart icon fills or changes state
Go to /wishlist (or /account/wishlist).
Verify the product is listed.Remove from Wishlist
Log in and ensure wishlist has items.
Go to /wishlist.
Click remove button on an item.
Verify that:
- Item is removed from wishlist
- Confirmation message appears
- Page updates without errorsMove from Wishlist to Cart
Log in and ensure wishlist has items.
Go to /wishlist.
Click "Add to Cart" on a wishlist item.
Verify that:
- Item is added to cart
- Cart count increases
Go to /cart and verify item is there.Reviews
Submit Product Review
Log in as user (ideally who purchased the product).
Go to /products/sample-product.
Scroll to reviews section and click "Write a Review".
Fill the review form:
- Rating: 4 stars
- Title: "Great product"
- Review: "This product works as expected. Good quality and fast shipping."
Submit the review.
Verify that:
- Success message appears
- Review shows on page OR "pending moderation" messageView Product Reviews
Go to /products/sample-product (product with reviews).
Scroll to reviews section.
Verify that:
- Reviews are displayed
- Each review shows: rating, title, text, author, date
- Average rating is calculated and shown
- Review count is displayed