Then the alert rule "Webship test orders" should be firing

Check an alert rule's state (Normal, Pending, Firing): the app's own API says it first, at the rule's evaluations (every 10 seconds for the rules the steps make), then the list (Alerting, Alert rules) shows the rule.

Examples

Then the alert rule "Webship test orders" should be firing
Then the alert rule "Webship test orders" should be normal
And the alert rule "Webship test stock" should be pending
And the alert rule "Webship test orders" should be firing
Then the alert rule "Webship test stock" should be normal

Pattern

Then(/^the alert rule "([^"]*)" should be (firing|normal|pending)$/, …)

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