nss-evening-cohort-12 / rare-rest-smoky-mountain

rare-rest-smoky-mountain created by GitHub Classroom
0 stars 0 forks source link

Delete a Comment #26

Open hannahhall opened 3 years ago

hannahhall commented 3 years ago

As a commenter I would like the ability to remove a Comment so that I have created so that I can prevent others from seeing it in the event that I regret what I said.

Given a user is vising the list of Comments
When they select the Delete option
Then they should be prompted to confirm the deletion

Given the user wishes to confirm the delete
When they the select the option to confirm
Then the Comment should be removed from the system
And the user should be directed back to the Comment list

Given the user decides not to confirm the delete
When they the select the option to reject confirmation
Then the Comment should NOT be removed from the system
And the user should be directed back to the Comment list