Given the logged in user is on the /my-posts page
When they select a post's delete button
Then they should see an alert that reads: "Are you sure you want to delete this post?"
And if they click ok
Then the post should be deleted
And the post list should update
Given the logged in user is on the
/my-posts
page When they select a post's delete button Then they should see an alert that reads: "Are you sure you want to delete this post?" And if they click ok Then the post should be deleted And the post list should update