X7ROOT File Manager
Current Path:
/home/cbholdings/pasukulu/mod/scorm/tests/behat
home
/
cbholdings
/
pasukulu
/
mod
/
scorm
/
tests
/
behat
/
📁
..
📄
add_scorm.feature
(1.52 KB)
📄
completion_condition_require_status.feature
(6.78 KB)
📄
group_mode.feature
(3.65 KB)
📄
missing_org.feature
(1.44 KB)
📄
multisco_review_mode.feature
(12.51 KB)
📄
save_progress_on_unload.feature
(2.06 KB)
📄
scorm_activity_completion.feature
(7.16 KB)
📄
scorm_availability.feature
(2.61 KB)
📄
scorm_no_calendar_capabilities.feature
(1.71 KB)
Editing: group_mode.feature
@mod @mod_scorm Feature: Viewing scorm reports in separate and visible groups mode In order to view reports for large courses As a teacher I need to filter the users on the reports page by group 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 | | noneditor1 | NoneditorG1 | 1 | noneditor1@example.com | | noneditor2 | NoneditorNone | 2 | noneditor2@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 | | noneditor1 | C1 | teacher | | noneditor2 | C1 | teacher | | user1 | C1 | student | | user2 | C1 | student | | user3 | C1 | student | | user4 | C1 | student | And the following "group members" exist: | user | group | | teacher1 | G1 | | noneditor1 | G1 | | user1 | G1 | | user2 | G2 | | user4 | G3 | And the following "activities" exist: | activity | course | name | packagefilepath | forcenewattempt | idnumber | groupmode | | scorm | C1 | Separate scorm | mod/scorm/tests/packages/singlescobasic.zip | 0 | scorm1 | 1 | | scorm | C1 | Visible scorm | mod/scorm/tests/packages/singlescobasic.zip | 0 | scorm2 | 2 | Scenario Outline: Editing teachers should see all groups on the Reports page. Non-editing teachers should see just their own groups in Separate groups mode, all groups in Visible groups mode. Given I am on the "<scorm>" "scorm activity" page logged in as "<user>" And I navigate to "Reports" in current page administration Then I <all> see "All participants" And I <G1> see "Group 1" And I <G2> see "Group 2" And I should not see "Group 3" And I <user1> see "User1G1" And I <user2> see "User2G2" And I <user3> see "User3None" And I <user4> see "User4NPgroup" Examples: | scorm | user | all | G1 | G2 | user1 | user2 | user3 | user4 | | scorm1 | teacher1 | should | should | should | should | should | should | should | | scorm1 | noneditor1 | should not | should | should not | should | should not | should not | should not | | scorm1 | noneditor2 | should | should not | should not | should | should | should | should | | scorm2 | teacher1 | should | should | should | should | should | should | should | | scorm2 | noneditor1 | should | should | should | should | should not | should not | should not | | scorm2 | noneditor2 | should | should | should | should | should not | should not | should not |
Upload File
Create Folder