Differences Between: [Versions 311 and 402] [Versions 311 and 403]
Behat steps definitions for drag and drop onto image.
Copyright: | 2015 Oakland University |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 262 lines (10 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 1 file lib/behat/behat_base.php |
behat_gradereport_grader:: (13 methods):
i_click_on_student_and_grade_item()
i_click_away_from_student_and_grade_value()
i_click_away_from_student_and_grade_feedback()
the_grade_should_match()
i_should_see_grade_field()
i_should_see_feedback_field()
i_should_not_see_grade_field()
i_should_not_see_feedback_field()
get_user_id()
get_grade_item_id()
get_student_and_grade_cell_selector()
get_student_and_grade_value_selector()
get_student_and_grade_feedback_selector()
Class: behat_gradereport_grader - X-Ref
Steps definitions related with the drag and drop onto image question type.i_click_on_student_and_grade_item($student, $itemname) X-Ref |
Click a given user grade cell. param: string $student param: string $itemname |
i_click_away_from_student_and_grade_value($student, $itemname) X-Ref |
Remove focus for a grade value cell. param: string $student param: string $itemname |
i_click_away_from_student_and_grade_feedback($student, $itemname) X-Ref |
Remove focus for a grade value cell. param: string $student param: string $itemname |
the_grade_should_match($student, $itemname, $value) X-Ref |
Checks grade values with or without a edit box. param: string $student param: string $itemname param: string $value |
i_should_see_grade_field($student, $itemname) X-Ref |
Look for a grade editing field. param: string $student param: string $itemname |
i_should_see_feedback_field($student, $itemname) X-Ref |
Look for a feedback editing field. param: string $student param: string $itemname |
i_should_not_see_grade_field($student, $itemname) X-Ref |
Look for a lack of the grade editing field. param: string $student param: string $itemname |
i_should_not_see_feedback_field($student, $itemname) X-Ref |
Look for a lack of the feedback editing field. param: string $student param: string $itemname |
get_user_id($name) X-Ref |
Gets the user id from its name. param: string $name return: int |
get_grade_item_id($itemname) X-Ref |
Gets the grade item id from its name. param: string $itemname return: int |
get_student_and_grade_cell_selector($student, $itemname) X-Ref |
Gets unique xpath selector for a student/grade item combo. param: string $student param: string $itemname return: string |
get_student_and_grade_value_selector($student, $itemname) X-Ref |
Gets xpath for a particular student/grade item grade value cell. param: string $student param: string $itemname return: string |
get_student_and_grade_feedback_selector($student, $itemname) X-Ref |
Gets xpath for a particular student/grade item feedback cell. param: string $student param: string $itemname return: string |