RameshAravindhAT / TestProjectforWorkflowProcess

TestProjectforWorkflowProcess
0 stars 0 forks source link

[User story 2] Login feature #2

Open RameshAravindhAT opened 3 days ago

RameshAravindhAT commented 3 days ago

Sure! Below is the User Story and Acceptance Criteria for the Login Feature with the required formatting of ** before and after the headers and subheaders:


### User Story: Login Feature for Accessing the Application **

As a: End-user
I want: A login screen to enter my credentials and access the application securely
So that: I can use the application with my registered account.


### Acceptance Criteria **:

  1. Login Page UI **:

    • The login page must have a clean and user-friendly interface.
    • The following fields must be present on the login page:
      • Email Address: Input field for the user to enter their registered email address.
      • Password: Input field for the user to enter their password (should be masked for privacy).
      • Forgot Password Link: A link that allows the user to reset their password if they forget it.
      • Login Button: A button to submit the login credentials.
      • Remember Me Checkbox: Optional checkbox to keep the user logged in on future visits (if applicable).
  2. Field Validations **:

    • Email Address:
      • Must be a valid email format (e.g., user@example.com).
      • Must match the registered email address in the system.
    • Password:
      • The password entered must be correct and match the one associated with the provided email address.
      • If the password is incorrect, an error message should be displayed.
    • Remember Me Checkbox: If selected, the system should remember the user's login for future sessions (optional).
  3. Error Messages **:

    • If the email or password is incorrect, an appropriate error message should be displayed:
      • For example, "Invalid email or password."
    • Error messages should be clear, concise, and specific, with proper focus on the input field.
    • If the Forgot Password link is clicked, the user should be directed to a password recovery page.
  4. Login Process **:

    • Upon successful validation, the user should be able to click the Login Button and be redirected to the application’s main dashboard or homepage.
    • The user should receive a session or token (in case of API-based authentication) for the current session.
    • If the login credentials are incorrect, the user should see an error message, and the system should not proceed with the login.
  5. Redirection **:

    • After a successful login, the user should be redirected to the Main Dashboard or landing page of the application.
    • If the user is not registered or has not completed registration, they should be redirected to the Registration Page with a message indicating that their account needs to be created.
  6. Security **:

    • Passwords should be securely hashed and stored in the database.
    • Session or authentication tokens should be implemented securely (e.g., JWT or OAuth).
    • Multi-factor authentication (MFA) could be added for additional security (optional but recommended).
    • Login attempts should be limited to prevent brute-force attacks.
  7. Session Management **:

    • The user should be able to log out at any time, and their session should be securely ended.
    • After logging out, the user should be redirected to the Login Page.
  8. Accessibility **:

    • The login page must be accessible to users with disabilities.
    • The form fields should have proper labels, and the page should follow WCAG accessibility guidelines.
  9. Responsiveness **:

    • The login page should be fully responsive and accessible on mobile devices, tablets, and desktops.
    • The fields and buttons should resize appropriately on different screen sizes.
  10. Additional Notes **:

    • If the user attempts to log in with incorrect credentials multiple times, the system should display a message prompting them to try again later, with a potential lock-out for multiple failed attempts.

### Example Success Scenario **:


### Example Failure Scenario **:


This version follows the requested formatting and includes key details for the login feature. Let me know if you need further adjustments or details!

anithaviswa commented 3 days ago

Hi @RameshAravindhAT i am going to work on this feature

anithaviswa commented 3 days ago

Hi @RameshAravindhAT

anithaviswa commented 3 days ago

hii @RameshAravindhAT completed the development you can test it .

RameshAravindhAT commented 3 days ago

Hi @anithaviswa ,

Please rework on the screen

anithaviswa commented 3 days ago

Hii @RameshAravindhAT @ragul0106 .i have reworked on the screen .please do the check.

RameshAravindhAT commented 2 days ago

Hi @anithaviswa ,

Please give me full requirments

RameshAravindhAT commented 2 days ago

Hi @anithaviswa ,

Please rework on the developement

RameshAravindhAT commented 2 days ago

Hi @anithaviswa ,

There is a issue please do the recheck in the application

RameshAravindhAT commented 2 days ago

Hi @everyone,

Testing it for the date purpose