Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.3.x will end 7 October 2024 (12 months).
  • Bug fixes for security issues in 4.3.x will end 21 April 2025 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.2.x is supported too.

Differences Between: [Versions 310 and 403] [Versions 311 and 403] [Versions 39 and 403] [Versions 400 and 403] [Versions 401 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: 147 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 1 file
 lib/behat/behat_base.php

Defines 1 class


Class: behat_gradereport_grader  - X-Ref

Steps definitions related with the drag and drop onto image question type.

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

i_click_on_user_menu(string $student)   X-Ref
Clicks on given user menu.

param: string $student

get_user_selector(string $student)   X-Ref
Gets unique xpath selector for a user.

param: string $student
return: string

i_click_on_user_profile_field_menu(string $field)   X-Ref
Clicks on given user profile field menu.

param: string $field

get_partial_named_selectors()   X-Ref
Return the list of partial named selectors.

return: array