Moodle APIs 3.11
Moodle 3.11.11+ (Build: 20221125)
|
Public Member Functions | |
click_on_edit_menu_of_the_row ($nodetext, $rowname) | |
Click on an entry in the edit menu. More... | |
getSession ($name=null) | |
Returns the Mink session. More... | |
select_of_the_competency_tree ($competencyname) | |
Click on competency in the tree. More... | |
Static Public Member Functions | |
static | get_exact_named_selectors () |
Return a list of the exact named selectors for the component. More... | |
Public Attributes | |
const | PAGE_READY_JS |
The JS code to check that the page is ready. More... | |
Protected Member Functions | |
resolve_page_instance_url (string $page, string $identifier) | |
Convert page names to URLs for steps like 'When I am on the "[identifier]" "[page type]" page'. More... | |
behat_tool_lp::click_on_edit_menu_of_the_row | ( | $nodetext, | |
$rowname | |||
) |
Click on an entry in the edit menu.
@When /^I click on "([^"]*)" of edit menu in the "([^"]*)" row$/
string | $nodetext | |
string | $rowname |
|
static |
Return a list of the exact named selectors for the component.
behat_component_named_selector[] |
|
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.
|
protected |
Convert page names to URLs for steps like 'When I am on the "[identifier]" "[page type]" page'.
Recognised page names are: | pagetype | name meaning | description | | Course competencies | Course name | The course competencies page |
string | $page | identifies which type of page this is, e.g. 'Course competencies'. |
string | $identifier | identifies the particular page, e.g. 'C1'. |
moodle_url | the corresponding URL. |
Exception | with a meaningful error message if the specified page cannot be found. |
behat_tool_lp::select_of_the_competency_tree | ( | $competencyname | ) |
Click on competency in the tree.
@Given /^I select "([^"]*)" of the competency tree$/
string | $competencyname |
|
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.