Assert a dashboard widget is on the Dashboard, by its title: "At a Glance", "Activity", "Quick Draft", "Site Health Status", "WordPress Events and News". The Dashboard must be open: it is where a role lands after login.
Examples
Then I should see the "At a Glance" dashboard widget
And we should see the "Activity" dashboard widget
Then I should not see the "Quick Draft" dashboard widget
And I should see the "Site Health Status" dashboard widget
But we should not see the "Plugins" dashboard widget
Pattern
Then(/^(I |we )*should( not)* see the "([^"]*)" dashboard widget$/, …)
Part of @webship-js/wordpress-steps (github.com/webship/wordpress-steps), a step pack for Webship-js 2.0.x.