Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 11
Línea 39... Línea 39...
39
    When I give the grade "50" to the user "Student 1" for the grade item "H5P point"
39
    When I give the grade "50" to the user "Student 1" for the grade item "H5P point"
40
    And I press "Save changes"
40
    And I press "Save changes"
41
    And I turn editing mode off
41
    And I turn editing mode off
42
    # Confirm that grades are not saved when grade entered is > maximum grade.
42
    # Confirm that grades are not saved when grade entered is > maximum grade.
43
    Then the following should exist in the "user-grades" table:
43
    Then the following should exist in the "user-grades" table:
44
      | -1-       | -1-                  | -3- |
44
      | -1-       | -2-                  | -3- |
45
      | Student 1 | student1@example.com | -   |
45
      | Student 1 | student1@example.com | -   |
46
      | Student 2 | student2@example.com | -   |
46
      | Student 2 | student2@example.com | -   |
47
      | Student 3 | student3@example.com | -   |
47
      | Student 3 | student3@example.com | -   |
48
      | Student 4 | student4@example.com | -   |
48
      | Student 4 | student4@example.com | -   |
Línea 65... Línea 65...
65
    And I give the grade "0" to the user "Student 3" for the grade item "H5P point"
65
    And I give the grade "0" to the user "Student 3" for the grade item "H5P point"
66
    And I press "Save changes"
66
    And I press "Save changes"
67
    And I turn editing mode off
67
    And I turn editing mode off
68
    # Confirm that corresponding grades are stored for each student.
68
    # Confirm that corresponding grades are stored for each student.
69
    And the following should exist in the "user-grades" table:
69
    And the following should exist in the "user-grades" table:
70
      | -1-       | -1-                  | -3- |
70
      | -1-       | -2-                  | -3- |
71
      | Student 1 | student1@example.com | 10  |
71
      | Student 1 | student1@example.com | 10  |
72
      | Student 2 | student2@example.com | 5   |
72
      | Student 2 | student2@example.com | 5   |
73
      | Student 3 | student3@example.com | 0   |
73
      | Student 3 | student3@example.com | 0   |
74
      | Student 4 | student4@example.com | -   |
74
      | Student 4 | student4@example.com | -   |
Línea 91... Línea 91...
91
    And I give the grade "Competent" to the user "Student 4" for the grade item "H5P scale"
91
    And I give the grade "Competent" to the user "Student 4" for the grade item "H5P scale"
92
    When I press "Save changes"
92
    When I press "Save changes"
93
    And I turn editing mode off
93
    And I turn editing mode off
94
    # Confirm that scale set for student is successfully saved.
94
    # Confirm that scale set for student is successfully saved.
95
    Then the following should exist in the "user-grades" table:
95
    Then the following should exist in the "user-grades" table:
96
      | -1-       | -1-                  | -3-               |
96
      | -1-       | -2-                  | -3-               |
97
      | Student 1 | student1@example.com | Not yet competent |
97
      | Student 1 | student1@example.com | Not yet competent |
98
      | Student 2 | student2@example.com | Competent         |
98
      | Student 2 | student2@example.com | Competent         |
99
      | Student 3 | student3@example.com | -                 |
99
      | Student 3 | student3@example.com | -                 |
100
      | Student 4 | student4@example.com | Competent         |
100
      | Student 4 | student4@example.com | Competent         |