From e033bf4eb08b24ac759553f5cd40371349d7b317 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Your=C2=96sp7455=1B=5B200=7Egit=20config=20--global=20user?= =?UTF-8?q?=2Eemail=20sp7455=40stern=2Enyu=2Eedugit=20config=20--global=20?= =?UTF-8?q?user=2Eemail=20sp7455=40stern=2Enyu=2Eedu=1B=5B200=7Egit=20conf?= =?UTF-8?q?ig=20--global=20core=2EfileMode=20falsegit=20config=20--global?= =?UTF-8?q?=20core=2Eeol=20lfcode=20=2Egit=20config=20--global=20core=2Efi?= =?UTF-8?q?leMode=20falsegit=20config=20--global=20core=2Eeol=20lfgit=20co?= =?UTF-8?q?nfig=20--global=20core=2Eautocrlf=20inputgit=20config=20--globa?= =?UTF-8?q?l=20user=2Ename=20Your=C2=96sp7455?= Date: Sun, 28 Apr 2024 15:35:45 -0400 Subject: [PATCH] Created code for Deleting a shopcart --- features/shopcarts.feature | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/features/shopcarts.feature b/features/shopcarts.feature index da59a8e..f65c830 100644 --- a/features/shopcarts.feature +++ b/features/shopcarts.feature @@ -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"