Assert the notifications on the page list (or do not list) one by its words ("You have a friendship request from Newcomer Test", "Organizer Test sent you a new private message").
Examples
Then my notifications should list "You have a friendship request from Newcomer Test"
And my notifications should list "sent you a new private message"
Then my notifications should not list "You have a friendship request from Newcomer Test"
And my notifications should list "Newcomer Test requests group membership"
Then my notifications should not list "requests group membership"
Pattern
Then(/^my notifications should( not)* list "([^"]*)"$/, …)
Part of @webship-js/buddypress-steps (github.com/webship/buddypress-steps), a step pack for Webship-js 2.0.x.