issues
search
cse442-at-ub
/
project_s23-welovehertz
project_s23-welovehertz created by GitHub Classroom
0
stars
1
forks
source link
Check for duplicate email in the backend for registration page PHP
#77
Closed
sskong0719
closed
1 year ago
sskong0719
commented
1 year ago
Task Tests
Test 1
Store email in the database by registering once
Go to
Registration Page
Type in the user's first name in the "First Name" text box.
Type in the user's last name in the "Last Name" text box.
Type in the user's email address in the "Email" text box.
Type in a valid password in the "Password" text box.
Type in the same password in the "Confirm Password" text box.
Click on "Register" button
Go back to
Registration Page
Fill out the form with the same information previously entered.
Click on "Register" button
Verify that after clicking on "Register", an error indicating "Email address already exists" is displayed next to "Email" field
Test 2
This time test using a given email address
Go to
Registration Page
Type in the user's first name in the "First Name" text box.
Type in the user's last name in the "Last Name" text box.
Type in a valid password in the "Password" text box.
Type in the same password in the "Confirm Password" text box.
For the email field, enter "sskong@buffalo.edu", this is an existing email in the database
Click on "Register" button
Verify that after clicking on "Register", an error indicating "Email address already exists" is displayed next to "Email" field
Task Tests
Test 1
Test 2