Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
|
Steps definitions related with the glossary activity. More...
Public Member Functions | |
getSession ($name=null) | |
Returns the Mink session. | |
i_add_a_glossary_entries_category_named ($categoryname) | |
Adds a category with the specified name to the current glossary. | |
i_add_a_glossary_entry_with_the_following_data (TableNode $data) | |
Adds an entry to the current glossary with the provided data. | |
Public Attributes | |
const | PAGE_READY_JS |
The JS code to check that the page is ready. | |
Steps definitions related with the glossary activity.
|
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_mod_glossary::i_add_a_glossary_entries_category_named | ( | $categoryname | ) |
Adds a category with the specified name to the current glossary.
You need to be in the glossary page.
@Given /^I add a glossary entries category named "(?P<category_name_string>(?:[^"]|::")*)"$/
string | $categoryname | Category name |
behat_mod_glossary::i_add_a_glossary_entry_with_the_following_data | ( | TableNode | $data | ) |
Adds an entry to the current glossary with the provided data.
You should be in the glossary page.
@Given /^I add a glossary entry with the following data:$/
TableNode | $data |
|
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.