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 collaboratorAccount Update
Test updating user accounts.
- Scenarios
-
- Name is required
- Email is required
- Cannot use email of an existing account
- Email must be valid
- Update name
- Update email
- 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"
- 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 almost 2 years ago by Christie Yoo.