Try to change the account's password in "Security" with a current password that is wrong: for the refusal (the message "Wrong password" pops up; the password stays as it was).
Then a message "Wrong password" should pop up
Examples
When I change my password with the wrong current password "Wrong-password-1"
When we change my password with the wrong current password "Wrong-password-1"
And I change my password with the wrong current password "Not-my-password-2"
When I change my password with the wrong current password "Wrong-password-1"
When I change my password with the wrong current password "Wrong-password-3"
Pattern
When(/^(?:I|we) change my password with the wrong current password "([^"]*)"$/, …)
Part of @webship-js/nextcloud-steps (github.com/webship/nextcloud-steps), a step pack for Webship-js 2.0.x.