Skip to content

Add PW test : remove item from cart #44

@zina6916

Description

@zina6916

Add Playwright test to verify that an item can be removed from the cart so the cart status updates correctly.


Preconditions:

User is on the demo page
Cart contains at least one item

**Test Steps:**

Add an item to the cart.
Open the Cart Drawer.
Remove the item by clicking the Remove button.


**Expected:**

The item is no longer visible in the cart

The cart displays the empty state message: "Your cart is empty."
The cart title shows "Your Cart (0)"

The subtotal is updated to £0.00



Acceptance Criteria:


  • Item can be removed from the cart

  • Cart updates correctly after removal

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions