[ Index ] |
PHP Cross Reference of Unnamed Project |
[Summary view] [Print] [Text view]
1 @mod @mod_scorm @_file_upload @_switch_frame 2 Feature: Add scorm activity 3 In order to let students access a scorm package 4 As a teacher 5 I need to add scorm activity to a course 6 7 @javascript 8 Scenario: Add a scorm activity to a course 9 Given the following "users" exist: 10 | username | firstname | lastname | email | 11 | teacher1 | Teacher | 1 | teacher1@example.com | 12 | student1 | Student | 1 | student1@example.com | 13 And the following "courses" exist: 14 | fullname | shortname | category | 15 | Course 1 | C1 | 0 | 16 And the following "course enrolments" exist: 17 | user | course | role | 18 | teacher1 | C1 | editingteacher | 19 | student1 | C1 | student | 20 When I log in as "teacher1" 21 And I follow "Course 1" 22 And I turn editing mode on 23 And I add a "SCORM package" to section "1" 24 And I set the following fields to these values: 25 | Name | Awesome SCORM package | 26 | Description | Description | 27 And I upload "mod/scorm/tests/packages/singlesco_scorm12.zip" file to "Package file" filemanager 28 And I click on "Save and display" "button" 29 Then I should see "Awesome SCORM package" 30 And I should see "Normal" 31 And I should see "Preview" 32 And I log out 33 And I log in as "student1" 34 And I follow "Course 1" 35 And I follow "Awesome SCORM package" 36 And I should see "Normal" 37 And I press "Enter" 38 And I switch to "scorm_object" iframe 39 And I should see "Not implemented yet" 40 And I switch to the main frame 41 And I follow "Course 1"
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Thu Aug 11 10:00:09 2016 | Cross-referenced by PHPXref 0.7.1 |