Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 32... Línea 32...
32
      | assign                | user      | onlinetext                          |
32
      | assign                | user      | onlinetext                          |
33
      | Test assignment name  | student1  | I'm the student's first submission  |
33
      | Test assignment name  | student1  | I'm the student's first submission  |
Línea 34... Línea 34...
34
 
34
 
35
    # Mark the submission.
35
    # Mark the submission.
36
    And I am on the "Test assignment name" Activity page logged in as teacher1
36
    And I am on the "Test assignment name" Activity page logged in as teacher1
37
    And I follow "View all submissions"
37
    And I navigate to "Submissions" in current page administration
38
    And I should see "Not marked" in the "I'm the student's first submission" "table_row"
38
    And I should see "Not marked" in the "I'm the student's first submission" "table_row"
-
 
39
    And I click on "Grade actions" "actionmenu" in the "I'm the student's first submission" "table_row"
39
    And I click on "Grade" "link" in the "I'm the student's first submission" "table_row"
40
    And I choose "Grade" in the open action menu
40
    And I set the field "Grade out of 100" to "50"
41
    And I set the field "Grade out of 100" to "50"
41
    And I set the field "Marking workflow state" to "In review"
42
    And I set the field "Marking workflow state" to "In review"
42
    And I set the field "Feedback comments" to "Great job! Lol, not really."
43
    And I set the field "Feedback comments" to "Great job! Lol, not really."
43
    And I set the field "Notify student" to "0"
44
    And I set the field "Notify student" to "0"
44
    And I press "Save changes"
45
    And I press "Save changes"
45
    And I follow "View all submissions"
46
    And I follow "View all submissions"
Línea 46... Línea 47...
46
    And I should see "In review" in the "I'm the student's first submission" "table_row"
47
    And I should see "In review" in the "I'm the student's first submission" "table_row"
47
 
48
 
48
  @javascript
49
  @javascript
-
 
50
  Scenario: Student identities are revealed after releasing the grades.
49
  Scenario: Student identities are revealed after releasing the grades.
51
    When I click on "Grade actions" "actionmenu" in the "I'm the student's first submission" "table_row"
50
    When I click on "Grade" "link" in the "I'm the student's first submission" "table_row"
52
    And I choose "Grade" in the open action menu
51
    And I set the field "Marking workflow state" to "Ready for release"
53
    And I set the field "Marking workflow state" to "Ready for release"
52
    And I set the field "Notify student" to "0"
54
    And I set the field "Notify student" to "0"
53
    And I press "Save changes"
55
    And I press "Save changes"
54
    And I follow "View all submissions"
56
    And I follow "View all submissions"
-
 
57
    And I should see "Ready for release" in the "I'm the student's first submission" "table_row"
55
    And I should see "Ready for release" in the "I'm the student's first submission" "table_row"
58
    And I click on "Grade actions" "actionmenu" in the "I'm the student's first submission" "table_row"
56
    And I click on "Grade" "link" in the "I'm the student's first submission" "table_row"
59
    And I choose "Grade" in the open action menu
57
    And I set the field "Marking workflow state" to "Released"
60
    And I set the field "Marking workflow state" to "Released"
58
    And I press "Save changes"
61
    And I press "Save changes"
59
    And I follow "View all submissions"
62
    And I follow "View all submissions"
60
    And I should see "Released" in the "I'm the student's first submission" "table_row"
63
    And I should see "Released" in the "I'm the student's first submission" "table_row"
61
    And I set the field "Grading action" to "Reveal student identities"
64
    And I choose the "Reveal student identities" item in the "Actions" action menu
62
    And I press "Continue"
65
    And I press "Continue"
63
    And I am on the "Course 1" "grades > User report > View" page logged in as "student1"
66
    And I am on the "Course 1" "grades > User report > View" page logged in as "student1"
Línea 64... Línea 67...
64
    Then I should see "50"
67
    Then I should see "50"
65
    And I should see "Great job! Lol, not really."
68
    And I should see "Great job! Lol, not really."
66
 
69
 
-
 
70
  @javascript
67
  @javascript
71
  Scenario: Student identities are revealed before releasing the grades.
68
  Scenario: Student identities are revealed before releasing the grades.
72
    When I click on "Grade actions" "actionmenu" in the "I'm the student's first submission" "table_row"
69
    When I click on "Grade" "link" in the "I'm the student's first submission" "table_row"
73
    And I choose "Grade" in the open action menu
70
    And I set the field "Marking workflow state" to "Ready for release"
74
    And I set the field "Marking workflow state" to "Ready for release"
71
    And I set the field "Notify student" to "0"
75
    And I set the field "Notify student" to "0"
72
    And I press "Save changes"
76
    And I press "Save changes"
73
    And I follow "View all submissions"
77
    And I follow "View all submissions"
-
 
78
    And I should see "Ready for release" in the "I'm the student's first submission" "table_row"
74
    And I should see "Ready for release" in the "I'm the student's first submission" "table_row"
79
    And I choose the "Reveal student identities" item in the "Actions" action menu
-
 
80
    And I press "Continue"
-
 
81
    And I change window size to "large"
75
    And I set the field "Grading action" to "Reveal student identities"
82
    And I click on "Grade actions" "actionmenu" in the "Student 1" "table_row"
76
    And I press "Continue"
83
    And I choose "Grade" in the open action menu
77
    And I click on "Grade" "link" in the "Student 1" "table_row"
84
    And I change window size to "medium"
78
    And I set the field "Marking workflow state" to "Released"
85
    And I set the field "Marking workflow state" to "Released"
79
    And I press "Save changes"
86
    And I press "Save changes"
Línea 92... Línea 99...
92
      | Override user | Student              |
99
      | Override user | Student              |
93
      | Due date      | ##2030-01-01 08:00## |
100
      | Due date      | ##2030-01-01 08:00## |
94
    And I press "Save"
101
    And I press "Save"
95
    And I should see "Tuesday, 1 January 2030, 8:00"
102
    And I should see "Tuesday, 1 January 2030, 8:00"
96
    And I am on the "Test assignment name" "assign activity" page
103
    And I am on the "Test assignment name" "assign activity" page
97
    And I follow "View all submissions"
104
    And I navigate to "Submissions" in current page administration
98
    And I should see "In review" in the "I'm the student's first submission" "table_row"
105
    And I should see "In review" in the "I'm the student's first submission" "table_row"