AS A user,
INSTEAD OF creating a new account each time I open the app,
I WANT TO log in using my registered email and password
IN 3 seconds
TO securely retrieve my previously saved to-do list items
SO THAT I can access my tasks and see which items I have already completed.
SCENARIO: Successful Login
GIVEN the user is on the login screen of the ToDo List app,
WHEN the user enters a registered email address and correct password,
AND clicks the "Login" button,
THEN the system should authenticate the user through Firebase,
WITHIN 3 seconds,
AND redirect the user to the main to-do list screen displaying their saved tasks
WITHIN 2 seconds.
SCENARIO: Incorrect Password
GIVEN the user is on the login screen,
WHEN the user enters a registered email but an incorrect password,
AND clicks the "Login" button,
THEN the system should display an error message stating "Incorrect password. Please try again."
WITHIN 1 second,
AND prevent access to the main to-do list screen
WITHIN 1 second.
AS A user,
INSTEAD OF creating a new account each time I open the app,
I WANT TO log in using my registered email and password
IN 3 seconds
TO securely retrieve my previously saved to-do list items
SO THAT I can access my tasks and see which items I have already completed.
SCENARIO: Successful Login
GIVEN the user is on the login screen of the ToDo List app,
WHEN the user enters a registered email address and correct password,
AND clicks the "Login" button,
THEN the system should authenticate the user through Firebase,
WITHIN 3 seconds,
AND redirect the user to the main to-do list screen displaying their saved tasks
WITHIN 2 seconds.
SCENARIO: Incorrect Password
GIVEN the user is on the login screen,
WHEN the user enters a registered email but an incorrect password,
AND clicks the "Login" button,
THEN the system should display an error message stating "Incorrect password. Please try again."
WITHIN 1 second,
AND prevent access to the main to-do list screen
WITHIN 1 second.