Then the login of the observability platform should say "Invalid username or password"

Check the message the login page shows, by its words (after a refused sign-in: "Invalid username or password").

Examples

Then the login of the observability platform should say "Invalid username or password"
And the login of the observability platform should say "Login failed"
Then the login of the observability platform should say "Invalid username"
And the login of the observability platform should say "Invalid username or password"
Then the login of the observability platform should say "Login failed"

Pattern

Then(/^the login of the observability platform should say "([^"]*)"$/, …)

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