Assert that an account is (or is not) in a group, as its page in the admin shows it.
Examples
Then the user "editor" should be in the "Editors" group
Then the user "viewer" should be in the "Viewers" group
And the user "editor" should not be in the "Viewers" group
Then the user "administrator" should not be in the "Editors" group
And the user "viewer" should not be in the "Editors" group
Pattern
Then(/^the user "([^"]*)" should( not)* be in the "([^"]*)" group$/, …)
Part of @webship-js/django-steps (github.com/webship/django-steps), a step pack for Webship-js 2.0.x.