Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 26... Línea 26...
26
      | course           | C1                          |
26
      | course           | C1                          |
27
      | name             | Test assignment name        |
27
      | name             | Test assignment name        |
28
      | submissiondrafts | 0                           |
28
      | submissiondrafts | 0                           |
Línea 29... Línea 29...
29
 
29
 
30
    And I am on the "Test assignment name" Activity page logged in as teacher1
-
 
31
    And I follow "View all submissions"
30
    And I am on the "Test assignment name" Activity page logged in as teacher1
32
    And I click on "Grade" "link" in the "Student 1" "table_row"
31
    And I go to "Student 1" "Test assignment name" activity advanced grading page
33
    And I set the field "Grade out of 100" to "40"
32
    And I set the field "Grade out of 100" to "40"
34
    And I press "Save changes"
33
    And I press "Save changes"
35
    And I follow "View all submissions"
34
    And I follow "View all submissions"
36
    And "Student 1" row "Grade" column of "generaltable" table should contain "40.00"
35
    And "Student 1" row "Grade" column of "generaltable" table should contain "40.00"
Línea 40... Línea 39...
40
    Given I navigate to "Settings" in current page administration
39
    Given I navigate to "Settings" in current page administration
41
    And I expand all fieldsets
40
    And I expand all fieldsets
42
    And I set the field "Rescale existing grades" to "No"
41
    And I set the field "Rescale existing grades" to "No"
43
    And I set the field "Maximum grade" to "80"
42
    And I set the field "Maximum grade" to "80"
44
    When I press "Save and display"
43
    When I press "Save and display"
45
    And I follow "View all submissions"
44
    And I navigate to "Submissions" in current page administration
46
    Then "Student 1" row "Grade" column of "generaltable" table should contain "40.00"
45
    Then "Student 1" row "Grade" column of "generaltable" table should contain "40.00"
Línea 47... Línea 46...
47
 
46
 
48
  Scenario: Update an assignment without touching the max grades
47
  Scenario: Update an assignment without touching the max grades
49
    Given I navigate to "Settings" in current page administration
48
    Given I navigate to "Settings" in current page administration
Línea 56... Línea 55...
56
    And I navigate to "Settings" in current page administration
55
    And I navigate to "Settings" in current page administration
57
    And I expand all fieldsets
56
    And I expand all fieldsets
58
    And I set the field "Rescale existing grades" to "Yes"
57
    And I set the field "Rescale existing grades" to "Yes"
59
    And I set the field "Maximum grade" to "80"
58
    And I set the field "Maximum grade" to "80"
60
    When I press "Save and display"
59
    When I press "Save and display"
61
    And I follow "View all submissions"
60
    And I navigate to "Submissions" in current page administration
62
    Then "Student 1" row "Grade" column of "generaltable" table should contain "40.00"
61
    Then "Student 1" row "Grade" column of "generaltable" table should contain "40.00"
Línea 63... Línea 62...
63
 
62
 
64
  Scenario: Update the max grade for an assignment rescaling existing grades
63
  Scenario: Update the max grade for an assignment rescaling existing grades
65
    Given I navigate to "Settings" in current page administration
64
    Given I navigate to "Settings" in current page administration
66
    And I expand all fieldsets
65
    And I expand all fieldsets
67
    And I set the field "Rescale existing grades" to "Yes"
66
    And I set the field "Rescale existing grades" to "Yes"
68
    And I set the field "Maximum grade" to "50"
67
    And I set the field "Maximum grade" to "50"
69
    When I press "Save and display"
68
    When I press "Save and display"
70
    And I follow "View all submissions"
69
    And I navigate to "Submissions" in current page administration
Línea 71... Línea 70...
71
    Then "Student 1" row "Grade" column of "generaltable" table should contain "20.00"
70
    Then "Student 1" row "Grade" column of "generaltable" table should contain "20.00"
72
 
71
 
-
 
72
  Scenario: Rescaling should not produce negative grades
73
  Scenario: Rescaling should not produce negative grades
73
    Given I change window size to "large"
74
    Given I follow "View all submissions"
74
    And I go to "Student 2" "Test assignment name" activity advanced grading page
75
    And I click on "Grade" "link" in the "Student 2" "table_row"
75
    And I change window size to "medium"
76
    And I wait until the page is ready
76
    And I wait until the page is ready
77
    And I am on the "Test assignment name" "assign activity" page
77
    And I am on the "Test assignment name" "assign activity" page
78
    And I navigate to "Settings" in current page administration
78
    And I navigate to "Settings" in current page administration
79
    And I expand all fieldsets
79
    And I expand all fieldsets
80
    And I set the field "Rescale existing grades" to "Yes"
80
    And I set the field "Rescale existing grades" to "Yes"
81
    And I set the field "Maximum grade" to "50"
81
    And I set the field "Maximum grade" to "50"
82
    When I press "Save and display"
82
    When I press "Save and display"
83
    And I follow "View all submissions"
83
    And I navigate to "Submissions" in current page administration