Start a sign-in from the app as a person does (its start page, its sign-in button) and wait for the server's login form. The browser keeps its session: a browser signed in already is sent straight back, and the step says so.
Then I should be on the login page
And I log in as "user" with the login form
Examples
When I go to the login page
When we go to the login page
And I go to the login page
When I go to the login page
When I go to the login page
Pattern
When(/^(?:I|we) go to the login page$/, …)
Part of @webship-js/keycloak-steps (github.com/webship/keycloak-steps), a step pack for Webship-js 2.0.x.