Send the password confirmation form with a password as it is written: a wrong one, to see the form refuse it. Assert the outcome with the next step.
Examples
When I confirm my password with "wrong-password"
When we confirm our password with "not-my-password"
And I confirm my password with "wrong-password"
When I confirm my password with "12345678"
And we confirm our password with "wrong-password"
Pattern
When(/^(I |we )*confirm (?:my|our) password with "([^"]*)"$/, …)
Part of @webship-js/laravel-steps (github.com/webship/laravel-steps), a step pack for Webship-js 2.0.x.