X7ROOT File Manager
Current Path:
/home/cbholdings/pasukulu/completion/tests/behat
home
/
cbholdings
/
pasukulu
/
completion
/
tests
/
behat
/
📁
..
📄
activity_completion_criteria.feature
(8.06 KB)
📄
backup_restore_completion.feature
(3.22 KB)
📄
behat_completion.php
(19.11 KB)
📄
bulk_edit_activity_completion.feature
(6.73 KB)
📄
completion_course_page_display.feature
(3.12 KB)
📄
completion_no_calendar_capabilities.feature
(1.79 KB)
📄
completion_other_courses.feature
(1.48 KB)
📄
course_completion_activity_criteria.feature
(9.79 KB)
📄
custom_completion_display_conditions.feature
(4.52 KB)
📄
default_activity_completion.feature
(3.15 KB)
📄
enable_completion_on_pass_grade.feature
(2.81 KB)
📄
enable_completion_on_view_and_grade.feature
(5.1 KB)
📄
enable_manual_complete_mark.feature
(1.76 KB)
📄
passgrade_completion_criteria_gradeitem_visibility.feature
(8.28 KB)
📄
restrict_activity_by_date.feature
(2.84 KB)
📄
restrict_activity_by_grade.feature
(2.88 KB)
📄
restrict_section_availability.feature
(4.52 KB)
📄
teacher_manual_completion.feature
(1.97 KB)
Editing: completion_other_courses.feature
@core @core_completion Feature: Set completion of other courses as criteria for completion of current course In order to set completion of other courses as criteria for completion of current course As a user I want to select the prerequisite courses in completion settings Background: Given the following "courses" exist: | fullname | shortname | category | enablecompletion | | Course 1 | C1 | 0 | 1 | | Course 2 | C2 | 0 | 1 | And the following "users" exist: | username | firstname | lastname | email | | student1 | Student | One | student1@example.com | And the following "course enrolments" exist: | user | course | role | | student1 | C1 | student | @javascript Scenario: Set completion of prerequisite course as completion criteria of current course When I log in as "admin" And I am on "Course 1" course homepage with editing mode on And I navigate to "Course completion" in current page administration And I click on "Condition: Completion of other courses" "link" And I set the field "Courses available" to "Course 2" And I press "Save changes" And I add the "Course completion status" block And I click on "View course report" "link" in the "Course completion status" "block" Then I should see "Course 2" in the "completion-progress" "table" And I should see "Student One" in the "completion-progress" "table"
Upload File
Create Folder