| Línea 36... |
Línea 36... |
| 36 |
| completionentriesenabled | 1 |
|
36 |
| completionentriesenabled | 1 |
|
| 37 |
| completionentries | 1 |
|
37 |
| completionentries | 1 |
|
| 38 |
And I press "Save and display"
|
38 |
And I press "Save and display"
|
| 39 |
And I log out
|
39 |
And I log out
|
| Línea 40... |
Línea 40... |
| 40 |
|
40 |
|
| 41 |
Scenario: View automatic completion items as a teacher
|
41 |
Scenario: A teacher can view a glossary activity completion conditions
|
| 42 |
Given I log in as "teacher1"
|
42 |
Given I log in as "teacher1"
|
| 43 |
And I am on "Course 1" course homepage
|
43 |
And I am on "Course 1" course homepage
|
| 44 |
When I follow "Music history"
|
44 |
When I follow "Music history"
|
| 45 |
Then "Music history" should have the "View" completion condition
|
45 |
Then "Music history" should have the "View" completion condition
|
| 46 |
And "Music history" should have the "Make entries: 1" completion condition
|
46 |
And "Music history" should have the "Make entries: 1" completion condition
|
| 47 |
And "Music history" should have the "Receive a grade" completion condition
|
47 |
And "Music history" should have the "Receive a grade" completion condition
|
| Línea 48... |
Línea 48... |
| 48 |
And "Music history" should have the "Receive a passing grade" completion condition
|
48 |
And "Music history" should have the "Receive a passing grade" completion condition
|
| 49 |
|
49 |
|
| 50 |
Scenario: View automatic completion items as a failing student
|
50 |
Scenario: A student will not complete a glossary activity if the conditions are not met
|
| 51 |
Given I am on the "Music history" "glossary activity" page logged in as student1
|
51 |
Given I am on the "Music history" "glossary activity" page logged in as student1
|
| 52 |
And the "View" completion condition of "Music history" is displayed as "done"
|
52 |
And the "View" completion condition of "Music history" is displayed as "done"
|
| 53 |
And the "Make entries: 1" completion condition of "Music history" is displayed as "todo"
|
53 |
And the "Make entries: 1" completion condition of "Music history" is displayed as "todo"
|
| Línea 73... |
Línea 73... |
| 73 |
Then the "View" completion condition of "Music history" is displayed as "done"
|
73 |
Then the "View" completion condition of "Music history" is displayed as "done"
|
| 74 |
And the "Make entries: 1" completion condition of "Music history" is displayed as "done"
|
74 |
And the "Make entries: 1" completion condition of "Music history" is displayed as "done"
|
| 75 |
And the "Receive a grade" completion condition of "Music history" is displayed as "done"
|
75 |
And the "Receive a grade" completion condition of "Music history" is displayed as "done"
|
| 76 |
And the "Receive a passing grade" completion condition of "Music history" is displayed as "failed"
|
76 |
And the "Receive a passing grade" completion condition of "Music history" is displayed as "failed"
|
| Línea 77... |
Línea 77... |
| 77 |
|
77 |
|
| 78 |
Scenario: View automatic completion items as a passing student
|
78 |
Scenario: A student can complete a glossary activity by meeting the completion conditions
|
| 79 |
Given I am on the "Music history" "glossary activity" page logged in as student1
|
79 |
Given I am on the "Music history" "glossary activity" page logged in as student1
|
| 80 |
And the "View" completion condition of "Music history" is displayed as "done"
|
80 |
And the "View" completion condition of "Music history" is displayed as "done"
|
| 81 |
And the "Make entries: 1" completion condition of "Music history" is displayed as "todo"
|
81 |
And the "Make entries: 1" completion condition of "Music history" is displayed as "todo"
|
| 82 |
And the "Receive a grade" completion condition of "Music history" is displayed as "todo"
|
82 |
And the "Receive a grade" completion condition of "Music history" is displayed as "todo"
|