mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
fdeeaff954
Also remove few more unnecessary steps that redirects behat to site home page to actually get to the course. Part of MDL-55611 epic.
26 lines
1.0 KiB
Gherkin
26 lines
1.0 KiB
Gherkin
@core @core_filepicker
|
|
Feature: Create folders in the file manager
|
|
In order to create a directory structure in a file area
|
|
As a user
|
|
I need to create folders and subfolders in a file area
|
|
|
|
@javascript @_bug_phantomjs
|
|
Scenario: Create folders and subfolders
|
|
Given the following "courses" exist:
|
|
| fullname | shortname | category |
|
|
| Course 1 | C1 | 0 |
|
|
And I log in as "admin"
|
|
And I am on "Course 1" course homepage with editing mode on
|
|
And I add a "Folder" to section "0"
|
|
And I set the following fields to these values:
|
|
| Name | Folder resource |
|
|
| Description | The description |
|
|
And I create "Folder 1" folder in "Files" filemanager
|
|
And I open "Folder 1" folder from "Files" filemanager
|
|
And I create "SubFolder 1" folder in "Files" filemanager
|
|
When I open "Files" folder from "Files" filemanager
|
|
Then I should see "Folder 1"
|
|
And I open "Folder 1" folder from "Files" filemanager
|
|
And I should see "SubFolder 1"
|
|
And I press "Save and return to course"
|