|
Moodle PHP Documentation 5.0
Moodle 5.0.1+ (Build: 20250711) (61af040cd5f)
|
Behat custom steps and configuration for mod_assign. More...
Public Member Functions | |
| getSession ($name=null) | |
| Returns the Mink session. | |
| i_enable_grade_penalties_for_assignment () | |
| Enable grade penalty. | |
| i_should_see_marking_guide_information (TableNode $table) | |
| Check that the marking guide information is displayed correctly. | |
Public Attributes | |
| const | PAGE_READY_JS |
| The JS code to check that the page is ready. | |
Behat custom steps and configuration for mod_assign.
|
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_assign::i_enable_grade_penalties_for_assignment | ( | ) |
Enable grade penalty.
@Given I enable grade penalties for assignment
| behat_mod_assign::i_should_see_marking_guide_information | ( | TableNode | $table | ) |
Check that the marking guide information is displayed correctly.
@Then /^I should see the marking guide information displayed as:$/
| TableNode | $table | The table of marking guide information to check. |
|
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.