Make an annotation on a dashboard, by the dashboard's uid, at this moment; or delete the dashboard's annotations of that text. Through the API.
Examples
When I make the annotation "Webship test deploy" on the dashboard "webship-shop"
When we delete the annotation "Webship test deploy" on the dashboard "webship-shop"
And I make the annotation "Webship test restock" on the dashboard "webship-shop"
Then I delete the annotation "Webship test restock" on the dashboard "webship-shop"
Given I make the annotation "Webship test sale" on the dashboard "webship-shop"
Pattern
When(/^(?:I |we )?(make|delete) the annotation "([^"]*)" on the dashboard "([a-z0-9_-]+)"$/, …)
Part of @webship-js/grafana-steps (github.com/webship/grafana-steps), a step pack for Webship-js 2.0.x.