Skip to content

Commit

Permalink
Merge branch 'MDL-38815_master' of git://github.com/dmonllao/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
stronk7 committed Apr 3, 2013
2 parents 7191a59 + 693969b commit 2a5e0d6
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions repository/tests/behat/delete_files.feature
@@ -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"

0 comments on commit 2a5e0d6

Please sign in to comment.