Skip to content

410 — should succesfully change password

Description

Verifies that a user can change their password from Account Settings → Security and that the new password — and only the new password — works on a fresh sign-in.

Preconditions

  • A fresh user is signed in with the seeded mainProfile data and the original password from LOGIN_PASSWORD.
  • The Account Settings → Personal Info page is open.

Steps

  1. Open the Security tab and click "Change password".
  2. Fill the Current password with the original password.
  3. Fill New password and Confirm new password both with test-password2.
  4. Click Save. Expected: a "Password changed" confirmation popup appears.
  5. Open a brand-new browser context, navigate to the app, and sign in with the same email and the new password test-password2. Expected: the login succeeds and the post-login landing page is shown.
  • Spec: playwright/tests/integration/personal.info.spec.ts (line 269)