Commenting system steps definitions for question.
Author: | Safat Shahin <safatshahin@catalyst-au.net> |
Copyright: | 2021 Catalyst IT Australia Pty Ltd |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 168 lines (7 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 2 files question/tests/behat/behat_question_base.php lib/behat/behat_base.php |
behat_qbank_comment:: (6 methods):
i_click_on_the_row_containing()
i_should_see_on_the_column()
i_add_comment_to_question()
i_add_comment_to_question_preview()
i_delete_comment_from_question_preview()
i_delete_comment_from_question()
Class: behat_qbank_comment - X-Ref
Steps definitions to deal with the commenting system in question.i_click_on_the_row_containing($linkname) X-Ref |
Looks for a table, then looks for a row that contains the given text. Once it finds the right row, it clicks a link in that row. param: string $linkname param: string $rowtext |
i_should_see_on_the_column($linkdata) X-Ref |
Looks for the appropriate comment count in the column. param: string $linkdata |
i_add_comment_to_question($comment) X-Ref |
Adds the specified option to the question comments of the current modal. param: string $comment |
i_add_comment_to_question_preview($comment) X-Ref |
Adds the specified option to the question comments of the question preview. param: string $comment |
i_delete_comment_from_question_preview($comment) X-Ref |
Deletes the specified comment from the current question comment preview. param: string $comment |
i_delete_comment_from_question($comment) X-Ref |
Deletes the specified comment from the current question comment modal. param: string $comment |