Narrative
As a user of Interactive Diary
I want to sign up to Interactive Diary using my Email address
So that I can sync my Email address with Interactive Diary
Scenarios
Scenario 1
GIVEN my Email address is ready
WHEN I launch the app
THEN I'll be presented with option to sign up with Email address
Scenario 2
GIVEN scenario 1
WHEN I tap on Sign up with Email
THEN I'll be taken to Sign up with Email address screen
Scenario 3
GIVEN scenario 2
WHEN I enter a valid email address
AND I enter a simple password
THEN I'll be presented with successfully sign up using email adddress
Scenario 4
GIVEN scenario 1
WHEN I enter invalid email address
THEN there will be error message to inform me about the invalid email address
Scenario 5
GIVEN scenario 1
WHEN I enter a valid email address
AND I enter a simple password
THEN I'll be presented with a error explaining my password validation failed
Technical requirement
These technical requirement are to be implemented in code
Packages - Authentication service
- Authentication service needs to be implemented as part of packages, and will be included to the main project through pubspec.yaml
- Strings are to be used in localisation
Password validation rule
- at least 8 characters, max is 32 characters
- at least 1 uppercase character
- at least 1 number
- at least 1 special character: :'_-;!@#$%^&*()
Narrative
As a user of Interactive Diary
I want to sign up to Interactive Diary using my Email address
So that I can sync my Email address with Interactive Diary
Scenarios
Scenario 1
GIVEN my Email address is ready
WHEN I launch the app
THEN I'll be presented with option to sign up with Email address
Scenario 2
GIVEN scenario 1
WHEN I tap on Sign up with Email
THEN I'll be taken to Sign up with Email address screen
Scenario 3
GIVEN scenario 2
WHEN I enter a valid email address
AND I enter a simple password
THEN I'll be presented with successfully sign up using email adddress
Scenario 4
GIVEN scenario 1
WHEN I enter invalid email address
THEN there will be error message to inform me about the invalid email address
Scenario 5
GIVEN scenario 1
WHEN I enter a valid email address
AND I enter a simple password
THEN I'll be presented with a error explaining my password validation failed
Technical requirement
These technical requirement are to be implemented in code
Packages - Authentication service
Password validation rule