- Perform login using "standard_user"
- On the opened page verify:
- Products (1) title is displayed
- Shopping Cart icon (2) is displayed
- More than 1 product (3) is displayed
- Perform login using "standard_user"
- Add the first product to the cart by clicking Add to Cart button
- Verify Shopping Cart icon contains the number of products added (equal 1)
- Open the Shopping Cart and verify the added product is displayed (the data should be taken from the Products page and used here to as an expected result)
- Remove the product by clicking Remove
- Verify no products are available in the Shopping Cart
npx playwright test