Mark the open dashboard as a favourite, or take its mark off, with the button beside its title; wait for the button to say it.
Examples
When I mark the dashboard as a favourite
When I unmark the dashboard as a favourite
And we mark the dashboard as a favourite
And we unmark the dashboard as a favourite
When I mark the dashboard as a favourite
Pattern
When(/^(?:I |we )?(mark|unmark) the dashboard as a favourite$/, …)
Part of @webship-js/grafana-steps (github.com/webship/grafana-steps), a step pack for Webship-js 2.0.x.