Shopping Cart S0fd370e5→

0 0 0
user_flow

Description

### Purpose and Objectives
  * Validate shopping cart functionality to ensure accurate calculations and seamless user experience.
  * Test core features, including adding and removing items, to verify correct behavior.
  * Verify that the shopping cart works as expected in various scenarios, including edge cases.

  ### Scope of Testing
  * **Features:** Cart review and update functionality, including adding and removing items.
  * **Platforms:** Web application platform.
  * **User Flows:** User flow and smoke testing.

  ### Focus Areas
  * **Core Functionality:** Cart calculations, including single item, large quantity, and zero quantity.
  * **High-Risk Areas:** Edge case handling, error handling, and total price calculations.
  * **Error Handling:** Verification of item quantity and unit price accuracy.

  ### Testing Approach
  * **Test Coverage:** Comprehensive testing to cover various scenarios and edge cases.
  * **Future Testing Enhancement:** Continued testing and refinement to ensure the shopping cart remains reliable and accurate.
  * **Testing Techniques:** Black box testing, including equivalence partitioning and boundary value analysis.


 Test the functionality of all elements (username field, password field, login button) in each browser.

Tests (21)

M

Shopping with placeholder T91c5d476→

Tags
user_flow
Description


## Test Steps:
1. Open `<application name>` and `<application name>`
2. Enter `<username>` and `<password>` in the login form.  
3. Click `<login button>`.  
4. Verify that `<expected result>` is displayed.  
</expected></login></password></username></application></application>


![](/attachments/iNTXDfaj7G.png)
M

Shopping with placeholder Copy Tb707387e→

Tags
user_flow
Description


## Test Steps:
1. Open `<application name>` and `<application name>`
2. Enter `<username>` and `<password>` in the login form.  
3. Click `<login button>`.  
4. Verify that `<expected result>` is displayed.  
</expected></login></password></username></application></application>


![](/attachments/iNTXDfaj7G.png)
M

Add multiple different items to the shopping cart T1c02706f→

Tags
user_flow
Description
### Steps:  
1. Navigate to the product listing page.  
2. new step
3. Select multiple different products and click “Add to Cart” for each.  
4. Open the shopping cart page.  
5. Verify that all selected items are listed with their respective details.  
6. Confirm that the total price is calculated correctly.  

**Expected Result:** All added items appear in the cart with correct details, and the total price updates accordingly.
M

Remove an item from the shopping cart Tc0bdcca9→

Tags
user_flow
Description
### Requirements

  ### Steps

  This **word** is bold. This *word* is italic.

  Try to put a blank line before...

  ---

  ...and after a horizontal rule.

  ### Expected result
M

Verify total price calculation with decimal prices T0f2f2bf4→

