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

Created code for Deleting a shopcart #127

Merged
merged 1 commit into from
Apr 29, 2024
Merged
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
13 changes: 13 additions & 0 deletions features/shopcarts.feature
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good, merging

Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,19 @@ 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