Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 1
@gradingform @gradingform_rubric
2
Feature: Reuse my rubrics in other activities
3
  In order to save time creating duplicated grading forms
4
  As a teacher
5
  I need to reuse rubrics that I created previously
6
 
7
  Background:
8
    Given the following "users" exist:
9
      | username | firstname | lastname | email |
10
      | teacher1 | Teacher | 1 | teacher1@example.com |
11
    And the following "courses" exist:
12
      | fullname | shortname | format |
13
      | Course 1 | C1 | topics |
14
    And the following "course enrolments" exist:
15
      | user | course | role |
16
      | teacher1 | C1 | editingteacher |
17
    And the following "activities" exist:
18
      | activity   | name                      | intro                           | course | section | idnumber |
19
      | assign     | Test assignment 1 name    | Test assignment 1 description   | C1     | 1       | assign1  |
20
      | assign     | Test assignment 2 name    | Test assignment 2 description   | C1     | 1       | assign1  |
21
    And I am on the "Test assignment 1 name" "assign activity editing" page logged in as teacher1
22
    And I set the following fields to these values:
23
      | Grading method | Rubric |
24
    And I press "Save and return to course"
25
    And I go to "Test assignment 1 name" advanced grading definition page
26
    And I set the following fields to these values:
27
      | Name | Assignment 1 rubric |
28
      | Description | Assignment 1 description |
29
    And I define the following rubric:
30
      | Criterion 1 | Level 11 | 11 | Level 12 | 12 | Level 3 | 13 |
31
      | Criterion 2 | Level 21 | 21 | Level 22 | 22 | Level 3 | 23 |
32
      | Criterion 3 | Level 31 | 31 | Level 32 | 32 |         |    |
33
    And I press "Save rubric and make it ready"
34
    And I am on the "Test assignment 2 name" "assign activity editing" page
35
    And I set the following fields to these values:
36
      | Grading method | Rubric |
37
    And I press "Save and return to course"
38
    And I set "Test assignment 2 name" activity to use "Assignment 1 rubric" grading form
39
    Then I should see "Ready for use"
40
    And I should see "Criterion 1"
41
    And I should see "Criterion 2"
42
    And I should see "Criterion 3"
43
    And I am on "Course 1" course homepage
44
    And I go to "Test assignment 1 name" advanced grading definition page
45
    And I should see "Criterion 1"
46
    And I should see "Criterion 2"
47
    And I should see "Criterion 3"
48
 
49
  @javascript
50
  Scenario: A teacher can reuse one of his/her previously created rubrics, with Javascript enabled
51
 
52
  Scenario: A teacher can reuse one of his/her previously created rubrics, with Javascript disabled