[ Index ] |
PHP Cross Reference of Unnamed Project |
[Summary view] [Print] [Text view]
1 @core @core_user 2 Feature: As a user, "Course preferences" allows me to set my course preference(s). 3 Background: 4 Given I log in as "admin" 5 And the following "courses" exist: 6 | fullname | shortname | format | 7 | Course 1 | C1 | topics | 8 And the following "course enrolments" exist: 9 | user | course | role | 10 | admin | C1 | editingteacher | 11 And I am on site homepage 12 And I follow "Preferences" in the user menu 13 And I follow "Course preferences" 14 15 @javascript 16 Scenario: As a user, "activity chooser" should be the default. 17 # See that the "activity chooser" is enabled by default. 18 Given the field "enableactivitychooser" matches value "1" 19 # See that the "activity chooser" is actually shown by default in course page. 20 When I am on homepage 21 And I follow "Course 1" 22 And I should not see "Add an activity or resource" in the "Topic 1" "section" 23 And I turn editing mode on 24 Then I should see "Add an activity or resource" in the "Topic 1" "section" 25 And I should not see "Add a resource..." in the "Topic 1" "section" 26 27 @javascript 28 Scenario: As a user, "activity chooser" should be disabled when I uncheck it in "Course preferences" 29 Given I set the field "enableactivitychooser" to "0" 30 And I press "Save changes" 31 When I am on homepage 32 And I follow "Course 1" 33 And I should not see "Add a resource..." in the "Topic 1" "section" 34 And I turn editing mode on 35 Then I should see "Add a resource..." in the "Topic 1" "section" 36 And I should not see "Add an activity or resource" in the "Topic 1" "section"
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Thu Aug 11 10:00:09 2016 | Cross-referenced by PHPXref 0.7.1 |