See Release Notes
Long Term Support Release
Differences Between: [Versions 310 and 401] [Versions 311 and 401] [Versions 39 and 401] [Versions 400 and 401]
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: | 182 lines (7 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 1 file lib/behat/behat_base.php |
behat_calendar:: (11 methods):
get_partial_named_selectors()
i_create_a_calendar_event_with_form_data()
i_create_a_calendar_event()
i_hover_over_day_of_this_month_in_mini_calendar_block()
i_hover_over_day_of_this_month_in_full_calendar_page()
i_hover_over_today_in_mini_calendar_block()
i_hover_over_today_in_the_calendar()
i_view_the_calendar_for()
i_view_the_calendar_day_view()
view_the_calendar()
i_am_viewing_site_calendar()
Class: behat_calendar - X-Ref
Contains functions used by behat to test functionality.get_partial_named_selectors() X-Ref |
Return the list of partial named selectors. return: array |
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_mini_calendar_block(int $day) X-Ref |
Hover over a specific day in the mini-calendar. param: int $day The day of the current month |
i_hover_over_day_of_this_month_in_full_calendar_page(int $day) X-Ref |
Hover over a specific day in the full calendar page. param: int $day The day of the current month |
i_hover_over_today_in_mini_calendar_block() X-Ref |
Hover over today in the mini-calendar. |
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 month in the calendar. param: int $month the month selected as a number param: int $year the four digit year |
i_view_the_calendar_day_view(int $day, int $month, int $year) X-Ref |
Navigate to a specific date in the calendar. param: int $day the day selected as a number param: int $month the month selected as a number param: int $year the four digit year |
view_the_calendar(string $type, int $day, int $month, int $year) X-Ref |
View the correct calendar view with specific day param: string $type type of calendar view: month or day param: int $day the day selected as a number 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 |