[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

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

   1  @core @core_admin
   2  Feature: Display extended course names
   3    In order to display more info about the courses
   4    As an admin
   5    I need to display courses short names along with courses full names
   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  
  14    Scenario: Courses list without extended course names (default value)
  15      Then I should see "Course fullname"
  16      And I should not see "C_shortname Course fullname"
  17  
  18    Scenario: Courses list with extended course names
  19      Given I expand "Site administration" node
  20      And I click on "Courses" "link" in the "//div[@id='settingsnav']/descendant::li[contains(concat(' ', normalize-space(@class), ' '), ' type_setting ')][contains(., 'Appearance')]" "xpath_element"
  21      And I set the field "Display extended course names" to "1"
  22      When I press "Save changes"
  23      And I am on site homepage
  24      Then I should see "C_shortname Course fullname"


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