Project

General

Profile

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" and "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 @, no prefix appears to the left of the @ symbol, 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  

 *Expected result* 
 Should return a validation message that says: "must be at least 20 characters" for "Bio" input field and "must be at least 5 characters" for the "Occupation" filed.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 

 *Environment* 
 PC / Windows 11 Home V.22H2 / Google Chrome Version 119.0.6045.199 (Official Build) (64-bit) 
 Samsung Galaxy A53 /Android 14/ Google Chrome 

Back