When I change my password to "Changed-Pass-123"

Change the password of the signed-in account on its Password page ("Current password", "New password", "Confirm new password", "Update password"): from the one it has to a new one. The scenario logs in with the new one from then on; change it back before the scenario ends ("I change my password back"), or it is put back after it.

Examples

When I change my password to "Changed-Pass-123"
When we change our password to "Another-Pass-456"
And I change my password to "Changed-Pass-123"
When I change my password to "New.Password.789"
When we change our password to "Changed-Pass-123"

Pattern

When(/^(I |we )*change (?:my|our) password to "([^"]*)"$/, …)

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