@@ -6,23 +6,23 @@ Feature: Settings update
66 Scenario : Update 'profile' setting
77 Given I am a platform administrator
88 Then I am on "/main/admin/settings.php?search_field=profile&category=search_setting"
9- And I check "Name "
10- And I check "e-mail "
11- And I check "Login "
9+ And I check the checkbox matching xpath "//input[@name='profile[name]'] "
10+ And I check "profile[email] "
11+ And I check "profile[login] "
1212 And I check "profile[officialcode]"
13- And I press "Save settings "
13+ And I click on the element with css selector "#settings_submit "
1414 Then I should see "Update successful"
1515
1616 Scenario : Update 'allow_registration' setting
1717 Given I am a platform administrator
1818 And I am on "/main/admin/settings.php"
1919 And I check the "allow_registration" radio button with "true" value
20- And I press "Save settings "
20+ And I click on the element with css selector "#settings_submit "
2121 Then I should see "Update successful"
2222
2323 Scenario : Update 'allow_group_categories' setting
2424 Given I am a platform administrator
2525 And I am on "/main/admin/settings.php?search_field=allow_group_categories&category=search_setting"
2626 And I check the "allow_group_categories" radio button with "true" value
27- And I press "Save settings "
27+ And I click on the element with css selector "#settings_submit "
2828 Then I should see "Update successful"
0 commit comments