Assert the groups of the administration ("Groups") list (or do not list) a group, and, when given, with a text of its row ("Hidden", "Private").
Examples
Then the administration's groups should list "Webship Club"
And the administration's groups should list "Core Team" with "Hidden"
Then the administration's groups should not list "Webship test group"
And the administration's groups should list "Design Circle" with "Private"
Then the administration's groups should list "Webship Club" with "Public"
Pattern
Then(/^the administration's groups should( not)* list "([^"]*)"(?: with "([^"]*)")?$/, …)
Part of @webship-js/buddypress-steps (github.com/webship/buddypress-steps), a step pack for Webship-js 2.0.x.