Search moodle.org's
Developer Documentation

See Release Notes

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

Differences Between: [Versions 310 and 402]

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 |

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

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

return: behat_component_named_selector[]