You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
EditText widgets for username(email), and password,
TextViews for prompting message, one for username and one for password
validate the username
validate the password
keep record of failed login attempts
link login screen to the main dashboard
Acceptance Scenarios:
GIVEN an unregistered user is at login screen, WHEN the user enters a valid username and the correct password and presses the login button, THEN the login screen switches to the main dashboard.
GIVEN an unregistered user is at login screen, WHEN the user enters an invalid username and a password and presses the login button, THEN a text bubble pops up saying “invalid username, please check”.
GIVEN an unregistered user is at login screen, WHEN the user enters a valid username and an incorrect password and presses the login button, THEN a text bubble pops up saying “incorrect password, x attempts remains” where x is 3 minus the number of failed login attempt.
GIVEN an unregistered user is at login screen, WHEN the user enters a valid username and an incorrect password and presses the login button and fails 3 times, THEN a text bubble pops up saying “account locked due to 3 failed attempts, please contact administrator”.
Done Done Criteria:
All Unit tests are passed
Code is reviewed by the team
The feature is deployed
The text was updated successfully, but these errors were encountered:
Tasks:
Acceptance Scenarios:
GIVEN an unregistered user is at login screen, WHEN the user enters a valid username and the correct password and presses the login button, THEN the login screen switches to the main dashboard.
GIVEN an unregistered user is at login screen, WHEN the user enters an invalid username and a password and presses the login button, THEN a text bubble pops up saying “invalid username, please check”.
GIVEN an unregistered user is at login screen, WHEN the user enters a valid username and an incorrect password and presses the login button, THEN a text bubble pops up saying “incorrect password, x attempts remains” where x is 3 minus the number of failed login attempt.
GIVEN an unregistered user is at login screen, WHEN the user enters a valid username and an incorrect password and presses the login button and fails 3 times, THEN a text bubble pops up saying “account locked due to 3 failed attempts, please contact administrator”.
Done Done Criteria:
The text was updated successfully, but these errors were encountered: