Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
|
Steps definitions related to mod_quiz. More...
Public Member Functions | |
getSession ($name=null) | |
Returns the Mink session. | |
the_following_wiki_pages_exist (TableNode $data) | |
Add the specified pages to the specified wiki. | |
Public Attributes | |
const | PAGE_READY_JS |
The JS code to check that the page is ready. | |
Steps definitions related to mod_quiz.
|
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_wiki::the_following_wiki_pages_exist | ( | TableNode | $data | ) |
Add the specified pages to the specified wiki.
The first row should be column names: | wiki | user | group | title | content |
wiki idnumber of the wiki course module user username of the user who is creating the page group (optional) idnumber of the group the page belongs to title (optional) the title text of the page content (optional) the content of the page
TableNode | $data | The pages to add |
@Given /^the following wiki pages exist:$/
|
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.