[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/admin/tests/behat/ -> set_admin_settings_value.feature (source)

   1  @core @core_admin
   2  Feature: Set admin settings value
   3    In order to set admin settings value
   4    As an admin
   5    I need to set admin setting value and verify it is applied
   6  
   7    Background:
   8      Given the following "courses" exist:
   9        | fullname | shortname | category |
  10        | Course fullname | C_shortname | 0 |
  11      And I log in as "admin"
  12      And I should see "Course fullname"
  13      And I should not see "C_shortname Course fullname"
  14  
  15    Scenario: set admin value with full name
  16      Given I set the following administration settings values:
  17        | Display extended course names | 1 |
  18      When I press "Save changes"
  19      And I am on homepage
  20      Then I should see "C_shortname Course fullname"
  21  
  22    Scenario: set admin value with short name
  23      Given I set the following administration settings values:
  24        | courselistshortnames | 1 |
  25      When I press "Save changes"
  26      And I am on homepage
  27      Then I should see "C_shortname Course fullname"


Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1