Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.

Differences Between: [Versions 401 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   |

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

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