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

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_base.php
 lib/behat/behat_field_manager.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