From 234e1c3e9992ae2d7cd16532bac5883d79c3a7ae Mon Sep 17 00:00:00 2001 From: aignatov-bio Date: Tue, 28 Jul 2020 10:26:23 +0200 Subject: [PATCH] Fix tests --- features/settings_page/profile.feature | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/features/settings_page/profile.feature b/features/settings_page/profile.feature index 91428e553..b56ce000d 100644 --- a/features/settings_page/profile.feature +++ b/features/settings_page/profile.feature @@ -54,7 +54,7 @@ Scenario: Successfully changes user initials @javascript Scenario: Successfully changes user email Given I'm on the profile page - Then I click "Edit" link within "#user-email-field" + Then I click "Change" link within "#user-email-field" And I change "nonadmin@myorg.com" with "user@myorg.com" email And I fill in "mypassword1234" in "#edit-email-current-password" field of ".settings-page-email" form Then I click "Save" button @@ -63,7 +63,7 @@ Scenario: Successfully changes user email @javascript Scenario: Unsuccessful Password Change, password is too short Given I'm on the profile page - Then I click "Edit" link within "#user-password-field" + Then I click "Change" link within "#user-password-field" And I fill in "mypassword1234" in "#edit-password-current-password" field of ".settings-page-change-password" form And I fill in "mypass" in "#user_password" field of ".settings-page-change-password" form And I fill in "mypass" in "#user_password_confirmation" field of ".settings-page-change-password" form @@ -73,7 +73,7 @@ Scenario: Unsuccessful Password Change, password is too short @javascript Scenario: Unsuccessful Password Change, passwords does not match Given I'm on the profile page - Then I click "Edit" link within "#user-password-field" + Then I click "Change" link within "#user-password-field" And I fill in "mypassword1234" in "#edit-password-current-password" field of ".settings-page-change-password" form And I fill in "mypassword5678" in "#user_password" field of ".settings-page-change-password" form And I fill in "mypassword56788" in "#user_password_confirmation" field of ".settings-page-change-password" form @@ -83,7 +83,7 @@ Scenario: Unsuccessful Password Change, passwords does not match @javascript Scenario: Unsuccessful Password Change, current password is invalid Given I'm on the profile page - Then I click "Edit" link within "#user-password-field" + Then I click "Change" link within "#user-password-field" And I fill in "mypassword123" in "#edit-password-current-password" field of ".settings-page-change-password" form And I fill in "mypassword5678" in "#user_password" field of ".settings-page-change-password" form And I fill in "mypassword5678" in "#user_password_confirmation" field of ".settings-page-change-password" form @@ -93,7 +93,7 @@ Scenario: Unsuccessful Password Change, current password is invalid @javascript Scenario: Successful Password Change Given I'm on the profile page - Then I click "Edit" link within "#user-password-field" + Then I click "Change" link within "#user-password-field" And I fill in "mypassword1234" in "#edit-password-current-password" field of ".settings-page-change-password" form And I fill in "mypassword5678" in "#user_password" field of ".settings-page-change-password" form And I fill in "mypassword5678" in "#user_password_confirmation" field of ".settings-page-change-password" form