Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 17... Línea 17...
17
      | user | course | role           |
17
      | user | course | role           |
18
      | student1 | C1 | student        |
18
      | student1 | C1 | student        |
19
      | teacher1 | C1 | editingteacher |
19
      | teacher1 | C1 | editingteacher |
20
      | student1 | C2 | student        |
20
      | student1 | C2 | student        |
Línea 21... Línea 21...
21
 
21
 
22
  Scenario: View automatic completion items
22
  Scenario: A folder is automatically completed when a student views it
23
    Given the following "activity" exists:
23
    Given the following "activity" exists:
24
      | activity       | folder        |
24
      | activity       | folder        |
25
      | course         | C1            |
25
      | course         | C1            |
26
      | idnumber       | mh1           |
26
      | idnumber       | mh1           |
Línea 35... Línea 35...
35
    # Student view.
35
    # Student view.
36
    When I am on the "Music history" "folder activity" page logged in as student1
36
    When I am on the "Music history" "folder activity" page logged in as student1
37
    Then the "View" completion condition of "Music history" is displayed as "done"
37
    Then the "View" completion condition of "Music history" is displayed as "done"
Línea 38... Línea 38...
38
 
38
 
39
  @javascript
39
  @javascript
40
  Scenario: Use manual completion
40
  Scenario: A student can manually mark the folder activity as done but a teacher cannot
41
    Given the following "activity" exists:
41
    Given the following "activity" exists:
42
      | activity       | folder        |
42
      | activity       | folder        |
43
      | course         | C1            |
43
      | course         | C1            |
44
      | idnumber       | mh1           |
44
      | idnumber       | mh1           |