Make two accounts friends (a request from the first, accepted by the second); whatever they were comes back when the scenario ends.
Examples
Given "newcomer" and "member" are friends
Given "organizer" and "member" are friends
And "newcomer" and "moderator" are friends
Given "member" and "moderator" are friends
And "newcomer" and "organizer" are friends
Pattern
Given(/^"([^"]*)" and "([^"]*)" are friends$/, …)
Part of @webship-js/buddypress-steps (github.com/webship/buddypress-steps), a step pack for Webship-js 2.0.x.