Then the debug toolbar should show the account "administrator"

Assert the account the debug toolbar reports as signed in (a handle of the users registry stands for its username), or that nobody is.

Examples

Then the debug toolbar should show the account "administrator"
Then the debug toolbar should show the account "user"
And the debug toolbar should show the account "jane_admin"
Then the debug toolbar should show no account
But the debug toolbar should show no account

Pattern

Then(/^the debug toolbar should show (?:the account "([^"]*)"|no account)$/, …)

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