|
Moodle PHP Documentation 4.5
Moodle 4.5.5+ (Build: 20250711) (ce34e8ff087)
|
User tour related steps definitions. More...
Public Member Functions | |
| getSession ($name=null) | |
| Returns the Mink session. | |
| i_add_a_new_user_tour_with (TableNode $table) | |
| Add a new user tour. | |
| i_add_steps_to_the_named_tour ($tourname, TableNode $table) | |
| Add new steps to a user tour. | |
| i_add_steps_to_the_tour (TableNode $table) | |
| Add new steps to the current user tour. | |
| i_open_the_user_tour_settings_page () | |
| Navigate to the user tour settings page. | |
Public Attributes | |
| const | PAGE_READY_JS |
| The JS code to check that the page is ready. | |
User tour related steps definitions.
|
inherited |
Returns the Mink session.
| string | null | $name | name of the session OR active session will be used |
| Behat::Mink::Session |
Implemented in behat_form_field.
| behat_tool_usertours::i_add_a_new_user_tour_with | ( | TableNode | $table | ) |
Add a new user tour.
@Given /^I add a new user tour with:$/
| TableNode | $table |
| behat_tool_usertours::i_add_steps_to_the_named_tour | ( | $tourname, | |
| TableNode | $table ) |
Add new steps to a user tour.
@Given /^I add steps to the "(?P<tour_name_string>(?:[^"]|::")*)" tour:$/
| string | $tourname | The name of the tour to add steps to. |
| TableNode | $table |
| behat_tool_usertours::i_add_steps_to_the_tour | ( | TableNode | $table | ) |
Add new steps to the current user tour.
@Given /^I add steps to the tour:$/
| TableNode | $table |
| behat_tool_usertours::i_open_the_user_tour_settings_page | ( | ) |
Navigate to the user tour settings page.
@Given /^I open the User tour settings page$/
|
inherited |
The JS code to check that the page is ready.
The document must be complete and either M.util.pending_js must be empty, or it must not be defined at all.