Scenario: 1. open an empty cart 2. press buy Actual: The empty cart is sent to the server for buying Expected: We won't able to send an empty cart Frontend - disable the button Backend - validate if the cart is empty return an error
Scenario:
Actual:
The empty cart is sent to the server for buying
Expected:
We won't able to send an empty cart
Frontend - disable the button
Backend - validate if the cart is empty return an error