Users need to sign up to use our app because [purpose]. We don't want to scare users with a long form though, so we'll simply ask for the minimum information. In our case that's the name, email and a password.
We don't ask users to confirm the password because they can easily reset it using the Forgot Password? link.
When a user signs up successfully, they will be sent to the dashboard. We will send them an email confirming the sign up.
Example: Successful signup
Given I am a visitor
When I sign up using the following information:
| email | guybrush@threepwood.com |
| name | Guybrush Threepwood |
| password | ilikerootbeer |
Then I should see my personal dashboard
And I should get an email confirming that I signed up
All fields are required, so the user will not be signed up if they fail to provide any of the required information.
Example: Missing fields
Given I am a visitor
When I try to sign up without submitting any information
Then I should see the following errors:
| email is missing |
| name is missing |
| password is missing |
Emails are unique, so using an email that already exists also results in an error.
Example: Existing email
Given a user exists with email "[email protected]"
When I try to sign up using the email "[email protected]"
Then I should see the following error:
| email is missing |
Describe forgot password here.