AS A user,
I WANT TO sign in to my account using my email and password,
TO access my tasks
SO THAT I can manage my to-do list effectively.
SCENARIO: Successful Sign In
GIVEN the user is on the sign-in screen,
WHEN the user enters a valid email address and password,
AND clicks the "Sign In" button,
THEN the user should be signed in
WITHIN 2 seconds,
AND redirected to the main to-do list screen
WITHIN 2 seconds.
SCENARIO: Sign In with Invalid Credentials
GIVEN the user is on the sign-in screen,
WHEN the user enters an invalid email address or password,
AND clicks the "Sign In" button,
THEN the system should display an error message stating "Error: the supplied auth credential is malformed, has expired, or is not currently supported."
WITHIN 1 second,
AND prevent the user from accessing their tasks.
SCENARIO: Sign In with Empty Fields
GIVEN the user is on the sign-in screen,
WHEN the user leaves the email and password fields empty,
AND clicks the "Sign In" button,
THEN the system should display an error message,
WITHIN 1 second,
AND prevent the sign-in process from proceeding.
AS A user, I WANT TO sign in to my account using my email and password, TO access my tasks SO THAT I can manage my to-do list effectively.
SCENARIO: Successful Sign In GIVEN the user is on the sign-in screen, WHEN the user enters a valid email address and password, AND clicks the "Sign In" button, THEN the user should be signed in WITHIN 2 seconds, AND redirected to the main to-do list screen WITHIN 2 seconds.
SCENARIO: Sign In with Invalid Credentials GIVEN the user is on the sign-in screen, WHEN the user enters an invalid email address or password, AND clicks the "Sign In" button, THEN the system should display an error message stating "Error: the supplied auth credential is malformed, has expired, or is not currently supported." WITHIN 1 second, AND prevent the user from accessing their tasks.
SCENARIO: Sign In with Empty Fields GIVEN the user is on the sign-in screen, WHEN the user leaves the email and password fields empty, AND clicks the "Sign In" button, THEN the system should display an error message, WITHIN 1 second, AND prevent the sign-in process from proceeding.