As a user,
I need to be able to decrease an item in a shopcart in the API,
So that I can view all available data.
Details and Assumptions
The expected format of the response containing the list of resources (e.g. JSON, XML)
The expected structure of the response (e.g. each resource as an object within an array, a paginated list)
The expected behavior of the API in cases where there are no resources to list
Any filters or query parameters that may be included in the GET request to list resources
Acceptance Criteria
Scenario: Decrease an item in a Shopcart
When I visit the "Home Page"
And I set the "Name" to "Jon"
And I press the "Search" button
Then I should see the message "Success"
When I copy the "ID" field
And I paste the "Shopcart ID" field
And I press the "Retrieve Item" button
Then I should see "3" in the item results
When I press the "Decrease Quantity" button
And I press the "Retrieve Item" button
Then I should see "2" in the item results
As a user, I need to be able to decrease an item in a shopcart in the API, So that I can view all available data.
Details and Assumptions The expected format of the response containing the list of resources (e.g. JSON, XML) The expected structure of the response (e.g. each resource as an object within an array, a paginated list) The expected behavior of the API in cases where there are no resources to list Any filters or query parameters that may be included in the GET request to list resources
Acceptance Criteria