Then the administration bar should show the account "editor"

Assert the administration bar shows (or does not show) the account link of a username.

Examples

Then the administration bar should show the account "editor"
Then the administration bar should show the account "admin"
And the administration bar should not show the account "admin"
Then the administration bar should not show the account "member"
And the administration bar should show the account "editor"

Pattern

Then(/^the administration bar should( not)* show the account "([^"]*)"$/, …)

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