AndreiBanu1 / Amazon_Testing_Framework

0 stars 0 forks source link

Create test cases for Promotions and Offers Module #13

Open AndreiBanu1 opened 1 year ago

AndreiBanu1 commented 1 year ago

Promotions and Offers Module: Test promotional offers, deals, discounts, and special campaigns. Verify that the discounts are applied correctly, promotional banners are displayed as expected, and time-sensitive offers expire correctly.

AndreiBanu1 commented 1 year ago
  1. Test discount application:

    • Preconditions: User is on a page with a discount or promotional offer.
    • Steps:
      1. Verify that the discount or promotional offer is displayed prominently on the page.
      2. Add the eligible product(s) to the cart or proceed to the checkout process.
      3. Verify that the discount or promotional offer is applied correctly to the cart or order total.
    • Expected Results: The discount or promotional offer should be applied correctly to the eligible product(s) and reflected in the cart or order total.
  2. Test promotional banners:

    • Preconditions: User is on different pages of the website.
    • Steps:
      1. Verify that promotional banners are displayed on relevant pages, such as the homepage, category pages, or product pages.
      2. Click on each promotional banner and verify that it redirects to the corresponding promotion or offer page.
    • Expected Results: Promotional banners should be displayed correctly on relevant pages and should redirect users to the corresponding promotion or offer pages when clicked.
  3. Test time-sensitive offers:

    • Preconditions: User is on a page with a time-sensitive offer, such as a flash sale or limited-time discount.
    • Steps:
      1. Verify that the time-sensitive offer is displayed prominently on the page, including the start and end dates or a countdown timer.
      2. Wait for the offer to expire or reach its end date.
      3. Refresh the page or navigate back to the page.
    • Expected Results: After the offer has expired, it should no longer be displayed on the page, and any associated discounts or promotions should be removed.
  4. Test discount exclusions:

    • Preconditions: User is on a page with a discount or promotional offer that has specific exclusions or restrictions.
    • Steps:
      1. Verify that the exclusions or restrictions are clearly stated along with the discount or promotional offer.
      2. Add a product or products that are excluded from the discount to the cart or proceed to the checkout process.
    • Expected Results: The excluded product(s) should not be eligible for the discount, and the discount should only apply to the eligible product(s).
  5. Test multiple promotions:

    • Preconditions: User is on a page where multiple promotions or offers are available.
    • Steps:
      1. Verify that all the available promotions or offers are displayed on the page.
      2. Add eligible products for each promotion to the cart or proceed to the checkout process.
      3. Verify that the discounts or promotions are applied correctly to the eligible products and reflected in the cart or order total.
    • Expected Results: Each eligible promotion or offer should be applied correctly to the corresponding eligible products, and the discounts should be reflected in the cart or order total.