See Release Notes
Long Term Support Release
Differences Between: [Versions 39 and 311] [Versions 39 and 400] [Versions 39 and 401] [Versions 39 and 402] [Versions 39 and 403]
Completion steps definitions.
Copyright: | 2013 David MonllaĆ³ |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 223 lines (10 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 1 file lib/behat/behat_base.php |
behat_completion:: (9 methods):
user_has_completed_activity()
user_has_not_completed_activity()
go_to_the_current_course_activity_completion_report()
completion_is_toggled_in_course()
activity_marked_as_complete()
activity_marked_as_not_complete()
activity_has_configuration_completion_checkbox()
activity_has_status_completion_checkbox()
activity_has_not_any_completion_checkbox()
Class: behat_completion - X-Ref
Steps definitions to deal with course and activities completion.user_has_completed_activity($userfullname, $activityname) X-Ref |
Checks that the specified user has completed the specified activity of the current course. param: string $userfullname param: string $activityname |
user_has_not_completed_activity($userfullname, $activityname) X-Ref |
Checks that the specified user has not completed the specified activity of the current course. param: string $userfullname param: string $activityname |
go_to_the_current_course_activity_completion_report() X-Ref |
Goes to the current course activity completion report. |
completion_is_toggled_in_course($completionstatus) X-Ref |
Toggles completion tracking for course being in the course page. param: string $completionstatus The status, enabled or disabled. |
activity_marked_as_complete($activityname, $activitytype, $completiontype) X-Ref |
Checks if the activity with specified name is maked as complete. |
activity_marked_as_not_complete($activityname, $activitytype, $completiontype) X-Ref |
Checks if the activity with specified name is maked as complete. |
activity_has_configuration_completion_checkbox($activityname, $activitytype, $completiontype) X-Ref |
Checks if the activity with specified name shows a information completion checkbox (i.e. showing the completion tracking configuration). param: string $activityname The activity name. param: string $activitytype The activity type. param: string $completiontype The completion type. |
activity_has_status_completion_checkbox($activityname, $activitytype, $completiontype) X-Ref |
Checks if the activity with specified name shows a tracking completion checkbox (i.e. showing my completion tracking status) param: string $activityname The activity name. param: string $activitytype The activity type. param: string $completiontype The completion type. |
activity_has_not_any_completion_checkbox($activityname, $activitytype) X-Ref |
Checks if the activity with specified name does not show any completion checkbox. param: string $activityname The activity name. param: string $activitytype The activity type. |