X7ROOT File Manager
Current Path:
/home/cbholdings/pasukulu/course/format/tests/behat
home
/
cbholdings
/
pasukulu
/
course
/
format
/
tests
/
behat
/
📁
..
📄
bulk_activity_actions.feature
(10.85 KB)
📄
bulk_section_actions.feature
(12.99 KB)
📄
bulk_select.feature
(12.21 KB)
📄
bulk_show_one_section_actions.feature
(5.65 KB)
📄
content_preferences.feature
(4.21 KB)
📄
course_courseindex.feature
(18.41 KB)
📄
course_manageactivities.feature
(3.56 KB)
📄
courseindex_completion.feature
(6.22 KB)
📄
courseindex_keyboardnav.feature
(4.88 KB)
📄
courseindex_language.feature
(1.46 KB)
📄
duplicate_section.feature
(1.52 KB)
📄
movecm_keyboard.feature
(4.54 KB)
📄
movesection_keyboard.feature
(2.39 KB)
📄
section_visibility.feature
(2.45 KB)
Editing: duplicate_section.feature
@core @core_course @core_courseformat Feature: Duplicate a section In order to set up my course contents quickly As a teacher I need to duplicate sections inside the same course Background: Given the following "course" exists: | fullname | Course 1 | | shortname | C1 | | category | 0 | | enablecompletion | 1 | | numsections | 4 | And the following "activities" exist: | activity | name | intro | course | idnumber | section | | assign | Activity sample 1 | Test assignment description | C1 | sample1 | 1 | | book | Activity sample 2 | Test book description | C1 | sample2 | 1 | | choice | Activity sample 3 | Test choice description | C1 | sample3 | 2 | And I log in as "admin" And I am on "Course 1" course homepage with editing mode on @javascript Scenario: Duplicate section Given I open section "1" edit menu When I click on "Duplicate" "link" in the "Topic 1" "section" Then I should see "Activity sample 2" in the "Topic 2" "section" @javascript Scenario: Duplicate a named section Given I set the field "Edit topic name" in the "Topic 1" "section" to "New name" And I should see "New name" in the "New name" "section" When I open section "1" edit menu And I click on "Duplicate" "link" in the "New name" "section" Then I should see "Activity sample 2" in the "New name (copy)" "section"
Upload File
Create Folder