Make an account a member of a group (it joins, or asks and the group's organizer accepts) or not a member (it leaves, or its request is rejected), in the browser; its place comes back as it was when the scenario ends.
Examples
Given "newcomer" is not a member of the group "Webship Club"
Given "newcomer" is a member of the group "Webship Club"
And "newcomer" is not a member of the group "Design Circle"
Given "member" is a member of the group "Design Circle"
And "moderator" is not a member of the group "Design Circle"
Pattern
Given(/^"([^"]*)" is( not)* a member of the group "([^"]*)"$/, …)
Part of @webship-js/buddypress-steps (github.com/webship/buddypress-steps), a step pack for Webship-js 2.0.x.