Ignore:
Timestamp:
May 2, 2016, 12:09:23 PM (3 years ago)
Author:
jrpelegrina
Message:

Updated to moodle 3.0.3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • moodle/trunk/fuentes/grade/tests/behat/grade_single_item_scales.feature

    r136 r1331  
    2222    And the following "users" exist:
    2323      | username | firstname | lastname | email            | idnumber |
    24       | teacher1 | Teacher   | 1        | teacher1@asd.com | t1       |
    25       | student1 | Student   | 1        | student1@asd.com | s1       |
    26       | student2 | Student   | 2        | student2@asd.com | s2       |
     24      | teacher1 | Teacher   | 1        | teacher1@example.com | t1       |
     25      | student1 | Student   | 1        | student1@example.com | s1       |
     26      | student2 | Student   | 2        | student2@example.com | s2       |
    2727    And the following "course enrolments" exist:
    2828      | user     | course | role           |
     
    4949    And I press "Save changes"
    5050    And I follow "Course 1"
    51     And I follow "Grades"
     51    And I navigate to "Grades" node in "Course administration"
    5252    And I navigate to "Course grade settings" node in "Grade administration > Setup"
    5353    And I set the field "Show weightings" to "Show"
     
    7272      | Grade item          | Grade | Range     | Contribution to course total |
    7373      | Test assignment one | Ace!  | Ace!–Ace! | 100.00 %                     |
    74       | Sub category 1 total      | 1.00  | 0–1       | -                            |
     74      | Sub category 1 total| 1.00  | 0–1       | -                            |
    7575      | Course total        | 1.00  | 0–1       | -                            |
    7676    And I set the field "Select all or one user" to "Student 2"
     
    7878      | Grade item          | Grade | Range     | Contribution to course total |
    7979      | Test assignment one | -     | Ace!–Ace! | -                            |
    80       | Sub category 1 total      | -     | 0–1       | -                            |
     80      | Sub category 1 total| -     | 0–1       | -                            |
    8181      | Course total        | -     | 0–1       | -                            |
    82     And I set the field "jump" to "Categories and items"
     82    And I set the field "jump" to "Gradebook setup"
    8383    And the following should exist in the "grade_edit_tree_table" table:
    8484      | Name                | Max grade |
    8585      | Test assignment one | 1.00      |
    86       | Sub category 1 total      | 1.00      |
     86      | Sub category 1 total| 1.00      |
    8787      | Course total        | 1.00      |
    8888
     
    112112    And I click on "Select all or one user" "select"
    113113    And the following should exist in the "user-grade" table:
    114       | Grade item                        | Grade          | Range       | Contribution to course total |
    115       | Test assignment one               | Ace!           | Ace!–Ace!   | <contrib1>                   |
    116       | Sub category (<aggregation>) total<aggregation>.      | <cattotal1>    | 0–100       | -                            |
    117       | Course total<aggregation>.        | <coursetotal1> | 0–100       | -                            |
    118     And I set the field "jump" to "Categories and items"
     114      | Grade item                                       | Grade          | Range       | Contribution to course total |
     115      | Test assignment one                              | Ace!           | Ace!–Ace!   | <contrib1>                   |
     116      | Sub category (<aggregation>) total<aggregation>. | <cattotal1>    | 0–100       | -                            |
     117      | Course total<aggregation>.                       | <coursetotal1> | 0–100       | -                            |
     118    And I set the field "jump" to "Gradebook setup"
    119119    And the following should exist in the "grade_edit_tree_table" table:
    120120      | Name                         | Max grade |
     
    126126      | aggregation                         | contrib1 | cattotal1 | coursetotal1 | catavg | overallavg |
    127127      | Mean of grades                      | 100.00 % | 100.00    | 100.00       | 100.00 | 100.00     |
    128       | Weighted mean of grades             | 0.00 %   | 100.00    | -            | 100.00 | -          |
     128      | Weighted mean of grades             | 0.00 %   | 100.00    | 100.00       | 100.00 | 100.00     |
    129129      | Simple weighted mean of grades      | 0.00 %   | -         | -            | -      | -          |
    130130      | Mean of grades (with extra credits) | 100.00 % | 100.00    | 100.00       | 100.00 | 100.00     |
Note: See TracChangeset for help on using the changeset viewer.