| Línea 28... |
Línea 28... |
| 28 |
And I press "Save and return to course"
|
28 |
And I press "Save and return to course"
|
| 29 |
And I edit assessment form in workshop "Music history" as:
|
29 |
And I edit assessment form in workshop "Music history" as:
|
| 30 |
| id_description__idx_0_editor | Aspect1 |
|
30 |
| id_description__idx_0_editor | Aspect1 |
|
| 31 |
And I change phase in workshop "Music history" to "Submission phase"
|
31 |
And I change phase in workshop "Music history" to "Submission phase"
|
| Línea 32... |
Línea 32... |
| 32 |
|
32 |
|
| 33 |
Scenario: View automatic completion items as a teacher
|
33 |
Scenario: The workshop module displays automatic completion conditions to teachers
|
| 34 |
Given I am on the "Music history" "workshop activity" page
|
34 |
Given I am on the "Music history" "workshop activity" page
|
| 35 |
Then "Music history" should have the "Receive a grade" completion condition
|
35 |
Then "Music history" should have the "Receive a grade" completion condition
|
| Línea 36... |
Línea 36... |
| 36 |
And "Music history" should have the "View" completion condition
|
36 |
And "Music history" should have the "View" completion condition
|
| 37 |
|
37 |
|
| 38 |
Scenario: View automatic completion items as a student
|
38 |
Scenario: Students can complete a workshop activity by achieving a passing grade
|
| 39 |
Given I am on the "Music history" "workshop activity" page logged in as student1
|
39 |
Given I am on the "Music history" "workshop activity" page logged in as student1
|
| 40 |
And the "View" completion condition of "Music history" is displayed as "done"
|
40 |
And the "View" completion condition of "Music history" is displayed as "done"
|
| 41 |
And the "Receive a grade" completion condition of "Music history" is displayed as "todo"
|
41 |
And the "Receive a grade" completion condition of "Music history" is displayed as "todo"
|
| Línea 64... |
Línea 64... |
| 64 |
When I am on the "Music history" "workshop activity" page logged in as student1
|
64 |
When I am on the "Music history" "workshop activity" page logged in as student1
|
| 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 "Receive a grade" completion condition of "Music history" is displayed as "done"
|
66 |
And the "Receive a grade" completion condition of "Music history" is displayed as "done"
|
| Línea 67... |
Línea 67... |
| 67 |
|
67 |
|
| 68 |
@javascript
|
68 |
@javascript
|
| 69 |
Scenario: Use manual completion
|
69 |
Scenario: A student can manually mark the workshop activity as done but a teacher cannot
|
| 70 |
Given I am on the "Music history" "workshop activity" page
|
70 |
Given I am on the "Music history" "workshop activity" page
|
| 71 |
And I am on the "Music history" "workshop activity editing" page
|
71 |
And I am on the "Music history" "workshop activity editing" page
|
| 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"
|