Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 3.9.x will end* 10 May 2021 (12 months).
  • Bug fixes for security issues in 3.9.x will end* 8 May 2023 (36 months).
  • PHP version: minimum PHP 7.2.0 Note: minimum PHP version has increased since Moodle 3.8. PHP 7.3.x and 7.4.x are supported too.

Differences Between: [Versions 39 and 310] [Versions 39 and 311] [Versions 39 and 400] [Versions 39 and 401] [Versions 39 and 402] [Versions 39 and 403]

Behat calendar-related steps definitions.

Copyright: 2013 Mark Nelson <markn@moodle.com>
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 139 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_calendar  - X-Ref

Contains functions used by behat to test functionality.

i_create_a_calendar_event_with_form_data($data)   X-Ref
Create event when starting on the front page.

param: TableNode $data

i_create_a_calendar_event($data)   X-Ref
Create event.

param: TableNode $data

i_hover_over_day_of_this_month_in_calendar($day)   X-Ref
Hover over a specific day in the calendar.

param: int $day The day of the current month

i_hover_over_today_in_the_calendar()   X-Ref
Hover over today in the calendar.


i_view_the_calendar_for($month, $year)   X-Ref
Navigate to a specific date in the calendar.

param: int $month the month selected as a number
param: int $year the four digit year

i_am_viewing_site_calendar()   X-Ref
Navigate to site calendar.

return: void