Logo: Relish

  1. Sign in

Project: Console

Log In

  • @dxpcloud
  • @paas

Test log in functions and validations.

Background
Given
I go to WeDeploy
Scenarios
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.
  • @smoke
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.
  • @smoke
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"
  • @smoke
  • @teardown_tester
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"
  • @smoke
  • @skip
  • @teardown_users
  • @teardown_tester
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 10 months ago by Christie Yoo.