AndreiBanu1 / Amazon_Testing_Framework

0 stars 0 forks source link

Create test cases for Order History Module #11

Open AndreiBanu1 opened 1 year ago

AndreiBanu1 commented 1 year ago

Order History Module: Test the order history and order tracking functionalities, ensuring that users can view their past orders, track shipments, and access invoices and order details.

AndreiBanu1 commented 1 year ago
  1. Test viewing order history:

    • Preconditions: User is logged in to their account.
    • Steps:
      1. Navigate to the order history or order tracking page.
      2. Verify that the user's past orders are displayed, including order numbers, dates, and status.
    • Expected Results: The user's order history should be displayed correctly.
  2. Test accessing order details:

    • Preconditions: User is logged in to their account and on the order history or order tracking page.
    • Steps:
      1. Select a specific order from the list.
      2. Click on the order to view its details.
      3. Verify that the order details are displayed correctly, including order number, date, items purchased, quantities, prices, and shipping information.
    • Expected Results: The order details should be displayed accurately.
  3. Test tracking an order shipment:

    • Preconditions: User is logged in to their account and on the order history or order tracking page with a shipped order.
    • Steps:
      1. Select a shipped order from the list.
      2. Find the option to track the shipment.
      3. Click on the tracking link or button.
      4. Verify that the tracking information is displayed, including the current status and location of the shipment.
    • Expected Results: The shipment tracking information should be accessible and displayed correctly.
  4. Test accessing order invoices:

    • Preconditions: User is logged in to their account and on the order history or order tracking page.
    • Steps:
      1. Select a specific order from the list.
      2. Find the option to view the invoice or download it.
      3. Click on the invoice link or button.
      4. Verify that the invoice is displayed correctly, including order details, billing information, and payment details.
    • Expected Results: The order invoice should be accessible and displayed accurately.
  5. Test filtering order history:

    • Preconditions: User is logged in to their account and on the order history or order tracking page with multiple orders.
    • Steps:
      1. Find the filtering options for order history, such as filtering by date, order status, or product.
      2. Apply the desired filters.
      3. Verify that the order list is updated accordingly, showing only the orders that match the selected filters.
    • Expected Results: The order history should be filtered correctly based on the specified criteria.
  6. Test reordering from order history:

    • Preconditions: User is logged in to their account and on the order history or order tracking page.
    • Steps:
      1. Select a specific order from the list.
      2. Find the option to reorder the items from that order.
      3. Click on the reorder button.
      4. Verify that the selected items are added to the cart or checkout process for reordering.
    • Expected Results: The items from the selected order should be successfully added for reordering.
  7. Test accessing return and refund information:

    • Preconditions: User is logged in to their account and on the order history or order tracking page with a completed order.
    • Steps:
      1. Select a completed order from the list.
      2. Find the option to view return and refund information.
      3. Click on the link or button to access the return and refund details.
      4. Verify that the information is displayed correctly, including return policy, refund status, and instructions for returning items.
    • Expected Results: The return and refund information for the order should be accessible and displayed accurately.