Bug #1560
Updated by Martin Krleski about 2 years ago
User While creating new mentor, user is able to fill "Bio" field with invalid data and create a Mentor while Bio 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 enter less then 20 and maximum 300 characters in length. Bio field *Environment:* Desktop / Windows 11 Home V. 22H2 / Google Chrome Version 120.0.6099.110 (Official Build) (64-bit), Mobile view / Samsung galaxy S20 ultra / Google Chrome 120.0.6099.110 (Official Build) (64-bit) Desktop View *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 valid data (minimum 3 and maximum 25 characters in length, alphabetic characters (latin and cyrillic), all letter cases (lower and upper), special characters (only ""-"" and ""."") and spaces) 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 invalid data (less less then 20 characters [hRlkZWPNFgusbNBymHJ], more then 300 characters [XBUSuODyfNWRUHGSTobWMTrmfwKhaj LVrsoIneVrxnJdoqmjiUiaUWIFiUQQ ZWCymqcOtOopMRlesTiACObhYCZPjt qKxYnjDwzYmmazusEhYBZqVpvwlseN WbsBpWySoTDzowXrFrPPdAVBAVwAYe WellsrhDloMwtyloPSlUihegJbDeAc GKovCUGIOYciuFexnTACzKuQgUdxXg HfcFnQzLRsmrfmdpMWbomszRnUeqbW MkoCeyaCvohpTvxaFuBMhsYgnAOEfP GWbnSRnNkGBuPDPZUChcaLIvjFfvgAa], more then 21 characters and special character ! [LxxLZZbcnUKmqqjXyPxKfs!], more then 21 characters and special character @ [LxxLZZbcnUKmqqjXyPxKfs@], arabic characters [عشرين عاما فيjh مجdfdال الdfdاتصالاasdت], chinese characters [asdasdjabn从事df电信df二十年asdjasbn], more then 21 characters and numbers [JFsdfCzSfdsSf1sdfknFFa22MN46]. 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 data enter less then 20 characters in "Bio" input Bio field and a message should be shown that the bio name field is required in red letters. letters *Actual Results* User is able to create a mentor with invalid data less then 20 characters in "Bio" input Bio field