vilimons / cypress-vuestorefront

0 stars 0 forks source link

Add To Cart test #4

Open vilimons opened 1 year ago

vilimons commented 1 year ago

Test Case: Add to Cart

Objective:

To verify that users can successfully add items to their shopping cart.

Preconditions:

Test Steps:

  1. Navigate to the product details page of the desired product.
  2. Verify that the product details, including the name, price, and description, are correctly displayed.
  3. Locate the "Add to Cart" button or a similar option.
  4. Click the "Add to Cart" button.

Expected Results:

Post-Conditions:

Test Case: Adding Multiple Items to Cart

Objective:

To verify that users can add multiple items to their shopping cart.

Preconditions:

Test Steps:

  1. Navigate to the product details page of one product.
  2. Click the "Add to Cart" button.
  3. Return to the product list or search for another product.
  4. Navigate to the product details page of a different product.
  5. Click the "Add to Cart" button for the second product.

Expected Results:

Post-Conditions:

These test cases help ensure that users can easily add products to their shopping cart and that the cart behaves as expected during the shopping process.