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] [Versions 39 and 402]

Steps definitions related with administration.

Copyright: 2013 David MonllaĆ³
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 133 lines (5 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 2 files
 lib/behat/behat_field_manager.php
 lib/behat/behat_base.php

Defines 1 class


Class: behat_admin  - X-Ref

Site administration level steps definitions.

i_set_the_following_administration_settings_values(TableNode $table)   X-Ref
Sets the specified site settings. A table with | Setting label | value | is expected.

param: TableNode $table

the_following_config_values_are_set_as_admin(TableNode $table)   X-Ref
Sets the specified site settings. A table with | config | value | (optional)plugin | (optional)encrypted | is expected.

param: TableNode $table

wait($timeout, $javascript = false)   X-Ref
Waits with the provided params if we are running a JS session.

param: int $timeout
param: string $javascript
return: void