1 |
efrain |
1 |
@core @core_filepicker
|
|
|
2 |
Feature: Create folders in the file manager
|
|
|
3 |
In order to create a directory structure in a file area
|
|
|
4 |
As a user
|
|
|
5 |
I need to create folders and subfolders in a file area
|
|
|
6 |
|
|
|
7 |
@javascript @_bug_phantomjs
|
|
|
8 |
Scenario: Create folders and subfolders
|
|
|
9 |
Given the following "courses" exist:
|
|
|
10 |
| fullname | shortname | category |
|
|
|
11 |
| Course 1 | C1 | 0 |
|
|
|
12 |
And I log in as "admin"
|
|
|
13 |
And I add a folder activity to course "Course 1" section "0"
|
|
|
14 |
And I set the following fields to these values:
|
|
|
15 |
| Name | Folder resource |
|
|
|
16 |
| Description | The description |
|
|
|
17 |
And I create "Folder 1" folder in "Files" filemanager
|
|
|
18 |
And I open "Folder 1" folder from "Files" filemanager
|
|
|
19 |
And I create "SubFolder 1" folder in "Files" filemanager
|
|
|
20 |
When I open "Files" folder from "Files" filemanager
|
|
|
21 |
Then I should see "Folder 1"
|
|
|
22 |
And I open "Folder 1" folder from "Files" filemanager
|
|
|
23 |
And I should see "SubFolder 1"
|
|
|
24 |
And I press "Save and return to course"
|