Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
|
Steps definitions related to workshopallocation_manual. More...
Public Member Functions | |
getSession ($name=null) | |
Returns the Mink session. | |
i_add_a_reviewer_for_workshop_participant ($reviewername, $participantname) | |
Manually adds a reviewer for workshop participant. | |
i_allocate_submissions_in_workshop_as ($workshopname, TableNode $table) | |
Manually allocates multiple reviewers in workshop. | |
Public Attributes | |
const | PAGE_READY_JS |
The JS code to check that the page is ready. | |
Steps definitions related to workshopallocation_manual.
|
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_workshopallocation_manual::i_add_a_reviewer_for_workshop_participant | ( | $reviewername, | |
$participantname ) |
Manually adds a reviewer for workshop participant.
This step should start on manual allocation page.
@When /^I add a reviewer "(?P<reviewer_name_string>(?:[^"]|::")*)" for workshop participant "(?P<participant_name_string>(?:[^"]|")*)"$/
string | $reviewername | |
string | $participantname |
behat_workshopallocation_manual::i_allocate_submissions_in_workshop_as | ( | $workshopname, | |
TableNode | $table ) |
Manually allocates multiple reviewers in workshop.
@When /^I allocate submissions in workshop "(?P<workshop_name_string>(?:[^"]|::")*)" as:$/ @When /^I allocate submissions in workshop "(?P<workshop_name_string>(?:[^"]|::")*)" as:"$/
string | $workshopname | |
TableNode | $table | should have one column with title 'Reviewer' and another with title 'Participant' (or 'Reviewee') |
|
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.