Then I should see the administrator dashboard

Assert the administrator Dashboard (com_cpanel) has (or has not) loaded, identified by its #cpanel-modules container. The page <title> isn't used for this check — whether it's prefixed with "Home Dashboard" varies by Joomla version/configuration, but the Dashboard's own markup doesn't.

Examples

Then I should see the administrator dashboard
And I should see the admin dashboard
Then we should not see the administrator dashboard
And should see the admin dashboard
Then I should be on the administrator dashboard

Pattern

Then(/^(I |we )*should( not)* (?:see|be on) the admin(?:istrator)* dashboard$/, …)

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