Description: According to the requirements password must be at least 8 characters long and contain at least one letter, one digit, and may include special characters @$!%*?&.
Precondition: User is registered
Step to reproduce:
Execute the POST request as below. Replace code and email with valid data.
Expected result: App should reject password, HTTP status code = 400, error message = ”Password must be at least 8 characters long and contain at least one letter, one digit, and may include special characters @$!%*?&")”.
Actual result: The app allows saving password that do not meet requirements, HTTP status code = 200
Description: According to the requirements password must be at least 8 characters long and contain at least one letter, one digit, and may include special characters @$!%*?&.
Precondition: User is registered
Step to reproduce:
Execute the POST request as below. Replace code and email with valid data.
curl --location 'http://0.0.0.0:8083/api/v1/auth/password/change' --header 'Content-Type: application/json' --data-raw '{ "email": "email to resent password", "code": "code to reset password", "password": "t" }'
Expected result: App should reject password, HTTP status code = 400, error message = ”Password must be at least 8 characters long and contain at least one letter, one digit, and may include special characters @$!%*?&")”.
Actual result: The app allows saving password that do not meet requirements, HTTP status code = 200