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 93764dd commit 60a0687
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/app/features/update_user_data.feature
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,11 @@ Scenario: User tries to update user name with existing user name
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

Scenario: User tries to update user but put the wrong password
Given I am on the edit user page
And I fill in "user nickname" with "newuser.user"
And I fill in "user password_confirmation" with "wrong password"
And I click the Salvar button
Then I should see the red failed toast

0 comments on commit 60a0687

Please sign in to comment.