Then the info endpoint should show "build.name" as "petclinic"

Assert a fact of the info endpoint (/actuator/info) by its dotted path: the build's ("build.name", "build.version") or the git commit's ("git.commit.id"), as the app publishes them.

Examples

Then the info endpoint should show "build.name" as "petclinic"
And the info endpoint should show "build.encoding.source" as "UTF-8"
Then the info endpoint should show "build.version" as "4.0.0-SNAPSHOT"
Then the info endpoint should show "git.commit.id" as "500158f"
Then the info endpoint should show "build.java.source" as "17"

Pattern

Then(/^the info endpoint should show "([^"]*)" as "([^"]*)"$/, …)

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