As a System Administrator
I need to have a GUI to list a specific item in a shopcart
So that I can easily observe a certain item in a ceratin shopcart without using CLI
Details and Assumptions
Rename button to "Get Item" for read_items (instead of Search Item by ID)
When we enter "1001" to the text box "User ID"
And we enter "1" to the text box "Item ID"
And we press the button "Get Item"
Then we should see "[1, ring1, 2, 1998, True]" in the results
And we should not see "[2, ring2, 1, 1.5, False]" in the results
And we should not see "[1, ring1, 3, 3, True]" in the results
When we enter "1002" to the text box "User ID"
And we enter "2" to the text box "Item ID"
And we press the button "Get Item"
Then we should not see "[1, ring1, 2, 1998]" in the results
And we should not see "[2, ring2, 1, 1.5]" in the results
And we should not see "[1, ring1, 3, 3]" in the results
When we enter "1003" to the text box "User ID"
And we enter "1" to the text box "Item ID"
And we press the button "Get Item"
Then we should not see "[1, ring1, 2, 1998]" in the results
And we should not see "[2, ring2, 1, 1.5]" in the results
And we should not see "[1, ring1, 3, 3]" in the results
As a System Administrator I need to have a GUI to list a specific item in a shopcart So that I can easily observe a certain item in a ceratin shopcart without using CLI
Details and Assumptions
Rename button to "Get Item" for read_items (instead of Search Item by ID)
Acceptance Criteria
When we enter "1001" to the text box "User ID" And we enter "1" to the text box "Item ID" And we press the button "Get Item" Then we should see "[1, ring1, 2, 1998, True]" in the results And we should not see "[2, ring2, 1, 1.5, False]" in the results And we should not see "[1, ring1, 3, 3, True]" in the results
When we enter "1002" to the text box "User ID" And we enter "2" to the text box "Item ID" And we press the button "Get Item" Then we should not see "[1, ring1, 2, 1998]" in the results And we should not see "[2, ring2, 1, 1.5]" in the results And we should not see "[1, ring1, 3, 3]" in the results
When we enter "1003" to the text box "User ID" And we enter "1" to the text box "Item ID" And we press the button "Get Item" Then we should not see "[1, ring1, 2, 1998]" in the results And we should not see "[2, ring2, 1, 1.5]" in the results And we should not see "[1, ring1, 3, 3]" in the results