Logo: Relish

  1. Sign in

Project: Console

Account Update

  • @dxpcloud
  • @teardown_users

Test updating user accounts.

Scenarios
Name is required
Given
I sign in to DXP Cloud as a test user
And
I go to my account "Profile" page
When
I clear the "Name" input field
And
I click the "Update Account" button
Then
I should see the validation message
The name is required.
Email is required
Given
I sign in to DXP Cloud as a test user
And
I go to my account "Profile" page
When
I clear the "Email" input field
And
I click the "Update Account" button
Then
I should see the validation message
The provided email is not valid.
The email is required.
Cannot use email of an existing account
Given
I create a user with name "Anne Tester" and email "[email protected]"
And
I sign in to DXP Cloud as "[email protected]"
And
I go to my account "Profile" page
When
I enter "{test user}" into the Email field
And
I click the "Update Account" button
Then
I should see the error message
The email provided is invalid or is already being used.
Email must be valid
Given
I sign in to DXP Cloud as a test user
And
I go to my account "Profile" page
When
I enter "tester" into the "Email" input field
And
I click the "Update Account" button
Then
I should see the validation messages
The provided email is not valid.
Update name
Given
I sign in to DXP Cloud as a test user
And
I go to my account "Profile" page
When
I enter "Tester Updated" into the "Name" input field
And
I click the "Update Account" button
And
I should see the notification
Your account was updated successfully.
When
I sign out
And
I sign in to DXP Cloud as a test user
And
I go to my account "Profile" page
Then
the "Name" field should have the text "Tester Updated"
  • @teardown_tester
  • @teardown_users
Update email
Given
I sign in to DXP Cloud as a test user
And
I go to my account "Profile" page
When
I enter "[email protected]" into the Email field
And
I click the "Update Account" button
And
I should be at url ending with "/login"
And
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 see the error message
The provided credentials are invalid.
And
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
And
I confirm the user "[email protected]" with api
And
I sign in to DXP Cloud as "[email protected]"
And
I go to my account "Profile" page
And
the Email field should have the text "[email protected]"

Last published 10 months ago by Christie Yoo.