The backend's last answer was its health (Terminus: When I send a GET request to "/health"), and says it is healthy (status "ok", 200), degraded (an indicator is degraded and none is down: "degraded", 200; Terminus 12 and later) or unhealthy (an indicator is down: "error", 503).
Examples
Then the backend should be healthy
Then the backend should be degraded
Then the backend should be unhealthy
And the backend should be healthy
But the backend should be degraded
Pattern
Then(/^the backend should be (healthy|degraded|unhealthy)$/, …)
Part of @webship-js/nestjs-steps (github.com/webship/nestjs-steps), a step pack for Webship-js 2.0.x.