__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ 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: ~ $
@mod @mod_quiz @quiz @quiz_overview
Feature: Grades report for a quiz with multiple grade items
  In to get an overview of quiz attempt grade
  As a teacher
  I need the Grades report to show all grade items

  Background:
    Given the following "users" exist:
      | username | firstname | lastname  |
      | student  | Lorna     | Lott      |
      | teacher  | Mark      | Allwright |
    And the following "courses" exist:
      | fullname | shortname |
      | Course 1 | C1        |
    And the following "course enrolments" exist:
      | user    | course | role    |
      | student | C1     | student |
      | teacher | C1     | teacher |
    And the following "question categories" exist:
      | contextlevel | reference | name           |
      | Course       | C1        | Test questions |
    And the following "activities" exist:
      | activity | name      | course |
      | quiz     | Test quiz | C1     |

  @javascript
  Scenario: Quiz grades report with multiple grade items
    Given the following "questions" exist:
      | questioncategory | qtype     | name      | questiontext       |
      | Test questions   | truefalse | Reading   | Can you read this? |
      | Test questions   | truefalse | Listening | Can you hear this? |
    And the following "mod_quiz > grade items" exist:
      | quiz   | name      |
      | Test quiz | Reading   |
      | Test quiz | Listening |
    And quiz "Test quiz" contains the following questions:
      | question  | page | grade item |
      | Reading   | 1    | Reading    |
      | Listening | 1    | Listening  |
    And user "student" has attempted "Test quiz" with responses:
      | slot | response |
      |   1  | True     |
      |   2  | False    |

    When I am on the "Test quiz" "mod_quiz > Grades report" page logged in as teacher

    Then "Lorna LottReview attempt" row "Grade/100.00Sort by Grade/100.00 Ascending" column of "attempts" table should contain "50.00"
    And "Lorna LottReview attempt" row "Q. 1/50.00Sort by Q. 1/50.00 Ascending" column of "attempts" table should contain "0.00"
    And "Lorna LottReview attempt" row "Q. 2/50.00Sort by Q. 2/50.00 Ascending" column of "attempts" table should contain "0.00"
    And "Lorna LottReview attempt" row "Reading/1.00Sort by Reading/1.00 Ascending" column of "attempts" table should contain "1.00"
    And "Lorna LottReview attempt" row "Listening/1.00Sort by Listening/1.00 Ascending" column of "attempts" table should contain "0.00"
    And I follow "Reading/1.00Sort by Reading/1.00 Ascending"
    # Main thing to check here is that sorting does not give a fatal error
    And "Lorna LottReview attempt" row "Listening/1.00Sort by Listening/1.00 Ascending" column of "attempts" table should contain "0.00"

Filemanager

Name Type Size Permission Actions
basic.feature File 5.17 KB 0777
multiple_grade_items.feature File 2.69 KB 0777
regrading.feature File 17.5 KB 0777
regrading_not_possible.feature File 2.58 KB 0777
reopen_attempt.feature File 2.38 KB 0777
Filemanager