Assert that the admin index lists (or does not list) an app, by its name as the index shows it. An account sees only the apps it has a permission in.
Examples
Then the admin index should list the app "Polls"
Then the admin index should not list the app "Authentication and Authorization"
And the admin index should list the app "Authentication and Authorization"
Then the admin index should list the app "Polls"
And the admin index should not list the app "Polls"
Pattern
Then(/^the admin index should( not)* list the app "([^"]*)"$/, …)
Part of @webship-js/django-steps (github.com/webship/django-steps), a step pack for Webship-js 2.0.x.