Login with Customer Add Out of Stock Product
HighBaselinedCriticalNegative
Description
Verify that out of stock products cannot be added to cart.
Pre-Conditions
1. Customer is logged in 2. Product is marked as out of stock
Test Steps
| Step # | Step Action | Expected Results |
|---|---|---|
| 1 | Login with Customer credentials | User is logged in |
| 2 | Navigate to a product that is out of stock | Product page loads |
| 3 | Verify out of stock indication | "Out of Stock" badge is displayed. "Add to Cart" button is disabled or replaced with "Notify Me" |
| 4 | Attempt to add product via URL manipulation | Server-side validation prevents adding. Error: "Product is currently unavailable" |
Created Dec 17, 2025 by Demo User