Then I should see the toolbar

Assert the Toolbar module's admin bar (#toolbar-administration) is, or is not, present.

Not the same check as the navigation sidebar step below: the two are separate, mutually exclusive admin UIs, so keep whichever matches the module the site has enabled. Waits for attached rather than visible because the module's anti-flicker script keeps the bar hidden for a moment after load, which makes a visibility wait flaky right after a login redirect.

Examples

Then I should see the toolbar
And we should see the admin toolbar
Then should see the administration toolbar
And I should not see the toolbar
Then we should not see the admin toolbar

Pattern

Then(/^(I |we )*should( not)* see the (?:admin |administration )?toolbar$/, …)

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