Assert the role of an account in a group, as the group's management lists it ("Administrator", "Moderator", "Member", "Banned"), for the group's organizer logged in.
Examples
Then the role of "moderator" in the group "Webship Club" should be "Moderator"
And the role of "organizer" in the group "Webship Club" should be "Administrator"
Then the role of "member" in the group "Webship Club" should be "Member"
And the role of "member" in the group "Design Circle" should be "Member"
Then the role of "member" in the group "Webship Club" should be "Moderator"
Pattern
Then(/^the role of "([^"]*)" in the group "([^"]*)" should be "([^"]*)"$/, …)
Part of @webship-js/buddypress-steps (github.com/webship/buddypress-steps), a step pack for Webship-js 2.0.x.