Skip to content

413 — should not change password when new password is short

Description

Verifies the 8-character minimum length on the new password — submitting a 2-character password is rejected with a length error.

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 user's real password.
  2. Fill New password and Confirm new password both with the 2-character value dd.
  3. Click Save. Expected: an error reading "Size must be between 8 and 255. Current size: 2." is shown and the password is not changed.
  • Spec: playwright/tests/integration/personal.info.spec.ts (line 305)