Bug #2766
open[Mentors] The "Email" field accept email with a mistake in the format.
0%
Description
Environment:
https://qainterrapt.brainster.xyz/login
Browser:
1.PC / Windows 10 V. 22H2 / Google Chrome Version 131.0.0.0 (Official Build) (64-bit)
2.Apple iPhone 11 / iOS Version 17.6.1 / Safari Version 17.6 on iOS 17.6 (Official Build) (24-bit)
Description:
By entering wrong format in the 'email' field and clicking on create button, a new mentor is created.
Pre-conditions:
User must be logged on Interrapt.
Steps to reproduce
1.Click on the 'Mentors' via navigation menu
2.Click on the 'CREATE' button from to top right corner
3.Fill in the 'Name' field with valid data
4.Fill in the 'Surname' field with valid data
5.Fill in the 'Email' field with invalid data
6.Fill in the 'Bio' field with valid data
7.Fill in the 'Occupation' field with valid data
8.Click on the 'CREATE' button
Expected Result
The system should reject the input and display a validation message such as:
"Please enter a valid email address."
Actual Result:
The system accepts the input without displaying any validation error, allowing the invalid email address to be saved.