Bug #1590
Updated by Dragan Tevdoski about 2 years ago
When creating a Mentor by entering fewer characters in all fields than the allowed criteria, a validation message is returned in all fields except the "Bio" bio and "Occupation" occupation fields *Precondition* Navigate to URL https://qainterrapt.brainster.xyz/login The user must be pre-registered *Steps to reproduce* # Navigate to the home page [Dashboard] # Click on the "Mentors" via navigation menu. # Click on the "Create" button from the top right corner. # Fill in the "Name" field with invalid data less than 3 characters.(numbers, less than 3 or more than 25 characters, special characters except “-”, and “ . ”) # Fill in the "Surname" field with invalid data less than 3 characters.(numbers, less than 3 or more than 25 characters, special characters except “-”, and “ . ”) # Fill in the "Email" field with invalid data (no @, no prefix appears to the left of the @ symbol, or no domain on the right) # Fill in the "Bio" field with invalid data less than 20 characters (less than 20 or more than 300 characters, numbers, special characters except “-”, and “ . ”) # Fill in the "Occupation" field with invalid data less than 5 characters (less than 5 or more than 25 characters, numbers, special characters except “-”, and“ . ”) # Click on the "Create" button in the bottom right under the "Ocupatiuon" field *Expected result* Should return a validation message that says: "must says that more characters should be at least 20 characters" for "Bio" input field and "must be at least 5 characters" for the "Occupation" filed.according entered according to the criteria and the mentor should not be created *Actual result* By entering fewer characters in all fields than the allowed criteria, a validation message appears, except in the Bio and Occupation fields