ita-social-projects/GreenCity

[Client cabinet Change password] An error message doesn`t appear when user enters more than 20 characters

Closed this issue · 0 comments

Environment: Windows 10, Chrome 125.0.6422.112 (64-bit)

Reproducible: always

Build found: 2/06/24

Pre-conditions:

  1. Go to https://www.pick-up.city/#/ubs
  2. The user is logged in 

Steps to reproduce

  1. Open “My profile “

  2. Click on the “User Data” tab

  3. Click on the “Change password” button

  4. Enter more than 20 characters in the 'New password' text field and 'Repeat the new password' text field

  5. Click on “Change password” button

Actual result

  1. An error message doesn`t appear:

“Password must be less than 20 characters long without spaces.”.

  1. Pop-up closed, the password hasn`t been changed, the user can log in with the old password

7aef6a45-9221-4428-9883-f4d75b1db938

Expected result

Pop-up has to be open and an error message highlighted in red appears:

“Password must be less than 20 characters long without spaces.”.

User story #4276