Bug #1531
openUser is able to create a mentor with invalid data in the "Name" input field
0%
Description
User is able to fill "Name" field with invalid data and create a Mentor while Name field should accept: Alphabetic characters (both, Latin and Cyrillic), all letter cases (lower and upper), special characters (only “-”, and “ . ”) and spaces. It should be minimum 3 and maximum 25 characters in length.
Environment:
Desktop / Windows 11 Home V. 22H2 / Google Chrome Version 120.0.6099.110 (Official Build) (64-bit), Desktop View, Mobile / Samsung galaxy S20 ultra /
Google Chrome 120.0.6099.110 (Official Build) (64-bit)
Precondition
User must be navigate on https://qainterrapt.brainster.xyz/dashboard and logged in
Steps to reproduce:
1.Click on Create button located in mentors menu
2.Fill in the Name field with invalid data (arabic characters [شرين عاما في مجال الاتصال], chinese characters [从事电信二十年], more then 3 characters and numbers[asdfas121], more then 25 characters in lenght [exdwfJfMEaSAjLIuqAnsMRkjTL], with more then 3 characters and special character ! [sidnf!], more then 3 characters and special character [asdff])
3.Fill in the ""Surname"" field with valid data alphabetic characters (latin and cyrillic) ,(minimum 3 and maximum 25 characters in length,numbers are not allowed, special characters (only ""-"" and ""."") and spaces)
4.Fill in the ""Email"" field with valid data (containing email prefix and an email domain)
5.Fill in the ""Bio"" field with valid data (minimum 20 and maximum 300 characters in length
6.Fill in the ""Occupation"" field with valid data (minimum 5 and maximum 25 characters in length, alphabetic characters (latin and cyrillic), all letter cases (lower and upper), special characters (only - and .) and spaces)
7.Click on Create button
Expected result
User should not be able to create a Mentor with invalid characters in "Name" input field and a message should be shown that the name field is required in red letters.
Actual Results
User is able to create a mentor with invalid characters in "Name" input field
Files