"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "grade/report/history/tests/behat/basic_functionality.feature" between
moodle-3.6.5.tgz and moodle-3.6.6.tgz

About: moodle is a learning management system for producing Internet-based course Web sites. Latest 3.6 release.

basic_functionality.feature  (moodle-3.6.5.tgz):basic_functionality.feature  (moodle-3.6.6.tgz)
skipping to change at line 80 skipping to change at line 80
| Student 1 | The greatest assignment ever | | 50 .00 | Teacher 1 | | Student 1 | The greatest assignment ever | | 50 .00 | Teacher 1 |
| Student 1 | Rewarding assignment | | 60 .00 | Teacher 1 | | Student 1 | Rewarding assignment | | 60 .00 | Teacher 1 |
| Student 1 | The greatest assignment ever | 50.00 | 70 .00 | Teacher 2 | | Student 1 | The greatest assignment ever | 50.00 | 70 .00 | Teacher 2 |
| Student 1 | Rewarding assignment | 60.00 | 80 .00 | Teacher 2 | | Student 1 | Rewarding assignment | 60.00 | 80 .00 | Teacher 2 |
And the following should not exist in the "gradereport_history" table: And the following should not exist in the "gradereport_history" table:
| Student 2 | The greatest assignment ever | | 50 .00 | Teacher 1 | | Student 2 | The greatest assignment ever | | 50 .00 | Teacher 1 |
| Student 2 | Rewarding assignment | | 60 .00 | Teacher 1 | | Student 2 | Rewarding assignment | | 60 .00 | Teacher 1 |
| Student 2 | The greatest assignment ever | 50.00 | 70 .00 | Teacher 2 | | Student 2 | The greatest assignment ever | 50.00 | 70 .00 | Teacher 2 |
| Student 2 | Rewarding assignment | 60.00 | 80 .00 | Teacher 2 | | Student 2 | Rewarding assignment | 60.00 | 80 .00 | Teacher 2 |
# Test filtering by assignment. # Test filtering by assignment.
And I click on "The greatest assignment ever" "option" in the "#id_itemid" " css_element" And I set the field "Grade item" to "The greatest assignment ever"
And I press "Submit" And I press "Submit"
And the following should exist in the "gradereport_history" table: And the following should exist in the "gradereport_history" table:
| First name/Surname | Grade item | Original grade | Re vised grade | Grader | | First name/Surname | Grade item | Original grade | Re vised grade | Grader |
| Student 1 | The greatest assignment ever | | 50 .00 | Teacher 1 | | Student 1 | The greatest assignment ever | | 50 .00 | Teacher 1 |
| Student 1 | The greatest assignment ever | 50.00 | 70 .00 | Teacher 2 | | Student 1 | The greatest assignment ever | 50.00 | 70 .00 | Teacher 2 |
And the following should not exist in the "gradereport_history" table: And the following should not exist in the "gradereport_history" table:
| Student 1 | Rewarding assignment | | 60 .00 | Teacher 1 | | Student 1 | Rewarding assignment | | 60 .00 | Teacher 1 |
| Student 1 | Rewarding assignment | 60.00 | 80 .00 | Teacher 2 | | Student 1 | Rewarding assignment | 60.00 | 80 .00 | Teacher 2 |
# Test filtering by grader. # Test filtering by grader.
And I click on "Teacher 1" "option" in the "#id_grader" "css_element" And I set the field "Grader" to "Teacher 1"
And I press "Submit" And I press "Submit"
And the following should exist in the "gradereport_history" table: And the following should exist in the "gradereport_history" table:
| First name/Surname | Grade item | Original grade | Re vised grade | Grader | | First name/Surname | Grade item | Original grade | Re vised grade | Grader |
| Student 1 | The greatest assignment ever | | 50 .00 | Teacher 1 | | Student 1 | The greatest assignment ever | | 50 .00 | Teacher 1 |
And the following should not exist in the "gradereport_history" table: And the following should not exist in the "gradereport_history" table:
| Student 1 | The greatest assignment ever | 50.00 | 70 .00 | Teacher 2 | | Student 1 | The greatest assignment ever | 50.00 | 70 .00 | Teacher 2 |
# Test filtering by revised grades. # Test filtering by revised grades.
And I click on "id_revisedonly" "checkbox" And I click on "id_revisedonly" "checkbox"
And I press "Submit" And I press "Submit"
And the following should exist in the "gradereport_history" table: And the following should exist in the "gradereport_history" table:
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)