-
Notifications
You must be signed in to change notification settings - Fork 1
Description
As a Patient, I want to be able to register as a Patient user through a web portal so that I can become a user of Record on the go.
Acceptance criteria 1:
Given I am an unregistered user
When I browse to the Record on the Go working prototype
Then I see a link on the homepage to register as a patient.
Acceptance criteria 2:
Given I am an unregistered user
When I click on the link to register as a patient
Then I am taken to a page with the following labeled fields
- Username
- Password
- Retype Password
- Register button
Acceptance criteria 3:
Given I am an unregistered user
When I am on the Registration page
Then each input field has a max length of 255 characters
Acceptance criteria 4:
Given I am an unregistered user
When I enter an invalid username
Then I see an error message in red text telling me what is wrong with my username
- Only characters and numbers
- Validation message: "Please enter only characters or numbers"
And Then I cannot register as a user
- Validation message: "Please enter only characters or numbers"
Acceptance criteria 6:
Given I am an unregistered user
When I enter a valid username and not matching passwords
Then I see an error message in red text that Password and Retype Password input fields must match.
- Validation message: "Passwords must match"
And Then I cannot register as a user
Acceptance criteria 5:
Given I am an unregistered user
When I enter a valid username and matching password and retype password
Then I am able to register as a user.
Acceptance criteria 7:
All data is sent securely