When I delete the notification "You have a friendship request from Newcomer Test"

Delete a notification of the page ("Delete", which asks "Are you sure?"), by its words.

Examples

When I delete the notification "You have a friendship request from Newcomer Test"
And I delete the notification "sent you a new private message"
When we delete the notification "requests group membership"
And I delete the notification "Newcomer Test"
When I delete the notification "friendship request"

Pattern

When(/^(I |we )*delete the notification "([^"]*)"$/, …)

Part of @webship-js/buddypress-steps (github.com/webship/buddypress-steps), a step pack for Webship-js 2.0.x.