2022-Spring-NYU-DevOps-Shopcarts / shopcarts

Shopcarts squad.
Apache License 2.0
2 stars 2 forks source link

UI of Delete Shopcarts #86

Closed TimothyXu closed 2 years ago

TimothyXu commented 2 years ago

As a System Administrator I need to have a GUI to remove all items in a shopcart So that I can easily empty a certain shopcart without using CLI

Details and Assumptions

Given a set of items | user_id | item_id | item_name | quantity | price | | 1001 | 1 | ring1 | 2 | 1998 | | 1001 | 2 | ring2 | 1 | 1.5 | | 1002 | 1 | ring1 | 3 | 3 | When we visit the "home page" And we enter "1001" to the text box "User_ID" And we press the button "Clear-Shopcart" Then we should see message "Successfully cleared the shopcart" When we enter "1002" to the text box "User_ID" And we press the button "Retrieve" Then we should see "ring1" in the results