Assert the status of one component of the health ("db", "diskSpace"), read from its own path (/actuator/health/db): the app answers it only to the accounts that may see the details.
Examples
Then the health component "db" should report "UP"
And the health component "diskSpace" should report "UP"
Then the health component "ping" should report "UP"
Then the health component "db" should report "DOWN"
But the health component "db" should report "UP"
Pattern
Then(/^the health component "([^"]*)" should report "([^"]*)"$/, …)
Part of @webship-js/spring-boot-steps (github.com/webship/spring-boot-steps), a step pack for Webship-js 2.0.x.