Then the dashboard "webship-shop" should have the annotation "Webship test deploy"

Check a dashboard's annotations, by the dashboard's uid, for one by its text, through the API.

Examples

Then the dashboard "webship-shop" should have the annotation "Webship test deploy"
Then the dashboard "webship-shop" should not have the annotation "Webship test deploy"
And the dashboard "webship-shop" should have the annotation "Webship test restock"
And the dashboard "webship-shop" should not have the annotation "Webship test restock"
Then the dashboard "webship-shop" should have the annotation "Webship test sale"

Pattern

Then(/^the dashboard "([a-z0-9_-]+)" should (not )?have the annotation "([^"]*)"$/, …)

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