- When I log in as "teacher1"
- And I follow "Course 1"
- And I turn editing mode on
- And I click on "Edit settings" "link" in the "Administration" "block"
- And I set the following fields to these values:
- | Enable completion tracking | Yes |
- And I press "Save and display"
- And I add a "Quiz" to section "1" and I fill the form with:
- | Name | Test quiz name |
- | Description | Test quiz description |
- | Completion tracking | Show activity as complete when conditions are met |
- | Attempts allowed | 2 |
- | Require passing grade | 1 |
- | Or all available attempts completed | 1 |
- And I add a "True/False" question to the "Test quiz name" quiz with:
- | Question name | First question |
- | Question text | Answer the first question |
- | General feedback | Thank you, this is the general feedback |
- | Correct answer | True |
- | Feedback for the response 'True'. | So you think it is true |
- | Feedback for the response 'False'. | So you think it is false |
- And I follow "Course 1"
- And I navigate to "Grades" node in "Course administration"
- And I navigate to "Categories and items" node in "Grade administration > Setup"
- And I follow "Edit quiz Test quiz name"
- Then I should see "Edit grade item"
- And I set the field "gradepass" to "5"
- And I press "Save changes"
- And I should see "Categories and items"
- Then I log out
-
- And I log in as "student1"