AutorÃa | Ultima modificación | Ver Log |
@mod @mod_quizFeature: Settings form fields are validatedTo help me avoid mistakesAs a teacherI need the quiz settings to be validatedBackground:Given the following "users" exist:| username | firstname || teacher | Teach |And the following "courses" exist:| fullname | shortname | category || Course 1 | C1 | 0 |And the following "course enrolments" exist:| user | course | role || teacher | C1 | editingteacher |And the following "activities" exist:| activity | course | section | name || quiz | C1 | 1 | Test quiz 1 |Scenario: Negative time limits are not allowedWhen I am on the "Test quiz 1" "quiz activity editing" page logged in as teacherAnd I expand all fieldsetsAnd I set the following fields to these values:| id_timelimit_enabled | 1 || id_timelimit_number | -10 |And I press "Save and display"Then I should see "This duration cannot be negative"