Project

General

Profile

Bug #3032

Updated by Viktorija S 7 months ago

The system allows an administrator to register an attendee using an invalid email address such as a word with the special character @ (for example a@a). This email does not conform to standard email formatting rules. No validation is performed to check the correctness of the email format, which results in the system accepting and saving invalid data. This can lead to issues with email delivery, such as missed webinar invitations or confirmations. 

 *Environment* 
 OS Windows 10 Pro 
 Google Chrome Version 137.0.7151.56 (Offizieller Build) (64-Bit) 
 https://qainterrapt.brainster.xyz/attendees/create 

 *Pre-conditions* 
 User must be logged in as admin 

 *Steps to reproduce* 
 # Navigate to the    'Attendees' page 
 # Fill in the 'Name' field with valid data 
 # Fill in the 'Surname' field with valid data 
 # Fill in the 'Email' field with invalid data (a@a, gmail.com@test, 123-_.@a1) 
  
 # Fill in the 'Phone' field with valid data 
 # Fill in the 'City' field with valid data 
 # Fill in the 'High School' field with valid data 
 # Fill in the 'Faculty' field with valid data 
 # Select a webinar from the 'Webinar' drop-down menu  
 # Click    the 'CREATE' button 
 # Observe 
  

 
 
 *Test Data* 
 * a@a 
 * gmail.com@test 
 * 123-_.@a1 

 *Expected Result* 

 The attendee should not be created, because email is not valid and an error message 'The Email field is required.' should be displayed in red letters. 

 A valid email address generally requires a local part (username), symbol @, and a domain name (including the top-level domain). 

 Local Part (username): This is the part before the symbol @. It can include lowercase letters (a-z), numbers (0-9), periods (.), underscores (_), and dashes (-). Consecutive periods or special characters are not allowed.  

 Symbol "@": This is the mandatory delimiter between the local part and the domain. 

 Domain Name: This is the part after the symbol and includes the domain and top-level domain (e.g., com, net, org). Letters, numbers, and dashes are generally allowed within the domain name.  
 An email address must have at least one character in the local part, followed by the @ symbol, and a domain name.  



 *Actual Result* 
 The system accepts the invalid email address format 'a@a' a@a and completes successfully registers the attendee registration successfully without triggering any validation error. attendee.

Back