Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[User Story] - As a user, I want to access and change my password so that my account remains secure. #57

Open
ichirokentaro opened this issue Jun 7, 2024 · 0 comments

Comments

@ichirokentaro
Copy link
Contributor

ichirokentaro commented Jun 7, 2024

User Story

As a user, I want to access and change my password so that my account remains secure.

Acceptance Criteria

  1. Access Password Change Page:

    • Given I am logged in,
    • When I navigate to the account settings page,
    • Then I should see an option to change my password,
    • And I should be able to click on a "Change Password" link or button.
  2. Password Change Form:

    • Given I am on the password change page,
    • When the page loads,
    • Then I should see fields to enter my current password, new password, and confirm the new password.
  3. Successful Password Change:

    • Given I have entered my current password and a valid new password,
    • When I click the "Save" button,
    • Then I should see a confirmation message indicating that my password has been successfully updated,
    • And I should be redirected to the account settings page.
  4. Password Validation:

    • Given I am entering a new password,
    • When the new password does not meet the security criteria (e.g., minimum length, special characters),
    • Then I should see an error message indicating the password requirements.
  5. Password Mismatch:

    • Given I am entering a new password,
    • When the new password and confirm password fields do not match,
    • And I click the "Save" button,
    • Then I should see an error message indicating that the passwords do not match.
  6. Incorrect Current Password:

    • Given I am changing my password,
    • When I enter an incorrect current password,
    • And I click the "Save" button,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant