As a user when i click on the product image i want to be directed to a page that offers more detail about the product such as its
image, name, company cost, company selling price, and stock amount. This same page should allow me to delete any product im viewing.
Given a user has clicked a product on the product page and is viewing the product details page
When the user clicks on the delete button
Then that product should delete
Then the user will be returned to the product page
SERVER SIDE
product will be deleted from the products database
As a user when i click on the product image i want to be directed to a page that offers more detail about the product such as its image, name, company cost, company selling price, and stock amount. This same page should allow me to delete any product im viewing.
Given a user has clicked a product on the product page and is viewing the product details page When the user clicks on the delete button Then that product should delete Then the user will be returned to the product page
SERVER SIDE product will be deleted from the products database