Bug #2991
open[Users create form] The "Name" field accepts less than 3 characters, more than 25 characters, and invalid special characters
0%
Description
Environment
https://qainterrapt.brainster.xyz/login
OS Name: Microsoft Windows 10 Pro
Browser: Google Chrome
Version 131.0.6778.139 (Official Build) (64-bit)
Browser Microsoft Edge
Version 131.0.2903.99 (Official build) (64-bit)
Huawei P smart 2021
Version: 10.1.1.270(C432E4R4P1)
Browser: Google Chrome
Description
In the User creation form, the validation for the ""Name"" and ""Password"" fields does not work as expected
The ""Name"" field accepts values with less than 3 characters, more than 25 characters, and invalid special characters (other than ""-"" and ""."").
Steps to reproduce
1. Log in to the Interapt
2. Navigate to the Users page
3. Click on the ""Create"" button
4.In the ""Name"" field, enter the following test cases:
a) A name with less than 3 characters (e.g., ""aa"").
b) A name with more than 25 characters (e.g., ""NewUserrrr123456789987654321"").
c) A name with invalid special characters (e.g., ""User@#"").
5.Click the Create button.
6.Observe the created User in the list
Expected Result
The ""Name"" field should accept values with:
A minimum of 3 characters and a maximum of 25 characters.
Only valid special characters: ''-'' and ''.''
Actual Result
The ""Name"" field:
-Accepts less than 3 characters.
-Accepts more than 25 characters.
-Accepts invalid special characters (e.g., @, #).
Files
No data to display