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
@mod @mod_assign
2
Feature: Assignments correctly add feedback to the grade report when workflow and blind marking are enabled.
3
  In order to give students feedback when blind marking
4
  As a teacher
5
  I should be able to reveal student identities at any time and have my feedback show
6
  to the student in the gradebook when the grades are in a released state.
7
 
8
  Background:
9
    Given the following "courses" exist:
10
      | fullname | shortname | category | groupmode |
11
      | Course 1 | C1 | 0 | 1 |
12
    And the following "users" exist:
13
      | username | firstname | lastname | email |
14
      | teacher1 | Teacher | 1 | teacher1@example.com |
15
      | student1 | Student | 1 | student1@example.com |
16
    And the following "course enrolments" exist:
17
      | user | course | role |
18
      | teacher1 | C1 | editingteacher |
19
      | student1 | C1 | student |
20
    And the following "activity" exists:
21
      | activity                            | assign                      |
22
      | course                              | C1                          |
23
      | name                                | Test assignment name        |
24
      | submissiondrafts                    | 0                           |
25
      | assignsubmission_onlinetext_enabled | 1                           |
26
      | assignsubmission_file_enabled       | 0                           |
27
      | assignfeedback_comments_enabled     | 1                           |
28
      | teamsubmission                      | 1                           |
29
      | markingworkflow                     | 1                           |
30
      | blindmarking                        | 1                           |
31
    And the following "mod_assign > submissions" exist:
32
      | assign                | user      | onlinetext                          |
33
      | Test assignment name  | student1  | I'm the student's first submission  |
34
 
35
    # Mark the submission.
36
    And I am on the "Test assignment name" Activity page logged in as teacher1
1441 ariadna 37
    And I navigate to "Submissions" in current page administration
1 efrain 38
    And I should see "Not marked" in the "I'm the student's first submission" "table_row"
1441 ariadna 39
    And I click on "Grade actions" "actionmenu" in the "I'm the student's first submission" "table_row"
40
    And I choose "Grade" in the open action menu
1 efrain 41
    And I set the field "Grade out of 100" to "50"
42
    And I set the field "Marking workflow state" to "In review"
43
    And I set the field "Feedback comments" to "Great job! Lol, not really."
44
    And I set the field "Notify student" to "0"
45
    And I press "Save changes"
46
    And I follow "View all submissions"
47
    And I should see "In review" in the "I'm the student's first submission" "table_row"
48
 
49
  @javascript
50
  Scenario: Student identities are revealed after releasing the grades.
1441 ariadna 51
    When I click on "Grade actions" "actionmenu" in the "I'm the student's first submission" "table_row"
52
    And I choose "Grade" in the open action menu
1 efrain 53
    And I set the field "Marking workflow state" to "Ready for release"
54
    And I set the field "Notify student" to "0"
55
    And I press "Save changes"
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"
1441 ariadna 58
    And I click on "Grade actions" "actionmenu" in the "I'm the student's first submission" "table_row"
59
    And I choose "Grade" in the open action menu
1 efrain 60
    And I set the field "Marking workflow state" to "Released"
61
    And I press "Save changes"
62
    And I follow "View all submissions"
63
    And I should see "Released" in the "I'm the student's first submission" "table_row"
1441 ariadna 64
    And I choose the "Reveal student identities" item in the "Actions" action menu
1 efrain 65
    And I press "Continue"
66
    And I am on the "Course 1" "grades > User report > View" page logged in as "student1"
67
    Then I should see "50"
68
    And I should see "Great job! Lol, not really."
69
 
70
  @javascript
71
  Scenario: Student identities are revealed before releasing the grades.
1441 ariadna 72
    When I click on "Grade actions" "actionmenu" in the "I'm the student's first submission" "table_row"
73
    And I choose "Grade" in the open action menu
1 efrain 74
    And I set the field "Marking workflow state" to "Ready for release"
75
    And I set the field "Notify student" to "0"
76
    And I press "Save changes"
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"
1441 ariadna 79
    And I choose the "Reveal student identities" item in the "Actions" action menu
1 efrain 80
    And I press "Continue"
1441 ariadna 81
    And I change window size to "large"
82
    And I click on "Grade actions" "actionmenu" in the "Student 1" "table_row"
83
    And I choose "Grade" in the open action menu
84
    And I change window size to "medium"
1 efrain 85
    And I set the field "Marking workflow state" to "Released"
86
    And I press "Save changes"
87
    And I follow "View all submissions"
88
    And I should see "Released" in the "Student 1" "table_row"
89
    And I am on the "Course 1" "grades > User report > View" page logged in as "student1"
90
    Then I should see "50"
91
    And I should see "Great job! Lol, not really."
92
 
93
  @javascript
94
  Scenario: Submissions table visible with overrides and blind marking
95
    When I am on the "Test assignment name" "assign activity" page
96
    And I navigate to "Overrides" in current page administration
97
    And I press "Add user override"
98
    And I set the following fields to these values:
99
      | Override user | Student              |
100
      | Due date      | ##2030-01-01 08:00## |
101
    And I press "Save"
102
    And I should see "Tuesday, 1 January 2030, 8:00"
103
    And I am on the "Test assignment name" "assign activity" page
1441 ariadna 104
    And I navigate to "Submissions" in current page administration
1 efrain 105
    And I should see "In review" in the "I'm the student's first submission" "table_row"