Then the members of the group "Webship Club" should list "member"

Assert the members of a group (its "Members" tab) list (or do not list) an account.

Examples

Then the members of the group "Webship Club" should list "member"
And the members of the group "Webship Club" should not list "newcomer"
Then the members of the group "Design Circle" should list "Organizer Test"
And the members of the group "Webship Club" should list "newcomer"
Then the members of the group "Design Circle" should not list "newcomer"

Pattern

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

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