@@ -6,23 +6,23 @@ Feature: Settings update
6
6
Scenario : Update 'profile' setting
7
7
Given I am a platform administrator
8
8
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] "
12
12
And I check "profile[officialcode]"
13
- And I press "Save settings "
13
+ And I click on the element with css selector "#settings_submit "
14
14
Then I should see "Update successful"
15
15
16
16
Scenario : Update 'allow_registration' setting
17
17
Given I am a platform administrator
18
18
And I am on "/main/admin/settings.php"
19
19
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 "
21
21
Then I should see "Update successful"
22
22
23
23
Scenario : Update 'allow_group_categories' setting
24
24
Given I am a platform administrator
25
25
And I am on "/main/admin/settings.php?search_field=allow_group_categories&category=search_setting"
26
26
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 "
28
28
Then I should see "Update successful"
0 commit comments