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 collaboratorLogin or Sign Up With Redirect URI
User can login via CLI, which opens the browser to login/signup page with
the redirect URI appended to the login/signup url. Successful login/signup
redirects to this URI.
- Scenarios
-
- Successful login
- Login with wrong password
- Successful sign up
- Sign up with existing email
- Login with invalid Redirect-URI
- Sign up with invalid Redirect-URI
- Redirect login when already logged in
- Redirect sign up when already logged in
- Successful login
-
- Given
- I visit "login" page with Redirect-URI
- 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
- the browser should redirect to the Redirect-URI
- Login with wrong password
-
- Given
- I visit "login" page with Redirect-URI
- 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. - And
- the browser url should have the Redirect-URI appended
- Successful sign up
-
- Given
- I visit "signup" page with Redirect-URI
- When
- I enter "Test Test" into the "Name" input field
- And
- I enter "[email protected]" into the Email field
- And
- I enter "[email protected]" into the "Password" input field
- And
- I enter "[email protected]" into the "Confirm password" input field
- And
- I click the "Create an account" button
- Then
- the browser should redirect to the Redirect-URI
- Sign up with existing email
-
- Given
- I visit "signup" page with Redirect-URI
- When
- I enter "Tester" into the "Name" input field
- And
- I enter "{test user}" into the Email field
- And
- I enter "[email protected]" into the "Password" input field
- And
- I enter "[email protected]" into the "Confirm password" input field
- And
- I click the "Create an account" button
- Then
-
I should see the error message
The email provided is invalid or is already being used. Try a different one. - And
- the browser url should have the Redirect-URI appended
- Login with invalid Redirect-URI
-
- When
- I visit "login" page with an invalid Redirect-URI
- Then
- I should see the text "Our servers couldn’t understand your request."
- Sign up with invalid Redirect-URI
-
- When
- I visit "signup" page with an invalid Redirect-URI
- Then
- I should see the text "Our servers couldn’t understand your request."
- Redirect login when already logged in
-
- Given
- I sign in to WeDeploy as a test user
- When
- I visit "login" page with Redirect-URI
- Then
- the browser should redirect to the Redirect-URI
- Redirect sign up when already logged in
-
- Given
- I sign in to WeDeploy as a test user
- When
- I visit "signup" page with Redirect-URI
- Then
- the browser should redirect to the Redirect-URI
Last published almost 2 years ago by Christie Yoo.