[ Index ] |
PHP Cross Reference of Unnamed Project |
[Summary view] [Print] [Text view]
1 @core @core_backup 2 Feature: Duplicate activities 3 In order to set up my course contents quickly 4 As a teacher 5 I need to duplicate activities inside the same course 6 7 Scenario: Duplicate an activity 8 Given the following "courses" exist: 9 | fullname | shortname | category | 10 | Course 1 | C1 | 0 | 11 And the following "users" exist: 12 | username | firstname | lastname | email | 13 | teacher1 | Teacher | 1 | teacher1@example.com | 14 And the following "course enrolments" exist: 15 | user | course | role | 16 | teacher1 | C1 | editingteacher | 17 And I log in as "teacher1" 18 And I follow "Course 1" 19 And I turn editing mode on 20 And I add a "Database" to section "1" and I fill the form with: 21 | Name | Test database name | 22 | Description | Test database description | 23 And I duplicate "Test database name" activity 24 And I wait until section "1" is available 25 And I click on "Edit settings" "link" in the "Test database name" activity 26 And I set the following fields to these values: 27 | Name | Original database name | 28 And I press "Save and return to course" 29 And I click on "Edit settings" "link" in the "Test database name" activity 30 And I set the following fields to these values: 31 | Name | Duplicated database name | 32 | Description | Duplicated database description | 33 And I press "Save and return to course" 34 Then I should see "Original database name" in the "Topic 1" "section" 35 And I should see "Duplicated database name" in the "Topic 1" "section" 36 And "Original database name" "link" should appear before "Duplicated database name" "link"
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 |