@core @core_filepicker Feature: Zip folders and unzip compressed files In order to download or add contents to file areas easily As a user I need to zip and unzip folders and files @javascript @_bug_phantomjs Scenario: Zip and unzip folders and files Given the following "courses" exist: | fullname | shortname | category | | Course 1 | C1 | 0 | And I log in as "admin" And I am on site homepage And I follow "Course 1" And I turn 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 And I open "Files" folder from "Files" filemanager And I zip "Folder 1" folder from "Files" filemanager And I delete "Folder 1" from "Files" filemanager When I unzip "Folder 1.zip" file from "Files" filemanager And I delete "Folder 1.zip" 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"