__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
@mod @mod_scorm @_file_upload @_switch_iframe
Feature: Check a SCORM package with missing Organisational structure.
@javascript
Scenario: Add a scorm activity to a course
Given the following "users" exist:
| username | firstname | lastname | email |
| teacher1 | Teacher | 1 | teacher1@example.com |
| student1 | Student | 1 | student1@example.com |
And the following "courses" exist:
| fullname | shortname | category |
| Course 1 | C1 | 0 |
And the following "course enrolments" exist:
| user | course | role |
| teacher1 | C1 | editingteacher |
| student1 | C1 | student |
When I log in as "teacher1"
And I add a scorm activity to course "Course 1" section "1"
And I set the following fields to these values:
| Name | MissingOrg SCORM package |
| Description | Description |
| ID number | Missingorg |
And I upload "mod/scorm/tests/packages/singlescobasic_missingorg.zip" file to "Package file" filemanager
And I click on "Save and display" "button"
Then I should see "MissingOrg SCORM package"
And I should see "Enter"
And I should see "Preview"
And I log out
And I am on the "Missingorg" Activity page logged in as student1
And I should see "Enter"
And I press "Enter"
And I switch to "scorm_object" iframe
And I switch to "contentFrame" iframe
And I should see "Play of the game"
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| add_scorm.feature | File | 1.47 KB | 0777 |
|
| completion_condition_require_status.feature | File | 6.71 KB | 0777 |
|
| default_completion.feature | File | 5.91 KB | 0777 |
|
| group_mode.feature | File | 3.65 KB | 0777 |
|
| missing_org.feature | File | 1.4 KB | 0777 |
|
| multisco_review_mode.feature | File | 12.51 KB | 0777 |
|
| save_progress_on_unload.feature | File | 2.06 KB | 0777 |
|
| scorm_activity_completion.feature | File | 8.5 KB | 0777 |
|
| scorm_availability.feature | File | 2.61 KB | 0777 |
|
| scorm_display_options.feature | File | 3.07 KB | 0777 |
|
| scorm_no_calendar_capabilities.feature | File | 1.71 KB | 0777 |
|