CSCI-GA-2820-SP23-001 / shopcarts

This repository contains the shopcarts service
Apache License 2.0
0 stars 1 forks source link

DELETE a BDD .feature file to test RESTful API #50

Open Git-ittt opened 1 year ago

Git-ittt commented 1 year ago

As an administrator I need to be able to delete a user from the system So that their account and associated data are removed

Details and Assumptions

Scenario: Delete a Shopcart When I visit the "Home Page" And I set the "Email" to "chris@gmail.com" And I press the "Search" button Then I should see the message "Success" When I copy the "ID" field And I press the "Clear" button And I paste the "ID" field And I press the "Retrieve" button Then I should see the message "Success" When I press the "Delete" button Then I should see the message "Shopcart has been Deleted!" When I press the "Clear" button And I press the "Search" button Then I should see the message "Success" And I should not see "chris@gmail.com" in the results