Choose a new password on the page of the reset link ("New password", "Reset password"); the server takes it and sends the browser to the login page. Later steps of the scenario log in with it; the registry's password is put back after the scenario.
Then I should be on the login page
Examples
When I choose the new password "Webship-New-Pass-1"
When we choose the new password "Webship-New-Pass-1"
And I choose the new password "Another-New-Pass-2"
When I choose the new password "Webship-New-Pass-1"
When I choose the new password "Webship-New-Pass-3"
Pattern
When(/^(?:I|we) choose the new password "([^"]*)"$/, …)
Part of @webship-js/nextcloud-steps (github.com/webship/nextcloud-steps), a step pack for Webship-js 2.0.x.