| Línea 37... |
Línea 37... |
| 37 |
| completionrepliesenabled | 1 |
|
37 |
| completionrepliesenabled | 1 |
|
| 38 |
| completionreplies | 1 |
|
38 |
| completionreplies | 1 |
|
| 39 |
And I press "Save and display"
|
39 |
And I press "Save and display"
|
| Línea 40... |
Línea 40... |
| 40 |
|
40 |
|
| 41 |
@javascript
|
41 |
@javascript
|
| 42 |
Scenario: View automatic completion items as a teacher
|
42 |
Scenario: Forum module displays automatic completion conditions to teachers
|
| 43 |
When I am on the "Music history" "forum activity" page logged in as teacher1
|
43 |
When I am on the "Music history" "forum activity" page logged in as teacher1
|
| 44 |
Then "Music history" should have the "View" completion condition
|
44 |
Then "Music history" should have the "View" completion condition
|
| 45 |
And "Music history" should have the "Start discussions: 1" completion condition
|
45 |
And "Music history" should have the "Start discussions: 1" completion condition
|
| 46 |
And "Music history" should have the "Make forum posts: 2" completion condition
|
46 |
And "Music history" should have the "Make forum posts: 2" completion condition
|
| 47 |
And "Music history" should have the "Post replies: 1" completion condition
|
47 |
And "Music history" should have the "Post replies: 1" completion condition
|
| Línea 48... |
Línea 48... |
| 48 |
And "Music history" should have the "Receive a grade" completion condition
|
48 |
And "Music history" should have the "Receive a grade" completion condition
|
| 49 |
|
49 |
|
| 50 |
@javascript
|
50 |
@javascript
|
| 51 |
Scenario: View automatic completion items as a student
|
51 |
Scenario: A student can complete a forum activity by meeting the completion conditions
|
| 52 |
Given I am on the "Music history" "forum activity" page logged in as student1
|
52 |
Given I am on the "Music history" "forum activity" page logged in as student1
|
| 53 |
And the "View" completion condition of "Music history" is displayed as "done"
|
53 |
And the "View" completion condition of "Music history" is displayed as "done"
|
| 54 |
And the "Start discussions: 1" completion condition of "Music history" is displayed as "todo"
|
54 |
And the "Start discussions: 1" completion condition of "Music history" is displayed as "todo"
|
| Línea 86... |
Línea 86... |
| 86 |
And the "Make forum posts: 2" completion condition of "Music history" is displayed as "done"
|
86 |
And the "Make forum posts: 2" completion condition of "Music history" is displayed as "done"
|
| 87 |
And the "Post replies: 1" completion condition of "Music history" is displayed as "done"
|
87 |
And the "Post replies: 1" completion condition of "Music history" is displayed as "done"
|
| 88 |
And the "Receive a grade" completion condition of "Music history" is displayed as "done"
|
88 |
And the "Receive a grade" completion condition of "Music history" is displayed as "done"
|
| Línea 89... |
Línea 89... |
| 89 |
|
89 |
|
| 90 |
@javascript
|
90 |
@javascript
|
| 91 |
Scenario: Use manual completion
|
91 |
Scenario: A student can manually mark the forum activity as done but a teacher cannot
|
| 92 |
Given I am on the "Music history" "forum activity editing" page logged in as teacher1
|
92 |
Given I am on the "Music history" "forum activity editing" page logged in as teacher1
|
| 93 |
And I expand all fieldsets
|
93 |
And I expand all fieldsets
|
| 94 |
And I set the field "Students must manually mark the activity as done" to "1"
|
94 |
And I set the field "Students must manually mark the activity as done" to "1"
|
| 95 |
And I press "Save and display"
|
95 |
And I press "Save and display"
|