Proyectos de Subversion Moodle

Rev

Rev 1 | | Comparar con el anterior | Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 1
@core @core_grades
2
Feature: We can customise the letter boundary of a course.
3
  In order to change the letter boundary of a course
4
  As a teacher
5
  I need to add assessments to the gradebook.
6
 
7
  @javascript
8
  Scenario: I edit the letter boundaries of a course and grade a student.
9
    Given the following "courses" exist:
10
      | fullname | shortname | category |
11
      | Course 1 | C1 | 0 |
12
    And the following "users" exist:
13
      | username | firstname | lastname | email | idnumber | alternatename |
14
      | teacher1 | Teacher | 1 | teacher1@example.com | t1 | Terry         |
15
      | student1 | Student | 1 | student1@example.com | s1 | Sally         |
16
    And the following "course enrolments" exist:
17
      | user | course | role |
18
      | teacher1 | C1 | editingteacher |
19
      | student1 | C1 | student |
20
    And the following "activities" exist:
21
      | activity | course | idnumber | name | intro | grade |
22
      | assign | C1 | a1 | Test assignment one | Submit something! | 100 |
23
    And I am on the "Course 1" "grades > course grade settings" page logged in as "teacher1"
24
    And I set the following fields to these values:
25
      | Grade display type | Letter |
26
    And I press "Save changes"
27
    And I navigate to "More > Grade letters" in the course gradebook
28
    And I click on "Edit" "button"
29
    And I set the following fields to these values:
30
      | Override site defaults   | 1  |
31
      | Letter grade boundary 10 | 57 |
32
    And I press "Save changes"
33
    And I navigate to "View > Grader report" in the course gradebook
34
    And I turn editing mode on
35
    And I give the grade "57" to the user "Student 1" for the grade item "Test assignment one"
36
    And I press "Save changes"
37
    And I am on "Course 1" course homepage with editing mode off
38
    And I navigate to "View > Grader report" in the course gradebook
39
    Then the following should exist in the "user-grades" table:
11 efrain 40
      | -1-       |  -2-                    |-3-  | -4- |
1 efrain 41
      | Student 1 |  student1@example.com   | D   | D   |