__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

root@216.73.217.122: ~ $
@block @block_activity_results
Feature: The activity results block doesn't display student scores for unsupported activity
  In order to be display student scores
  As a user
  I need to properly configure the activity results block

  Background:
    Given the following "users" exist:
      | username | firstname | lastname | email | idnumber |
      | teacher1 | Teacher | 1 | teacher1@example.com | T1 |
    And the following "courses" exist:
      | fullname | shortname | category |
      | Course 1 | C1 | 0 |
    And the following "course enrolments" exist:
      | user | course | role |
      | teacher1 | C1 | editingteacher |
    And I log in as "teacher1"
    And I am on "Course 1" course homepage with editing mode on

  Scenario: Try to configure the block to use an activity without grades
    Given the following "activities" exist:
      | activity   | name            | intro          | course | section | idnumber | assignsubmission_file_enabled |
      | assign     | Test assignment | Offline text   | C1     | 1       | assign1  | 0                             |
    And the following "blocks" exist:
      | blockname        | contextlevel | reference | pagetypepattern | defaultregion |
      | activity_results | Course       | C1        | course-view-*   | side-pre      |
    And I am on "Course 1" course homepage
    And I configure the "Activity results" block
    And I set the following fields to these values:
      | config_showbest | 1 |
      | config_showworst | 0 |
      | config_gradeformat | Percentages |
      | config_nameformat | Display full names |
    And I press "Save changes"
    When I am on the "Test assignment" "assign activity editing" page
    And I set the following fields to these values:
      | id_grade_modgrade_type | None |
    And I press "Save and return to course"
    Then I should see "Error: the activity selected uses a grading method that is not supported by this block." in the "Activity results" "block"

Filemanager

Name Type Size Permission Actions
addblockinactivity.feature File 4.55 KB 0644
addunconfiguredblock.feature File 2.64 KB 0644
addunsupportedactivity.feature File 1.94 KB 0644
defaultsettings.feature File 3.01 KB 0644
highscoreswithoutgroups.feature File 7.05 KB 0644
highscoreswithscales.feature File 5.23 KB 0644
highscoreswithscalesandgroups.feature File 6.71 KB 0644
highscoreswithseperategroups.feature File 9.51 KB 0644
highscoreswithvisiblegroups.feature File 7.74 KB 0644
lowscoreswithoutgroups.feature File 6.67 KB 0644
lowscoreswithscales.feature File 5.4 KB 0644
lowscoreswithscalesandgroups.feature File 6.59 KB 0644
lowscoreswithseperategroups.feature File 8.79 KB 0644
lowscoreswithvisiblegroups.feature File 7.61 KB 0644
Filemanager