marvensC / 305Project

StudySync
https://marvensc.github.io/305Project/
2 stars 0 forks source link

US2: User Login #13

Open TundeCode opened 8 months ago

TundeCode commented 8 months ago

AS A user,

I WANT TO log in securely to the system

SO THAT I can access my personalized information and perform tasks relevant to my role.

SCENARIO: Successful Login GIVEN I am presented with the login screen WHEN I enter my username and password AND I click on the login button THEN I expect to be granted access to the system WITHIN a few seconds AND I should see my dashboard populated with relevant information WITHIN another few seconds.

SCENARIO: Incorrect Login Credentials GIVEN I am presented with the login screen WHEN I enter incorrect username or password AND I click on the login button THEN I expect to see an error message indicating the incorrect credentials WITHIN a few seconds.

SCENARIO: Forgotten Password GIVEN I am presented with the login screen WHEN I click on the "Forgot Password" link AND I enter my email address AND I submit the request THEN I expect to receive an email with instructions to reset my password WITHIN a few minutes.

SCENARIO: Unverified Email GIVEN I have registered for an account WHEN I attempt to log in AND I am notified that my email address has not been verified THEN I expect to see a message prompting me to verify my email WITHIN the login screen.

TundeCode commented 8 months ago

AS AN Administrator,

INSTEAD OF dealing with manual login processes,

I WANT TO streamline the login experience using a secure authentication system

IN ORDER TO save time and ensure the security of user accounts.

SCENARIO: Upon accessing the login page, GIVEN the user is presented with a username and password field, WHEN the user enters valid credentials and clicks the login button, AND the authentication process verifies the credentials, THEN the user is granted access to the system WITHIN milliseconds, AND any invalid login attempts are promptly reported WITHIN seconds.