You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
Version 1
Next »
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" |
|
Second level | 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 | - (S) If the member is not logged in to the system,
opens the "Sign-in" page, which includes:- Email -
Required field. It should meet general email address requirements, contain: - username
- @ symbol
- a domain name
- Top-level domain
- Password
- Required field.
- Uppercase and lowercase letters in English (A-Z, a-z)
- Digits from 0 to 9
- Special characters such as ! # $ % & ' * + - / = ? ^ _ ` { |
- Continue
- Forgot password - forwards a user to the "Forgot password" flow
- Links to sign in through the third party social media
- (M) If a member fills in all information
- (M) Clicks “Continue” button
- (S) If all information has been filled in correctly
- (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. |
|
Third level | GoalTo have the ability to sign in to the account Requirements
# | User Story | Description | Visualization | Note | 1 | 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:
- If I enter incorrect authorization credentials I should see an appropriate error message indicating my credentials are incorrect.
- If my authorization credentials don't exist I should see an appropriate error message indicating my credentials are incorrect.
| |
| 2 | 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:
- I should receive an email with a code at the submitted email address.
- I also should be redirected to the Enter 6-digit code screen where I can:
- Input a code - when the user inputs the last number the system should automatically validate the code:
- If the code is correct the system should open reset your password screen
- If the code is incorrect - the system should show the message "Sorry, the code is incorrect. Try to resend a code"
- 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.
| |
|
|
| - 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.
- 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
- 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
- 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.
| |
|
|
Fourth level |
Restore password email | Subject | "Platform Name" Password Reset | To | user's email | Header | Platform Name" | Body | - We received a request to reset your password.
- 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.
- "Set new Password" button with code to reset password.
|
Validation rules
Name | Description | 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
|
|