Skip to content

Commit

Permalink
MNT Failed Behat tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Sabina Talipova committed Nov 9, 2023
1 parent bd9aaf6 commit fbbe491
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion client/dist/js/bundle.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions tests/behat/features/lostpassword.feature
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Feature: Lost Password
And there should be an email to "[email protected]" titled "Your password reset link"
When I click on the "password reset link" link in the email to "[email protected]"
Then I should see "Please enter a new password"
When I fill in "newpassword" for "New Password"
And I fill in "newpassword" for "Confirm New Password"
When I fill in "NEWsecret!@#*&^" for "New Password"
And I fill in "NEWsecret!@#*&^" for "Confirm New Password"
And I press the "Change Password" button
Then the password for "[email protected]" should be "newpassword"
Then the password for "[email protected]" should be "NEWsecret!@#*&^"
10 changes: 5 additions & 5 deletions tests/behat/features/profile.feature
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ Feature: Manage my own settings
Scenario: I can't reset the password without the original
Given I follow "Change Password"
And I fill in "Current Password" with "idontknow"
And I fill in "New Password" with "newsecret"
And I fill in "Confirm Password" with "newsecret"
And I fill in "New Password" with "NEWsecret!@#*&^"
And I fill in "Confirm Password" with "NEWsecret!@#*&^"
And I press the "Save" button
Then I should see "The current password you have entered is not correct."

Expand All @@ -53,11 +53,11 @@ Feature: Manage my own settings
Scenario: I can change my password
Given I follow "Change Password"
And I fill in "Current Password" with "secret"
And I fill in "New Password" with "newsecret"
And I fill in "Confirm Password" with "newsecret"
And I fill in "New Password" with "NEWsecret!@#*&^"
And I fill in "Confirm Password" with "NEWsecret!@#*&^"
And I press the "Save" button
And I am not logged in
When I log in with "[email protected]" and "newsecret"
When I log in with "[email protected]" and "NEWsecret!@#*&^"
And I go to "admin/myprofile"
Then I should see the CMS

Expand Down

0 comments on commit fbbe491

Please sign in to comment.