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 400 and 403]

(no description)

File Size: 119 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_reportbuilder  - X-Ref

Behat step definitions for Report builder

resolve_page_instance_url(string $type, 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:
| type   | identifier  | description          |
| Editor | Report name | Custom report editor |
| View   | Report name | Custom report view   |

return: moodle_url
param: string $type
param: string $identifier

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

return: behat_component_named_selector[]

i_set_the_column_aggregation_to(string $column, string $aggregation)   X-Ref
Set aggregation for given column in report editor (proxied so we can skip if aggregation type not available)

param: string $column
param: string $aggregation

i_press_action_in_the_report_row(string $action, string $row)   X-Ref
Press a given action from the action menu in a given report row

param: string $action
param: string $row