Tags
user_flow
Description
### Requirements
  [EU Requirements](#requirement-5b94ad84)

  ### Steps
  * Navigate to the product listing page.
  * Select a product with a decimal price and click the “Add to Cart” button.
  * Add another product with a decimal price to the cart to test scenarios with multiple items.
  * Open the shopping cart page and verify that all selected items are listed with their respective details.
  * Confirm that the total price is calculated correctly, handling decimal prices accurately.

  ### Expected result
  The total price is calculated accurately, considering decimal prices of all added items.
M

Verify total price calculation with decimal prices Copy Taad9c95e→

Tags
user_flow
Description
### Requirements

### Steps

### Expected result

In the message input field, type the text `Bold`, select it, and apply the **Bold** formatting.
M

Test the shopping cart with an item having a negative price T3e400311→

Tags
user_flow
M

Open the shopping cart from a product listing page directly T6ef25c2e→

Tags
user_flow
M

Add an item to the cart after removing all other items T9f1a924a→

Tags
user_flow
Description
## Steps







-  Navigate to a conversation or chat room where you wish to upload an attachment.
*Expected:* 1. grgrt
*Expected:* 2. frgtrgrt
*Expected:* 3. grthtry

-  Go to browser settings.
-  Perform an action to confirm session validity.
M

Verify Cart Items Are Preserved After Browser Refresh Tde0680d1→

Tags
user_flow
Description
### Test Description

#### Steps:
1. Navigate to the product listing page.
2. Select a product and click the “Add to Cart” button.
3. Add multiple different products to the cart to test scenario with multiple items.
4. Open the shopping cart page and verify that all selected items are listed with their respective details.
5. Confirm that the total price is calculated correctly.
6. Refresh the browser to simulate losing the current session.
7. Re-open the shopping cart page and verify that the items are still preserved in the cart.
8. Confirm that the total price remains accurate.


### Expected Result:
The cart items are preserved after browser refresh, and the total price is calculated correctly.
M

Test Cart Functionality with Items Having Zero Quantity T186d02de→

Tags
user_flow
Description
### Test Description

#### Steps:
1. Navigate to the product listing page.
2. Select a product with zero quantity and click the “Add to Cart” button.
3. Add multiple different products to the cart with varying quantities.
4. Open the shopping cart page and verify that products with zero quantity are listed with their respective details.
5. Confirm that the total price is calculated correctly, excluding products with zero quantity.
6. Test removing products with zero quantity from the cart and verify the effect on the total price.


### Expected Result:
Product with zero quantity is correctly handled, total price is calculated accurately, and functionality behaves as expected.
M

Edge Case Removing Item with Same Quantity as Added T0b502a80→

Tags
user_flow
M

Removing an Item from the Shopping Cart T0c94b179→

Tags
user_flow
Description

#### **Preconditions:**  
- The user is logged into their account.  
- At least one item is already added to the shopping cart.  

### **Steps:**  
1. Navigate to the **Shopping Cart** page.  
2. Identify the item you want to remove.  
3. Click on the **Remove** button next to the item.  
4. Verify that a confirmation message appears asking, *"Are you sure you want to remove this item?"*.  
5. Click **Confirm Removal**.  
6. Ensure that the item disappears from the shopping cart.  
7. Verify that the **total price updates correctly** based on the remaining items.  
8. Refresh the page to check that the removed item does not reappear.  
9. Try adding the same item back to the cart and confirm it can be added successfully.  
10. Proceed to checkout and ensure the removed item is **not** included in the order summary.  

### **Expected Result:**  
- The selected item is successfully removed from the cart.  
- The total price updates accordingly.  
- The removed item does not reappear after a refresh.  
- The user can still add the item back if needed.  
- The removed item does not appear during checkout.  

Would you like another test case for **edge cases** like removing the last item from the cart? 😊
M

Removing an Item from the Shopping Cart Copy Teebf5c8c→

Tags
user_flow
Description

#### **Preconditions:**  
- The user is logged into their account.  
- At least one item is already added to the shopping cart.  

### **Steps:**  
1. Navigate to the **Shopping Cart** page.  
2. Identify the item you want to remove.  
3. Click on the **Remove** button next to the item.  
4. Verify that a confirmation message appears asking, *"Are you sure you want to remove this item?"*.  
5. Click **Confirm Removal**.  
6. Ensure that the item disappears from the shopping cart.  
7. Verify that the **total price updates correctly** based on the remaining items.  
8. Refresh the page to check that the removed item does not reappear.  
9. Try adding the same item back to the cart and confirm it can be added successfully.  
10. Proceed to checkout and ensure the removed item is **not** included in the order summary.  

### **Expected Result:**  
- The selected item is successfully removed from the cart.  
- The total price updates accordingly.  
- The removed item does not reappear after a refresh.  
- The user can still add the item back if needed.  
- The removed item does not appear during checkout.  

Would you like another test case for **edge cases** like removing the last item from the cart? 😊
M

Test Removing an Item Repeatedly Tac50033a→

Tags
user_flow
Description
### Requirements
1. The cart should allow removing items repeatedly
2. The total price should update correctly after each removal
3. The item quantity should decrease correctly after each removal

### Steps
1. Navigate to the product listing page
2. Select a product and click the “Add to Cart” button
3. Open the shopping cart page
4. Verify that the added item is displayed with the correct name, price, and quantity
5. Remove the item from the cart
6. Verify that the item is no longer displayed in the cart and the total price updates accordingly
7. Repeat steps 5-6 to ensure that removing the item repeatedly works correctly

### Expected results
* The item is removed from the cart correctly
* The total price updates correctly after each removal
* The item quantity decreases correctly after each removal
* No errors occur during the removal process
M

Add an item to the cart with a very large quantity T518f3f5f→

Tags
user_flow
Description
#### Steps:  
1. Navigate to the product listing page.  
2. Select a product and enter a very large quantity (e.g., 1000) in the quantity field.  
3. Click the “Add to Cart” button.  
4. Open the shopping cart page.  
5. Verify that the added item is displayed with the correct name, price, and quantity.  
6. Confirm that the total price is calculated correctly based on the large quantity.  

### **Expected Result:** The item appears in the cart with the correct details, and the total price is calculated accurately, handling the large quantity correctly.
M

Navigate to Shopping cart T5d5aa3a0→

Tags
user_flow
Description
M

note three Tedc3ccc9→

Tags
user_flow
Description
M

abc T2e348a0a→

Tags
user_flow
Description
M

Buy someth else T5d7b4f45→

Tags
user_flow
Description
M

Searchability T100c5d19→

Tags
user_flow
Description
### Steps
1. Navigate to the appropriate environment link from above.
2. Log in as a **Teacher**.
    *Expected:* 2

3. Open the **Assessments** page and select the target assessment.
    *Expected:* test

4. Ensure at least three students are assigned:
    *Expected:*
        - **Student A** has submitted the assessment
        - **Student B** has started but not submitted

5. Click the **Finish** button.
    *Expected:* A confirmation modal appears with the option **“Yes, submit all and finish”** (existing modal preserved).

6. In the modal, click **Yes, submit all and finish**.
    *Expected:* All students lose access to the assessment (they see a lock/message).

7. As the teacher, navigate to **Score by Student**.
    *Expected:*
        The first student in the list is displayed, and for each student the following buttons are visible:
        - **General Feedback**
        - **Complete on Paper**
        - **Reopen**
        - **Print**

8. Verify the status displayed for each student:
    *Expected:*
        - **Student A** — *Submitted* with scoring options
        - **Student B** — *Submitted* (auto-submitted by Finish) with scoring options
        - **Student C** — *Not attempted* / *No submissions yet* with scoring options