Skip to content

Commit

Permalink
update_user caminho triste
Browse files Browse the repository at this point in the history
  • Loading branch information
natalypatti committed Dec 4, 2019
1 parent e83a33e commit 93764dd
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/app/features/update_user_data.feature
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,19 @@ I want to update my user data
So that I can change my profile information

Background: I am logged in
Given There is an unregistered user
And I logged in successfully

Scenario: Update my user data information
Given I am on the edit user page
When I fill the username with a new username information
And I fill the passwords fields
And I click the Salvar button
Then I should see the green success toast
Then I should see the green success toast

Scenario: User tries to update user name with existing user name
Given I am on the edit user page
And I fill in "user nickname" with "teste002.user"
And I fill the passwords fields
And I click the Salvar button
Then I should see the red failed toast

0 comments on commit 93764dd

Please sign in to comment.