Skip to content

Commit 9655014

Browse files
author
Sabina Talipova
committed
MNT Failed Behat tests
1 parent bd9aaf6 commit 9655014

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

client/dist/js/bundle.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/behat/features/lostpassword.feature

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Feature: Lost Password
1616
And there should be an email to "[email protected]" titled "Your password reset link"
1717
When I click on the "password reset link" link in the email to "[email protected]"
1818
Then I should see "Please enter a new password"
19-
When I fill in "newpassword" for "New Password"
20-
And I fill in "newpassword" for "Confirm New Password"
19+
When I fill in "NEWsecret!@#*&^" for "New Password"
20+
And I fill in "NEWsecret!@#*&^" for "Confirm New Password"
2121
And I press the "Change Password" button
22-
Then the password for "[email protected]" should be "newpassword"
22+
Then the password for "[email protected]" should be "NEWsecret!@#*&^"

tests/behat/features/profile.feature

+6-6
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ Feature: Manage my own settings
3737
Scenario: I can't reset the password without the original
3838
Given I follow "Change Password"
3939
And I fill in "Current Password" with "idontknow"
40-
And I fill in "New Password" with "newsecret"
41-
And I fill in "Confirm Password" with "newsecret"
40+
And I fill in "New Password" with "NEWsecret!@#*&^"
41+
And I fill in "Confirm Password" with "NEWsecret!@#*&^"
4242
And I press the "Save" button
4343
Then I should see "The current password you have entered is not correct."
4444

@@ -48,16 +48,16 @@ Feature: Manage my own settings
4848
And I fill in "New Password" with "a"
4949
And I fill in "Confirm Password" with "a"
5050
And I press the "Save" button
51-
Then I should see "Password is too short"
51+
Then I should see "Please increase password strength by adding some of the following characters: uppercase, digits, punctuation"
5252

5353
Scenario: I can change my password
5454
Given I follow "Change Password"
5555
And I fill in "Current Password" with "secret"
56-
And I fill in "New Password" with "newsecret"
57-
And I fill in "Confirm Password" with "newsecret"
56+
And I fill in "New Password" with "NEWsecret!@#*&^"
57+
And I fill in "Confirm Password" with "NEWsecret!@#*&^"
5858
And I press the "Save" button
5959
And I am not logged in
60-
When I log in with "[email protected]" and "newsecret"
60+
When I log in with "[email protected]" and "NEWsecret!@#*&^"
6161
And I go to "admin/myprofile"
6262
Then I should see the CMS
6363

0 commit comments

Comments
 (0)