See Release Notes
Long Term Support Release
Differences Between: [Versions 310 and 401] [Versions 311 and 401] [Versions 39 and 401] [Versions 401 and 402] [Versions 401 and 403]
Behat steps definitions for block social activities
Copyright: | 2016 Marina Glancy |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 178 lines (8 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 1 file lib/behat/behat_base.php |
behat_block_social_activities:: (9 methods):
get_social_block_activity_node()
activity_in_social_activities_block_should_have_editing_icon()
activity_in_social_activities_block_should_not_have_editing_icon()
i_click_on_in_the_activity_in_social_activities_block()
get_social_block_activity_element()
activity_in_social_activities_block_should_be_hidden()
activity_in_social_activities_block_should_be_available_but_hidden_from_course_page()
i_open_actions_menu_in_social_activities_block()
get_partial_named_selectors()
Class: behat_block_social_activities - X-Ref
Behat steps definitions for block social activitiesget_social_block_activity_node($activityname) X-Ref |
Returns the DOM node of the activity in the social activities block param: string $activityname The activity name return: NodeElement |
activity_in_social_activities_block_should_have_editing_icon($activityname, $iconname) X-Ref |
Checks that the specified activity in the social activities block should have the specified editing icon. This includes items in the action menu for the item (does not require it to be open) You should be in the course page with editing mode turned on. param: string $activityname param: string $iconname |
activity_in_social_activities_block_should_not_have_editing_icon($activityname, $iconname) X-Ref |
Checks that the specified activity in the social activities block should not have the specified editing icon. This includes items in the action menu for the item (does not require it to be open) You should be in the course page with editing mode turned on. param: string $activityname param: string $iconname |
i_click_on_in_the_activity_in_social_activities_block($element, $selectortype, $activityname) X-Ref |
Clicks on the specified element of the activity. You should be in the course page with editing mode turned on. param: string $element param: string $selectortype param: string $activityname |
get_social_block_activity_element($element, $selectortype, $activityname) X-Ref |
Finds the element containing a specific activity in the social activity block. param: string $element param: string $selectortype param: string $activityname return: NodeElement |
activity_in_social_activities_block_should_be_hidden($activityname) X-Ref |
Checks that the specified activity is hidden in the social activities block. param: string $activityname |
activity_in_social_activities_block_should_be_available_but_hidden_from_course_page($activityname) X-Ref |
Checks that the specified activity is hidden in the social activities block. param: string $activityname |
i_open_actions_menu_in_social_activities_block($activityname) X-Ref |
Opens an activity actions menu in the social activities block if it is not already opened. param: string $activityname |
get_partial_named_selectors() X-Ref |
Return the list of partial named selectors. return: array |