Test product display and cart requests
Check active products, options, and pricing rules first.
After this taskCustomer, product, option and quantity match. Request acceptance is not payment approval.
Starting conditions and inputs
Prepare published test products, options and a test customer.
Values for this task
entry_url, public_url, product_id, option_id, quantity, test_customer, test_contact, purchase_url
Command sequence
open "$entry_url" && snapshot -i
click "$product_link" && snapshot -i
get text body
click "$product_option" && snapshot -i
click "$add_to_cart" && snapshot -i
get text body
click "$cart_application" && snapshot -i
fill "$contact_input" "$test_contact" && snapshot -i
click "$submit_application" && snapshot -i
get text body
open "$purchase_url" && snapshot -i
get text bodyRef targets and expected results
| # | Command / ref | Target and verification |
|---|---|---|
| 1 | click $product_link | Test product details link |
| 2 | get text | Compare price and included scope. |
| 3 | click $product_option | Option to include |
| 4 | click $add_to_cart | Add-to-cart button |
| 5 | get text | Compare cart product, option, quantity and amount. |
| 6 | click $cart_application | Open the cart application |
| 7 | fill $contact_input | Applicant contact input |
| 8 | click $submit_application | Submit the test application |
| 9 | get text | Read this application acknowledgment identifier. |
| 10 | open | Received purchase request |
| 11 | get text | Compare submitted product, option and customer. |
Check the result
Customer, product, option and quantity match. Request acceptance is not payment approval.
Resuming after interruption
Check the original request ID and outcome first. Do not resubmit while its result remains unknown.
Choose eligible products
Check active products, options, and pricing rules first. Cart requests cover fixed-price one-time products and bundles quoted as one-time purchases. Quote-based, recurring, and usage pricing do not become online payments through this flow.
Configure product display
Enable the cart in the header and add a product section. Choose products and set its action to add to cart. Compare names, organization, currency, and displayed prices with the catalog calculation.
Submit a cart request
As a test customer, add products and change quantities. Check the total, enter contact details, and submit. The server checks current prices and status again. Review updated conditions if the cart reports a change.
Compare purchase records
Check the pending purchase records for the correct customer, product, and quantity. A purchase request is not a payment approval. Link a reservation separately when a visit is needed. Count requests and completed payments separately.