adminSettings.feature 1.1 KB

12345678910111213141516171819202122232425262728
  1. Feature: Settings update
  2. In order to use Chamilo
  3. As an administrator
  4. I need to be able to update Chamilo settings
  5. Scenario: Update 'profile' setting
  6. Given I am a platform administrator
  7. Then I am on "/main/admin/settings.php?search_field=profile&category=search_setting"
  8. And I check "Name"
  9. And I check "e-mail"
  10. And I check "Login"
  11. And I check "profile[officialcode]"
  12. And I press "Save settings"
  13. Then I should see "Update successful"
  14. Scenario: Update 'allow_registration' setting
  15. Given I am a platform administrator
  16. And I am on "/main/admin/settings.php"
  17. And I check the "allow_registration" radio button with "true" value
  18. And I press "Save settings"
  19. Then I should see "Update successful"
  20. Scenario: Update 'allow_group_categories' setting
  21. Given I am a platform administrator
  22. And I am on "/main/admin/settings.php?search_field=allow_group_categories&category=search_setting"
  23. And I check the "allow_group_categories" radio button with "true" value
  24. And I press "Save settings"
  25. Then I should see "Update successful"