Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.0.x will end 8 May 2023 (12 months).
  • Bug fixes for security issues in 4.0.x will end 13 November 2023 (18 months).
  • PHP version: minimum PHP 7.3.0 Note: the minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is also supported.

Differences Between: [Versions 310 and 400]

Step definition to generate database fixtures for learning plan system.

Copyright: 2016 Issam Taboubi <issam.taboubi@umontreal.ca>
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 129 lines (6 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 1 file
 lib/behat/behat_base.php

Defines 1 class


Class: behat_tool_lp  - X-Ref

Step definition for learning plan system.

click_on_edit_menu_of_the_row($nodetext, $rowname)   X-Ref
Click on an entry in the edit menu.

param: string $nodetext
param: string $rowname

select_of_the_competency_tree($competencyname)   X-Ref
Click on competency in the tree.

param: string $competencyname

resolve_page_instance_url(string $page, string $identifier)   X-Ref
Convert page names to URLs for steps like 'When I am on the "[identifier]" "[page type]" page'.

Recognised page names are:
| pagetype            | name meaning | description                  |
| Course competencies | Course name  | The course competencies page |

return: moodle_url the corresponding URL.
param: string $page identifies which type of page this is, e.g. 'Course competencies'.
param: string $identifier identifies the particular page, e.g. 'C1'.

get_exact_named_selectors()   X-Ref
Return a list of the exact named selectors for the component.

return: behat_component_named_selector[]