AndreiBanu1 / Amazon_Testing_Framework

0 stars 0 forks source link

Create test cases for Account Management Module #9

Open AndreiBanu1 opened 1 year ago

AndreiBanu1 commented 1 year ago

Account Management Module: Test user account management functionalities, such as creating new accounts, logging in and logging out, updating personal information, managing addresses, and changing account settings.

AndreiBanu1 commented 1 year ago
  1. Test creating a new account:

    • Preconditions: User is on the account creation page.
    • Steps:
      1. Enter valid information in the required fields, such as name, email, password, etc.
      2. Click on the "Create Account" or "Sign Up" button.
    • Expected Results: The user should be able to create a new account successfully.
  2. Test logging in to an existing account:

    • Preconditions: User is on the login page.
    • Steps:
      1. Enter valid login credentials, such as email and password.
      2. Click on the "Log In" or "Sign In" button.
    • Expected Results: The user should be able to log in successfully and be redirected to the account dashboard or homepage.
  3. Test logging out of an account:

    • Preconditions: User is logged in to their account.
    • Steps:
      1. Click on the "Log Out" or "Sign Out" button.
    • Expected Results: The user should be logged out and redirected to the login or homepage.
  4. Test updating personal information:

    • Preconditions: User is logged in to their account.
    • Steps:
      1. Navigate to the account settings or profile page.
      2. Update personal information, such as name, email, phone number, etc.
      3. Click on the "Save" or "Update" button.
    • Expected Results: The personal information should be successfully updated and saved.
  5. Test managing addresses:

    • Preconditions: User is logged in to their account.
    • Steps:
      1. Navigate to the address management or address book page.
      2. Add a new address by entering valid address details.
      3. Save the new address.
      4. Edit an existing address by modifying the address details.
      5. Save the changes to the address.
      6. Delete an existing address from the address book.
    • Expected Results: The user should be able to add, edit, and delete addresses successfully.
  6. Test changing account settings:

    • Preconditions: User is logged in to their account.
    • Steps:
      1. Navigate to the account settings or preferences page.
      2. Modify account settings, such as notification preferences, communication preferences, etc.
      3. Save the changes to the account settings.
    • Expected Results: The account settings should be successfully updated and saved.
  7. Test resetting the password:

    • Preconditions: User is on the password reset page.
    • Steps:
      1. Enter the registered email address for the account.
      2. Click on the "Reset Password" or "Send Reset Link" button.
      3. Check the email associated with the account for a password reset link.
      4. Follow the instructions in the email to reset the password.
    • Expected Results: The user should be able to reset the password successfully and log in with the new password.
  8. Test deleting the account:

    • Preconditions: User is logged in to their account.
    • Steps:
      1. Navigate to the account settings or profile page.
      2. Find the option to delete the account.
      3. Confirm the account deletion by following the necessary steps or providing additional information.
    • Expected Results: The user account should be deleted successfully and all associated data should be removed.