Skip to content

411 — should not change password when current is wrong

Description

Verifies that a password change is rejected when the Current password value does not match the user's real password, even if the new + confirm fields are otherwise valid.

Preconditions

  • A fresh user is signed in with the seeded mainProfile data.
  • The Account Settings → Security → Change password form is open.

Steps

  1. Fill Current password with the obviously-wrong value dsjgfdskgds.
  2. Fill New password and Confirm new password both with test-password2.
  3. Click Save. Expected: a "Wrong credentials" error message is shown and the password is not changed.
  • Spec: playwright/tests/integration/personal.info.spec.ts (line 287)