-
Notifications
You must be signed in to change notification settings - Fork 158
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
delete multiple resources from trashbin
- Loading branch information
1 parent
01bc6d0
commit ae5b184
Showing
7 changed files
with
114 additions
and
30 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
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
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,40 @@ | ||
Feature: Trashbin delete | ||
As a user | ||
I want to delete files and folders from the trashbin | ||
So that I can control my trashbin space and which files are kept in that space | ||
|
||
|
||
Scenario: delete files and folders from trashbin | ||
Given "Admin" logs in | ||
And "Admin" creates following user using API | ||
| id | | ||
| Alice | | ||
And "Alice" logs in | ||
And "Alice" creates the following resources | ||
| resource | type | | ||
| FOLDER | folder | | ||
| PARENT/CHILD | folder | | ||
And "Alice" uploads the following resources | ||
| resource | to | | ||
| new-lorem.txt | FOLDER | | ||
| PARENT/parent.txt | PARENT | | ||
| PARENT/simple.pdf | PARENT | | ||
| PARENT/CHILD/child.txt | PARENT/CHILD | | ||
| data.tar.gz | | | ||
| lorem.txt | | | ||
| lorem-big.txt | | | ||
And "Alice" opens the "files" app | ||
And "Alice" deletes the following resources using the batch action | ||
| resource | | ||
| FOLDER | | ||
| PARENT | | ||
| data.tar.gz | | ||
| lorem.txt | | ||
| lorem-big.txt | | ||
And "Alice" navigates to the trashbin | ||
When "Alice" deletes the following resources from trashbin using the batch action | ||
| resource | | ||
| lorem.txt | | ||
| PARENT | | ||
And "Alice" empties the trashbin | ||
And "Alice" logs out |
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
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
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
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