Then the friends of "member" should list "organizer"

Assert the friends of a member (the "Friends" tab of their profile) list (or do not list) another.

Examples

Then the friends of "member" should list "organizer"
And the friends of "member" should not list "newcomer"
Then the friends of "newcomer" should list "Member Test"
And the friends of "organizer" should list "moderator"
Then the friends of "newcomer" should not list "member"

Pattern

Then(/^the friends of "([^"]*)" should( not)* list "([^"]*)"$/, …)

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