[ Index ] |
PHP Cross Reference of Unnamed Project |
[Summary view] [Print] [Text view]
1 @block @block_activity_results 2 Feature: The activity results block displays student scores 3 In order to be display student scores 4 As a user 5 I need to properly configure the activity results block 6 7 Background: 8 Given the following "users" exist: 9 | username | firstname | lastname | email | idnumber | 10 | teacher1 | Teacher | 1 | teacher1@example.com | T1 | 11 And the following "courses" exist: 12 | fullname | shortname | category | 13 | Course 1 | C1 | 0 | 14 And the following "course enrolments" exist: 15 | user | course | role | 16 | teacher1 | C1 | editingteacher | 17 And I log in as "teacher1" 18 And I follow "Course 1" 19 And I turn editing mode on 20 21 Scenario: Try to configure the block to use an activity without grades 22 Given I add a "Assignment" to section "1" and I fill the form with: 23 | Assignment name | Test assignment | 24 | Description | Offline text | 25 | assignsubmission_file_enabled | 0 | 26 And I follow "C1" 27 And I add the "Activity results" block 28 And I configure the "Activity results" block 29 And I set the following fields to these values: 30 | id_config_showbest | 1 | 31 | id_config_showworst | 0 | 32 | id_config_gradeformat | Percentages | 33 | id_config_nameformat | Display full names | 34 And I press "Save changes" 35 When I follow "Test assignment" 36 And I click on "Edit settings" "link" in the "Administration" "block" 37 And I set the following fields to these values: 38 | id_grade_modgrade_type | None | 39 And I press "Save and return to course" 40 Then I should see "Error: the activity selected uses a grading method that is not supported by this block." in the "Activity results" "block"
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 |