| [ Index ] |
PHP Cross Reference of moodle-2.8 |
[Summary view] [Print] [Text view]
1 @core @core_course 2 Feature: Edit course settings 3 In order to set the course according to my teaching needs 4 As a teacher 5 I need to edit the course settings 6 7 @javascript 8 Scenario: Edit course settings 9 Given the following "users" exist: 10 | username | firstname | lastname | email | 11 | teacher1 | Teacher | 1 | [email protected] | 12 And the following "courses" exist: 13 | fullname | shortname | summary | format | 14 | Course 1 | C1 | <p>Course summary</p> | topics | 15 And the following "course enrolments" exist: 16 | user | course | role | 17 | teacher1 | C1 | editingteacher | 18 And I log in as "teacher1" 19 And I follow "Course 1" 20 When I click on "Edit settings" "link" in the "Administration" "block" 21 And I set the following fields to these values: 22 | Course full name | Edited course fullname | 23 | Course short name | Edited course shortname | 24 | Course summary | Edited course summary | 25 And I press "Save changes" 26 And I follow "Edited course fullname" 27 Then I should not see "Course 1" 28 And I should not see "C1" 29 And I should see "Edited course fullname" 30 And I should see "Edited course shortname" 31 And I click on "Edit settings" "link" in the "Administration" "block" 32 And the field "Course full name" matches value "Edited course fullname" 33 And the field "Course short name" matches value "Edited course shortname" 34 And the field "Course summary" matches value "Edited course summary" 35 And I am on homepage 36 And I should see "Edited course fullname"
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Fri Nov 28 20:29:05 2014 | Cross-referenced by PHPXref 0.7.1 |