Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

As an unregistered user, I want to login, so that I can access the application securely. #15

Open
5 tasks
Spyboticsguy opened this issue Feb 13, 2017 · 0 comments
Milestone

Comments

@Spyboticsguy
Copy link
Member

Tasks:

  • create a login screen
    • 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
@Spyboticsguy Spyboticsguy added this to the Sprint 1 milestone Feb 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant