mirrored from git://git.moodle.org/moodle.git
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'MDL-38815_master' of git://github.com/dmonllao/moodle
- Loading branch information
Showing
1 changed file
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
@filepicker @_only_local | ||
Feature: Delete files and folders from the file manager | ||
In order to clean the file manager contents | ||
As a moodle user | ||
I need to delete files from file areas | ||
|
||
@javascript | ||
Scenario: Delete a file and a folder | ||
Given I log in as "admin" | ||
And I expand "My profile" node | ||
And I follow "My private files" | ||
And I upload "lib/tests/fixtures/empty.txt" file to "Files" filepicker | ||
And I create "Delete me" folder in "Files" filepicker | ||
And I press "Save changes" | ||
When I delete "empty.txt" from "Files" filepicker | ||
Then I should not see "empty.txt" | ||
And I delete "Delete me" from "Files" filepicker | ||
And I should not see "Delete me" | ||
And I press "Cancel" |