cse442-at-ub / project_s23-gofly

project_s23-gobites created by GitHub Classroom
0 stars 1 forks source link

As a consumer, I want to be able to enter my credentials when logging in so that I have access to the features of your website. #24

Closed mdhyder01 closed 1 year ago

mdhyder01 commented 1 year ago

Acceptance Tests

Test 1 - Login form fields:

  1. Navigate to the login page. (Link)
  2. Verify that the email address and password fields are clearly labeled and easily identified.
  3. Attempt to submit the form without completing any required fields.
  4. Verify that the system displays clear and concise error messages for each missing field.
  5. Verify that submitting the form with a valid email and password logs the user in.

Test 2 - Invalid email format:

  1. Navigate to the login page. (Link)
  2. Enter an email address with an invalid format (e.g. missing "@" symbol or invalid characters).
  3. Verify that the system displays a clear, concise error message indicating that the email address is invalid.
  4. Attempt to submit the login form with the invalid email address.
  5. Verify that the system does not allow the submission and displays an appropriate error message.

Test 3 - Password visibility:

  1. Navigate to the login page. (Link)
  2. Verify that the password field is initially masked for security purposes.
  3. Verify that the entered password is "*" symbols.

Test 4 - Login Homepage redirection

  1. Navigate to a page that requires authentication (e.g., account listings). (Link)
  2. Verify that the system redirects the user to the login page.
  3. Login with valid credentials.
  4. Verify that the system redirects the user back to the homepage.

Test 5 - Cross-device compatibility:

  1. Log in to the website from a desktop or laptop computer. (Link)
  2. Log out of the account.
  3. Log in to the website from a mobile device or tablet.
  4. Verify that the login process is the same and that the user can access their account on both devices.