To add a collaborator to this project you will need to use the Relish gem to add the collaborator via a terminal command. Soon you'll be able to also add collaborators here!
More about adding a collaboratorLog In
Test log in functions and validations.
- Background
-
- Given
- I go to WeDeploy
- Scenarios
-
- Email and password are required
- Email field is required
- Password field is required
- An account must already exist for the email
- Password must be correct
- Sign in with correct email/password
- Validate redirects when logged in
- Validate redirects when logged out
- Cannot login before confirming email
- Email and password are required
-
- When
- I clear the "Email" input field
- And
- I clear the "Password" input field
- And
- I click the "Log in" button
- Then
-
I should see the validation messages
The provided email is not valid. The email is required. The password is required.
- Email field is required
-
- When
- I clear the "Email" input field
- And
- I enter "[email protected]" into the "Password" input field
- And
- I click the "Log in" button
- Then
-
I should see the validation messages
The provided email is not valid. The email is required.
- Password field is required
-
- When
- I clear the "Password" input field
- And
- I enter "{test user}" into the Email field
- And
- I click the "Log in" button
- Then
-
I should see the validation messages
The password is required.
- An account must already exist for the email
-
- When
- I enter "[email protected]" into the Email field
- And
- I enter "[email protected]" into the "Password" input field
- And
- I click the "Log in" button
- Then
-
I should see the error message
The provided credentials are invalid.
- Password must be correct
-
- When
- I enter "{test user}" into the Email field
- And
- I enter "test123" into the "Password" input field
- And
- I click the "Log in" button
- Then
-
I should see the error message
The provided credentials are invalid.
- Sign in with correct email/password
-
- When
- I enter "{test user}" into the Email field
- And
- I enter "[email protected]" into the "Password" input field
- And
- I click the "Log in" button
- Then
- I should be at url ending with "/projects"
- Validate redirects when logged in
-
- Given
- I sign in to WeDeploy as a test user
- When
- I visit "/login"
- Then
- I should be at url ending with "/projects"
- When
- I visit "/signup"
- Then
- I should be at url ending with "/projects"
- Validate redirects when logged out
-
- Given
- I sign in to WeDeploy as a test user
- And
- I sign out
- When
- I visit "/projects"
- Then
- I should be at url ending with "/login"
- Cannot login before confirming email
-
- Given
- I create an account with email "[email protected]"
- And
- I have not confirmed the email
- When
- I enter "[email protected]" into the Email field
- And
- I enter "[email protected]" into the "Password" input field
- And
- I click the "Log in" button
- Then
-
I should see the validation message
Please confirm your email
Last published almost 2 years ago by Christie Yoo.