2022-Spring-NYU-DevOps-Shopcarts / shopcarts

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

UI of list_shopcarts #84

Closed TimothyXu closed 2 years ago

TimothyXu commented 2 years ago

As a System Administrator I need to have a GUI to see all shopcarts So that I can easily observe shopcarts 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" And we enter "1002" to the text box "User_ID" And we press the button "Clear-Shopcart" And we press the button "List-All-Shopcarts" Then we should see message "Successfully listed all the shopcarts" And we should not see "1001" in the shopcarts table And we should not see "1002" in the shopcarts table

TimothyXu commented 2 years ago

I have no front end skills and since this requires creating a new button please can someone who knows HTML take this x I don't have the technical ability to this so per Scrum it's okay for me to take the story below this