Proyectos de Subversion Moodle

Rev

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

Rev 11 Rev 1441
Línea 16... Línea 16...
16
      | teacher1 | C1     | editingteacher |
16
      | teacher1 | C1     | editingteacher |
17
    And the following "activities" exist:
17
    And the following "activities" exist:
18
      | activity | course | name     | advancedgradingmethod_submissions |
18
      | activity | course | name     | advancedgradingmethod_submissions |
19
      | assign   | C1     | Assign 1 | guide                             |
19
      | assign   | C1     | Assign 1 | guide                             |
Línea 20... Línea 20...
20
 
20
 
21
  Scenario: Marking guide state can be changed to draft
21
  Scenario Outline: Marking guide state can be changed
22
    Given I am on the "Course 1" course page logged in as teacher1
22
    Given I am on the "Course 1" course page logged in as teacher1
23
    And I go to "Assign 1" advanced grading definition page
23
    And I go to "Assign 1" advanced grading definition page
24
    And I set the following fields to these values:
24
    And I set the following fields to these values:
25
      | Name                                 | Assign 1 marking guide    |
25
      | Name                                 | Assign 1 marking guide    |
26
      | Description                          | Marking guide description |
26
      | Description                          | Marking guide description |
27
    And I define the following marking guide:
27
    And I define the following marking guide:
28
      | Criterion name    | Description for students         | Description for markers         | Maximum score |
28
      | Criterion name    | Description for students         | Description for markers         | Maximum score |
29
      | Grade Criteria 1  | Grade 1 description for students | Grade 1 description for markers | 70            |
29
      | Grade Criteria 1  | Grade 1 description for students | Grade 1 description for markers | 70            |
30
      | Grade Criteria 2  | Grade 2 description for students | Grade 2 description for markers | 30            |
30
      | Grade Criteria 2  | Grade 2 description for students | Grade 2 description for markers | 30            |
31
    And I press "Save marking guide and make it ready"
31
    When I press "<buttonname>"
32
    And I should not see "Please note: the advanced grading form is not ready at the moment. Simple grading method will be used until the form has a valid status."
32
    Then I <drafttextvisibility> see "Please note: the advanced grading form is not ready at the moment. Simple grading method will be used until the form has a valid status."
33
    And I should not see "Assign 1 marking guide Draft"
33
    And I <drafttextvisibility> see "Assign 1 marking guide Draft"
34
    And I should see "Assign 1 marking guide Ready for use"
-
 
-
 
34
    And I <readytextvisibility> see "Assign 1 marking guide Ready for use"
35
    And I click on "Edit the current form definition" "link"
35
 
36
    When I press "Save as draft"
36
    Examples:
37
    Then I should see "Please note: the advanced grading form is not ready at the moment. Simple grading method will be used until the form has a valid status."
37
      | buttonname                           | drafttextvisibility | readytextvisibility |
38
    And I should see "Assign 1 marking guide Draft"
38
      | Save marking guide and make it ready | should not          | should              |