[ Index ] |
PHP Cross Reference of moodle-2.8 |
[Summary view] [Print] [Text view]
1 @core @core_backup 2 Feature: Import course's contents into another course 3 In order to move and copy contents between courses 4 As a teacher 5 I need to import a course contents into another course selecting what I want to import 6 7 @javascript 8 Scenario: Import course's contents to another course 9 Given the following "courses" exist: 10 | fullname | shortname | category | 11 | Course 1 | C1 | 0 | 12 | Course 2 | C2 | 0 | 13 And the following "users" exist: 14 | username | firstname | lastname | email | 15 | teacher1 | Teacher | 1 | [email protected] | 16 And the following "course enrolments" exist: 17 | user | course | role | 18 | teacher1 | C1 | editingteacher | 19 | teacher1 | C2 | editingteacher | 20 And I log in as "teacher1" 21 And I follow "Course 1" 22 And I turn editing mode on 23 And I add a "Database" to section "1" and I fill the form with: 24 | Name | Test database name | 25 | Description | Test database description | 26 And I add a "Forum" to section "2" and I fill the form with: 27 | Forum name | Test forum name | 28 | Description | Test forum description | 29 And I add the "Comments" block 30 And I add the "Recent blog entries" block 31 When I import "Course 1" course into "Course 2" course using this options: 32 Then I should see "Test database name" 33 And I should see "Test forum name" 34 And I should see "Comments" in the "Comments" "block" 35 And I should see "Recent blog entries"
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 |