[ Index ]

PHP Cross Reference of Unnamed Project

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 am on site homepage
  13      And I should see "Course fullname"
  14      And I should not see "C_shortname Course fullname"
  15  
  16    Scenario: set admin value with full name
  17      Given the following config values are set as admin:
  18        | courselistshortnames | 1 |
  19      And I am on site homepage
  20      Then I should see "C_shortname Course fullname"
  21  
  22    Scenario: set admin value with short name
  23      Given the following config values are set as admin:
  24        | courselistshortnames | 1 |
  25      And I am on site homepage
  26      Then I should see "C_shortname Course fullname"


Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1