-
Notifications
You must be signed in to change notification settings - Fork 187
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
da2f8b2
commit d668d38
Showing
3 changed files
with
107 additions
and
0 deletions.
There are no files selected for viewing
27 changes: 27 additions & 0 deletions
27
tests/acceptance/features/apiSpaces/space_download.feature
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,27 @@ | ||
@api | ||
Feature: Download space | ||
As a user | ||
I want to be able to download space | ||
so that I can have it in my local storage | ||
|
||
|
||
Scenario: user downloads a space | ||
Given these users have been created with default attributes and without skeleton files: | ||
| username | | ||
| Alice | | ||
And using spaces DAV path | ||
And the administrator has assigned the role "Space Admin" to user "Alice" using the Graph API | ||
And user "Alice" has created a space "download space" with the default quota using the GraphApi | ||
And user "Alice" has uploaded a file inside space "download space" with content "<content>" to "<name>" | ||
# And user "Alice" has created a folder "folder1" in space "download space" | ||
When user "Alice" downloads the space "download space" using the WebDAV API | ||
Then the downloaded "tar" archive should contain these files: | ||
| name | content | | ||
| file1.txt | some data | | ||
| file2.txt | other data | | ||
| file3.txt | more data | | ||
# Then the space "download space" should contain these resources: | ||
# | name | content | | ||
# | file1.txt | some data | | ||
# | file2.txt | other data | | ||
# | file3.txt | more data | |
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