Closed edw1nzhao closed 7 years ago
Tasks:
Acceptance Scenarios:
GIVEN a registered user is viewing the Sign-in Screen, WHEN the user inputs his/her email and corresponding password and then presses the login button, THEN the user is taken to the application screen.
GIVEN a registered user is viewing the Sign-in Screen and the login attempt count has not exceeded the login attempt threshold, WHEN the user inputs an email and a password which does not correspond with said email and then presses the login button, THEN the user receives an error message notifying them of a bad login attempt and the login attempt count is added to by one.
GIVEN a registered user is viewing the Sign-in Screen and the login attempt count has exceeded the login attempt threshold, WHEN the user inputs an email and a password which does not correspond with said email and then presses the login button, THEN the user receives an error message notifying them that the account associated with the inputted email has been locked as well as the contact information for an administrator, the account becomes locked, a message is sent to an administrator informing them about the blocked account.
GIVEN a registered user is viewing the application screen, WHEN the user presses the logout button, THEN the user is taken to the Login Screen.
Done Done Criteria:
When the user logins into the application and they are not already registered, then they will receive an error for bad login attempt and be notified.
If the login attempt is verfied and allowed, then they will enter the screen with a settings button on (TBD Layout), and then be able to logout.