Commenting system steps definitions.
Copyright: | 2013 David MonllaĆ³ |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 110 lines (4 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 1 file lib/behat/behat_base.php |
behat_block_comments:: (2 methods):
i_add_comment_to_comments_block()
i_delete_comment_from_comments_block()
Class: behat_block_comments - X-Ref
Steps definitions to deal with the commenting systemi_add_comment_to_comments_block($comment) X-Ref |
Adds the specified option to the comments block of the current page. This method can be adapted in future to add other comments considering that there could be more than one comment textarea per page. Only 1 comments block instance is allowed per page, if this changes this steps definitions should be adapted. param: string $comment |
i_delete_comment_from_comments_block($comment) X-Ref |
Deletes the specified comment from the current page's comments block. param: string $comment |