Differences Between: [Versions 310 and 311] [Versions 311 and 400] [Versions 311 and 401] [Versions 311 and 402] [Versions 311 and 403] [Versions 39 and 311]
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: | 185 lines (7 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 1 file lib/behat/behat_base.php |
behat_calendar:: (9 methods):
i_create_a_calendar_event_with_form_data()
i_create_a_calendar_event()
i_click_day_of_this_month_in_calendar()
i_hover_over_day_of_this_month_in_calendar()
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.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_click_day_of_this_month_in_calendar($day) X-Ref |
Click a specific day in the calendar. param: int $day The day of the current month |
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 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 |