Línea 34... |
Línea 34... |
34 |
| completionentriesenabled | 1 |
|
34 |
| completionentriesenabled | 1 |
|
35 |
| completionentries | 1 |
|
35 |
| completionentries | 1 |
|
36 |
And I press "Save and display"
|
36 |
And I press "Save and display"
|
37 |
And I log out
|
37 |
And I log out
|
Línea 38... |
Línea 38... |
38 |
|
38 |
|
39 |
Scenario: View automatic completion items as a teacher
|
39 |
Scenario: View glossary automatic completion conditions as a teacher
|
40 |
Given I am on the "Music history" "glossary activity" page logged in as teacher1
|
40 |
Given I am on the "Music history" "glossary activity" page logged in as teacher1
|
41 |
Then "Music history" should have the "View" completion condition
|
41 |
Then "Music history" should have the "View" completion condition
|
42 |
And "Music history" should have the "Make entries: 1" completion condition
|
42 |
And "Music history" should have the "Make entries: 1" completion condition
|
Línea 43... |
Línea 43... |
43 |
And "Music history" should have the "Receive a grade" completion condition
|
43 |
And "Music history" should have the "Receive a grade" completion condition
|
44 |
|
44 |
|
45 |
Scenario: View automatic completion items as a student
|
45 |
Scenario: A student completes a glossary
|
46 |
Given I am on the "Music history" "glossary activity" page logged in as student1
|
46 |
Given I am on the "Music history" "glossary activity" page logged in as student1
|
47 |
And the "View" completion condition of "Music history" is displayed as "done"
|
47 |
And the "View" completion condition of "Music history" is displayed as "done"
|
48 |
And the "Make entries: 1" completion condition of "Music history" is displayed as "todo"
|
48 |
And the "Make entries: 1" completion condition of "Music history" is displayed as "todo"
|
Línea 65... |
Línea 65... |
65 |
Then the "View" completion condition of "Music history" is displayed as "done"
|
65 |
Then the "View" completion condition of "Music history" is displayed as "done"
|
66 |
And the "Make entries: 1" completion condition of "Music history" is displayed as "done"
|
66 |
And the "Make entries: 1" completion condition of "Music history" is displayed as "done"
|
67 |
And the "Receive a grade" completion condition of "Music history" is displayed as "done"
|
67 |
And the "Receive a grade" completion condition of "Music history" is displayed as "done"
|
Línea 68... |
Línea 68... |
68 |
|
68 |
|
69 |
@javascript
|
69 |
@javascript
|
70 |
Scenario: Use manual completion
|
70 |
Scenario: A student can manually mark the glossary activity as done but a teacher cannot
|
71 |
Given I am on the "Music history" "glossary activity editing" page logged in as teacher1
|
71 |
Given I am on the "Music history" "glossary activity editing" page logged in as teacher1
|
72 |
And I expand all fieldsets
|
72 |
And I expand all fieldsets
|
73 |
And I set the field "Students must manually mark the activity as done" to "1"
|
73 |
And I set the field "Students must manually mark the activity as done" to "1"
|
74 |
And I press "Save and display"
|
74 |
And I press "Save and display"
|