[ Index ] |
PHP Cross Reference of Unnamed Project |
[Summary view] [Print] [Text view]
1 @core @core_grades 2 Feature: We can customise the letter boundary of a course. 3 In order to change the letter boundary of a course 4 As a teacher 5 I need to add assessments to the gradebook. 6 7 @javascript 8 Scenario: I edit the letter boundaries of a course and grade a student. 9 Given the following "courses" exist: 10 | fullname | shortname | category | 11 | Course 1 | C1 | 0 | 12 And the following "users" exist: 13 | username | firstname | lastname | email | idnumber | alternatename | 14 | teacher1 | Teacher | 1 | teacher1@example.com | t1 | Terry | 15 | student1 | Student | 1 | student1@example.com | s1 | Sally | 16 And the following "course enrolments" exist: 17 | user | course | role | 18 | teacher1 | C1 | editingteacher | 19 | student1 | C1 | student | 20 And the following "activities" exist: 21 | activity | course | idnumber | name | intro | grade | 22 | assign | C1 | a1 | Test assignment one | Submit something! | 100 | 23 And I log in as "teacher1" 24 And I follow "Course 1" 25 And I navigate to "Grades" node in "Course administration" 26 And I select "Course grade settings" from the "Grade report" singleselect 27 And I set the following fields to these values: 28 | Grade display type | Letter | 29 And I press "Save changes" 30 And I navigate to "Letters" node in "Grade administration" 31 And I follow "Edit grade letters" 32 And I set the following fields to these values: 33 | id_override | 1 | 34 | id_gradeboundary10 | 57 | 35 And I press "Save changes" 36 And I select "Grader report" from the "Grade report" singleselect 37 And I press "Turn editing on" 38 And I give the grade "57" to the user "Student 1" for the grade item "Test assignment one" 39 And I press "Save changes" 40 And I press "Turn editing off" 41 Then the following should exist in the "user-grades" table: 42 | -1- | -4- | -5- | 43 | Student 1 | D | D |
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Thu Aug 11 10:00:09 2016 | Cross-referenced by PHPXref 0.7.1 |