[ Index ] |
PHP Cross Reference of Unnamed Project |
[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 Scenario: Import course's contents to another course 8 Given the following "courses" exist: 9 | fullname | shortname | category | 10 | Course 1 | C1 | 0 | 11 | Course 2 | C2 | 0 | 12 And the following "users" exist: 13 | username | firstname | lastname | email | 14 | teacher1 | Teacher | 1 | teacher1@example.com | 15 And the following "course enrolments" exist: 16 | user | course | role | 17 | teacher1 | C1 | editingteacher | 18 | teacher1 | C2 | editingteacher | 19 And I log in as "teacher1" 20 And I follow "Course 1" 21 And I turn editing mode on 22 And I add a "Database" to section "1" and I fill the form with: 23 | Name | Test database name | 24 | Description | Test database description | 25 And I add a "Forum" to section "2" and I fill the form with: 26 | Forum name | Test forum name | 27 | Description | Test forum description | 28 And I add the "Comments" block 29 And I add the "Recent blog entries" block 30 When I import "Course 1" course into "Course 2" course using this options: 31 Then I should see "Test database name" 32 And I should see "Test forum name" 33 And I should see "Comments" in the "Comments" "block" 34 And I should see "Recent blog entries"
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 |