Bug #2994
open[User] The "Name" field in the edit form accepts less than 7, more than 50 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
The ""Name"" field in edit form accepts values with less than 7 characters, more than 50 characters, and invalid special characters (other than ""-"" and ""."" and spaces).
The field accepts other special characters such as ""@"", ""#""
Pre-conditions
User must be logged into the application and list of user profiles must already exist to be edited.
Steps to reproduce
1. Log in to the Interapt
2. Navigate to the Users page
3.Click buton ""edit"" on the already existing user.
4.Enter a name containing the following invalid special characters:
a.(e.g., ""AAA"")
b.(e.g., "" AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"")
c.(e.g., ""AAA@"")
d.(e.g., ""AAA#"")
5.Click the ""Edit"" button.
6.Observe the edited User in the list
Expected Result
The "Name" field in edit form should only accept minimum 7 and maximum 50 characters and valid special characters: "-" and "." and spaces.
Actual Result
The "Name" field in edit form accepts invalid special characters and less than 7 and more than 50 characters without any validation error.
Files
No data to display