Línea 37... |
Línea 37... |
37 |
| completiondiscussions | 1 |
|
37 |
| completiondiscussions | 1 |
|
38 |
| completionrepliesenabled | 1 |
|
38 |
| completionrepliesenabled | 1 |
|
39 |
| completionreplies | 1 |
|
39 |
| completionreplies | 1 |
|
40 |
And I press "Save and display"
|
40 |
And I press "Save and display"
|
Línea 41... |
Línea 41... |
41 |
|
41 |
|
42 |
Scenario: View automatic completion items as a teacher
|
42 |
Scenario: Forum module displays completion conditions to teachers
|
43 |
Given I am on the "Music history" "forum activity" page logged in as teacher1
|
43 |
Given 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
|
48 |
And "Music history" should have the "Receive a grade" completion condition
|
48 |
And "Music history" should have the "Receive a grade" completion condition
|
Línea 49... |
Línea 49... |
49 |
And "Music history" should have the "Receive a passing grade" completion condition
|
49 |
And "Music history" should have the "Receive a passing grade" completion condition
|
50 |
|
50 |
|
51 |
@javascript
|
51 |
@javascript
|
52 |
Scenario: View automatic completion items as a failing student
|
52 |
Scenario: Student cannot complete a forum activity if one of the conditions are not met
|
53 |
Given I am on the "Music history" "forum activity" page logged in as student1
|
53 |
Given I am on the "Music history" "forum activity" page logged in as student1
|
54 |
And the "View" completion condition of "Music history" is displayed as "done"
|
54 |
And the "View" completion condition of "Music history" is displayed as "done"
|
55 |
And the "Start discussions: 1" completion condition of "Music history" is displayed as "todo"
|
55 |
And the "Start discussions: 1" completion condition of "Music history" is displayed as "todo"
|
Línea 91... |
Línea 91... |
91 |
And the "Post replies: 1" completion condition of "Music history" is displayed as "done"
|
91 |
And the "Post replies: 1" completion condition of "Music history" is displayed as "done"
|
92 |
And the "Receive a grade" completion condition of "Music history" is displayed as "done"
|
92 |
And the "Receive a grade" completion condition of "Music history" is displayed as "done"
|
93 |
And the "Receive a passing grade" completion condition of "Music history" is displayed as "failed"
|
93 |
And the "Receive a passing grade" completion condition of "Music history" is displayed as "failed"
|
Línea 94... |
Línea 94... |
94 |
|
94 |
|
95 |
@javascript
|
95 |
@javascript
|
96 |
Scenario: View automatic completion items as a passing student
|
96 |
Scenario: Student can complete a forum activity when all conditions are met
|
97 |
Given I am on the "Music history" "forum activity" page logged in as student1
|
97 |
Given I am on the "Music history" "forum activity" page logged in as student1
|
98 |
And the "View" completion condition of "Music history" is displayed as "done"
|
98 |
And the "View" completion condition of "Music history" is displayed as "done"
|
99 |
And the "Start discussions: 1" completion condition of "Music history" is displayed as "todo"
|
99 |
And the "Start discussions: 1" completion condition of "Music history" is displayed as "todo"
|
100 |
And the "Make forum posts: 2" completion condition of "Music history" is displayed as "todo"
|
100 |
And the "Make forum posts: 2" completion condition of "Music history" is displayed as "todo"
|