1 |
efrain |
1 |
@mod @mod_imscp @javascript @_file_upload
|
|
|
2 |
Feature: Create an IMSCP activity through UI
|
|
|
3 |
In order to confirm that IMSCP activity creation via UI works correctly
|
|
|
4 |
|
|
|
5 |
Background:
|
|
|
6 |
Given the following "courses" exist:
|
|
|
7 |
| fullname | shortname | format |
|
|
|
8 |
| Course 1 | C1 | topics |
|
|
|
9 |
|
|
|
10 |
Scenario: IMS activity is created using UI
|
|
|
11 |
Given I log in as "admin"
|
|
|
12 |
And I add a imscp activity to course "Course 1" section "1"
|
|
|
13 |
And I set the following fields to these values:
|
|
|
14 |
| Name | Test IMS content package 2 |
|
|
|
15 |
| Description | Test IMS content package description |
|
|
|
16 |
And I upload "mod/imscp/tests/packages/singlescobasic.zip" file to "Package file" filemanager
|
|
|
17 |
When I press "Save and return to course"
|
|
|
18 |
Then I should see "Test IMS content package 2"
|