Línea 66... |
Línea 66... |
66 |
And the manual completion button of "Myfile" is displayed as "Mark as done"
|
66 |
And the manual completion button of "Myfile" is displayed as "Mark as done"
|
67 |
And I toggle the manual completion state of "Myfile"
|
67 |
And I toggle the manual completion state of "Myfile"
|
68 |
And the manual completion button of "Myfile" is displayed as "Done"
|
68 |
And the manual completion button of "Myfile" is displayed as "Done"
|
Línea 69... |
Línea 69... |
69 |
|
69 |
|
70 |
@javascript
|
70 |
@javascript
|
71 |
Scenario: View automatic completion items
|
71 |
Scenario: A student can complete a resource activity by viewing it
|
72 |
Given the following "activities" exist:
|
72 |
Given the following "activities" exist:
|
73 |
| activity | course | name | display | defaultfilename | uploaded |
|
73 |
| activity | course | name | display | defaultfilename | uploaded |
|
74 |
| resource | C1 | Myfile | 1 | mod/resource/tests/fixtures/samplefile.txt | 1 |
|
74 |
| resource | C1 | Myfile | 1 | mod/resource/tests/fixtures/samplefile.txt | 1 |
|
75 |
And I am on the "Course 1" "course editing" page logged in as "teacher1"
|
75 |
And I am on the "Course 1" "course editing" page logged in as "teacher1"
|