Then the members list should list "member"

Assert that the members list on screen lists an account (a handle of the users registry or a user name), or does not.

Examples

Then the members list should list "member"
Then the members list should not list "webship-test-nobody"
And the members list should list "administrator"
And the members list should list "newmember"
Then the members list should list "moderator"

Pattern

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

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