Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete-a-shopcart-2 #126

Closed
wants to merge 3 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions features/shopcarts.feature
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,20 @@ Feature: The shopcarts service back-end
And I press the "Update Shopcart" button
Then I should see the message "Success"


# DELETE A SHOPCART
Scenario: Delete a shopcart
When I visit the "Home Page"
And I set the "Shopcart User ID" to "1"
And I press the "Search Shopcart" button
Then I should see the message "Success"
And I should see "1" under the row "User ID 1" in the table
When I press the "Delete Shopcart" button
Then I should see the message "Success"
When I press the "Search Shopcart" button
Then I should see the message "Success"
And I should not see "User ID 1" in the results

# CREATE AN ITEM
Scenario: Create an item
When I visit the "Home Page"
Expand Down
Loading