Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Children Display

Sign  in requirements 

First   level

As

Platform member

I want 

to be able to log in to the platform 

So that

I can have access to the "My profile area" 

...

Description

Sign in for Member

Actor

Member(M), System(S)

Preconditions

Member opened the  platform 

Trigger

Member clicks  on the profile button from the header

Main Flow

  1. (S) If the member is not logged in to the system,
      opens the  "Sign-in" page, which includes:
    1. Email -
      1. Required field. It should meet general email address requirements, contain:

        • username
        • @ symbol
        • a domain name
        • Top-level domain
    2. Password 
      1. Required field.
        • Uppercase and lowercase letters in English (A-Z, a-z)
        • Digits from 0 to 9
        • Special characters such as ! # $ % & ' * + - / = ? ^ _ ` { |
    3. Continue 
    4. Forgot password - forwards a user to the "Forgot password" flow 
    5. Links to sign in through the third party social media 
  2. (M) If a  member fills in all information 
  3. (M) Clicks “Continue” button
  4. (S) If all information has been filled in correctly
  5. (S) Authentication member AND redirect to the previously opened page 

Exceptional flows

1.a. If a member logged in, System shows a Personal area  page

4.a.  unsuccessful validation 

  • system highlights the fields with wrong data 

Alternative flow

3.a

  • If member clicks continue with 
  • And select :
  • Google / Facebook / LinkedIn
  • The system will direct a member to the login page of chosen social media  

Postconditions

Member has successfully signed in.

...

Goal

To have the ability to sign in to the account 

Requirements

...

As a user, I want to log in so that I can have access to application functionality

...

General requirements 

  • On the login screen, I can enter my email address and password and submit them for authentication. (Requirements Detalization Levels for Presales)
  • I must also see a button that allows me to re-set my password. If I pressed it I will be redirected to  
  • When I enter the required data in the Email field I can proceed to the field below by pressing next (keyboard button).
  • When I entered the required data on the password field I can tap the Done button (keyboard button) in order to close the keyboard. 
  • By default Next button is disabled. If I enter all fields with data it becomes enabled.
  • Upon successful login, I am re-directed to My profile.
  • If I press back I will be re-directed to the sign-in screen with social networks.
  • An appropriate error message should appear when:
  1. If I enter incorrect authorization credentials I should see an appropriate error message indicating my credentials are incorrect.
  2. If my authorization credentials don't exist I should see an appropriate error message indicating my credentials are incorrect.

...

  Image Removed

...

As a user, I want to get a link for restoring password so that I can log in to the system in case I forgot the password

Restore a password 

  • On the restore password screen, I can enter my email address, and the "Send a code" button
  • If I press back I will be re-directed to the login screen with previously entered data in the Username/Email entry field
  • Upon submitting an email address:
  1. I should receive an email with a code at the submitted email address.  
  2. I also should be redirected to the Enter 6-digit code screen where I can:
    1. Input a code  - when the user inputs the last number the system should automatically validate the code:
      1. If the code is correct the system should open reset your password screen
      2. If the code is incorrect - the system should show the message "Sorry, the code is incorrect. Try to resend a code"
    2. Resend a code- by tapping on it the system should generate AND send a new code 
  • If I entered the email address on the login screen I should see this email address as a default value.

Image RemovedImage Removed

...

  • I should receive an email with the structure according to the  Restore password email 

  • Code in my email should be valid 24 hours after the moment the email is sent
  • If I sent more than one request for restoring the password, only the latest code should be valid
  • If the code was not valid anymore:
  1. Once I submitted a new password  I should see a default alert with the text "Restore password code is no longer valid or used, "Resend email" and "Cancel" buttons.
  2. If I press "Resend email" I should be redirected to Restore a password screen. 
  • If I press "Cancel" the alert should be closed and I should be redirected to the Home Screen 

...

Change password screen 

  • On the Change password screen, I can enter a new password, confirm the password and submit it
  • Upon successful changing the password 
  1. I should see a popup indicating that the password was changed successfully. After the pop-up disappears I should be redirected to the Home screen
  2. The used code should become not valid
  • If I enter an incorrect password or confirm a password I should see an appropriate error message  (Requirements Detalization Levels for Presales)
  • If I press back I should be redirected to the login screen. The new password and password confirmation that I entered will not be saved. 

...

Image Removed

...

Restore password email 

Visualization   

Subject"Platform Name" Password Reset
Touser's email
HeaderPlatform Name"
Body
  1. We received a request to reset your password.
  2. Use the code below on your mobile device to set up a new password for your account. If you did not request to reset your password, ignore this email and the code will expire on its own in 24 hours.
  3. "Set new Password" button with code to reset password.

...

NameDescription Validation error 

Email

Should meet general email address requirements, contains:

  • Username
  • @ symbol
  • Domain name
  • Top-level domain
  • required:  Validation error - "Please enter the email."
  • unique: Validation error - "This email is already taken."
  • need to be correct: Validation error - "Please enter the valid email."

Password

  • Minimum length = 8 characters
  • Maximum length = 128 characters
  • Must contain at least one uppercase character
  • Must contain at least one lowercase character
  • Must contain at least one numeric character. Numeric characters are: 1 2 3 4 5 6 7 8 9 0 OR at least one special symbol. Supported special symbols are: ! @ # $ % ^ & * ( ) - _ = + \ | [ ] { } ; : / ? . > <
  • Can't contain spaces.
  • required: Validation error - "Please enter the password."
  • need to be correct:
    • Validation error - "The password should contain at least one number OR special character"
    • Validation error -"The password should contain at least one, uppercase letter".
    • Validation error -"The password should contain at least one, lowercase letter".
    • Validation error - "Use 8 characters without spaces or more  for your password."
    • Validation error - "The password can't contain more than 128 characters