Then the "Kuma itself" monitor should have at least 1 heartbeat

A monitor has had at least so many checks (heartbeats) on its page's bar: the step waits for them, up to that many intervals (two minutes at most) and a margin.

Examples

Then the "Kuma itself" monitor should have at least 1 heartbeat
Then the "Nowhere" monitor should have at least 2 heartbeats
And the "Checkout push" monitor should have at least 1 heartbeat
Then the "Payments API" monitor should have at least 3 heartbeats
And the "Kuma itself" monitor should have at least 2 heartbeats

Pattern

Then(/^the "([^"]*)" monitor should have at least (\d+) heartbeats?$/, …)

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