Then the realm should have the client "webship-app"

The realm has a client (the Clients page, searched by its client ID) or a realm role (the Realm roles page, searched by its name).

Examples

Then the realm should have the client "webship-app"
Then the realm should have the role "editor"
Then the realm should have the client "webship-partner"
Then the realm should not have the client "no-such-client"
Then the realm should not have the role "no-such-role"

Pattern

Then(/^the realm should( not)? have the (client|role) "([^"]*)"$/, …)

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