Every test case was passed except for the last one. Here is a description of this bug.
Reproduction Steps:
- The user is located on the cart page.
- The cart page is empty.
- The user clicks the "Checkout" button.
Expected Behavior:
- The user should not be redirected to another page.
- The user should receive an error message "Cart is empty."
Actual Behavior:
- The user is redirected to the checkout page.