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 @javascript
2
Feature: In an assignment, the administrator can edit students' submissions
3
  In order to edit a student's submissions
4
  As an administrator
5
  I need to grade multiple students on one page
6
 
7
  Scenario: Editing a student's submission
8
    Given the following "courses" exist:
9
      | fullname | shortname | category | groupmode |
10
      | Course 1 | C1 | 0 | 1 |
11
    And the following "users" exist:
12
      | username | firstname | lastname | email |
13
      | student1 | Student | 1 | student1@example.com |
14
    And the following "course enrolments" exist:
15
      | user | course | role |
16
      | student1 | C1 | student |
17
    And the following "activity" exists:
18
      | activity                            | assign                  |
19
      | course                              | C1                      |
20
      | name                                | Test assignment name    |
21
      | intro                               | Submit your online text |
22
      | submissiondrafts                    | 0                       |
23
      | assignsubmission_onlinetext_enabled | 1                       |
24
    And the following "mod_assign > submissions" exist:
25
      | assign                | user      | onlinetext                   |
26
      | Test assignment name  | student1  | I'm the student1 submission  |
27
 
28
    And I am on the "Test assignment name" Activity page logged in as admin
1441 ariadna 29
    And I navigate to "Submissions" in current page administration
30
    And I change window size to "large"
1 efrain 31
    And I open the action menu in "Student 1" "table_row"
1441 ariadna 32
    And I change window size to "medium"
1 efrain 33
    And I choose "Edit submission" in the open action menu
34
    And I set the following fields to these values:
35
      | Online text | Have you seen the movie Chef? |
36
    And I press "Save changes"
37
    Then I should see "Have you seen the movie Chef?"
38
    And I open the action menu in "Student 1" "table_row"
39
    And I choose "Edit submission" in the open action menu
40
    And I set the following fields to these values:
41
      | Online text | I have seen the movie chef. |
42
    And I press "Save changes"
43
    Then I should see "I have seen the movie chef."