mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-04 11:19:39 -06:00
fix(tests): default archive format is now zip
Signed-off-by: jkoberg <jkoberg@owncloud.com>
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
# The test runner source for UI tests
|
||||
WEB_COMMITID=862a4b4a419cf4e7cb2811c456675cd55a1924c6
|
||||
WEB_BRANCH=master
|
||||
WEB_COMMITID=5a27d947be3086543e3380c0ab9fe961af6ff358
|
||||
WEB_BRANCH=useZipInsteadOfTar
|
||||
|
||||
@@ -22,7 +22,7 @@ Feature: download multiple resources bundled into an archive
|
||||
| textfile0.txt | some data |
|
||||
Examples:
|
||||
| user-agent | archive-type |
|
||||
| Linux | tar |
|
||||
| Linux | zip |
|
||||
| Windows NT | zip |
|
||||
|
||||
|
||||
@@ -40,7 +40,7 @@ Feature: download multiple resources bundled into an archive
|
||||
| my_data/an_other_file.txt | more data |
|
||||
Examples:
|
||||
| user-agent | archive-type |
|
||||
| Linux | tar |
|
||||
| Linux | zip |
|
||||
| Windows NT | zip |
|
||||
|
||||
|
||||
@@ -57,7 +57,7 @@ Feature: download multiple resources bundled into an archive
|
||||
| my_data |
|
||||
| more_data |
|
||||
Then the HTTP status code should be "200"
|
||||
And the downloaded tar archive should contain these files:
|
||||
And the downloaded zip archive should contain these files:
|
||||
| name | content |
|
||||
| textfile0.txt | some data |
|
||||
| textfile1.txt | other data |
|
||||
@@ -110,7 +110,7 @@ Feature: download multiple resources bundled into an archive
|
||||
| /Shares/my_data |
|
||||
| /Shares/more_data |
|
||||
Then the HTTP status code should be "200"
|
||||
And the downloaded tar archive should contain these files:
|
||||
And the downloaded zip archive should contain these files:
|
||||
| name | content |
|
||||
| textfile0.txt | some data |
|
||||
| textfile1.txt | other data |
|
||||
|
||||
@@ -21,7 +21,7 @@ Feature: Download space
|
||||
Given user "Alice" has uploaded a file inside space "Project-space" with content "other data" to "file2.txt"
|
||||
When user "Alice" downloads the space "Project-space" using the WebDAV API
|
||||
Then the HTTP status code should be "200"
|
||||
And the downloaded "tar" archive should contain these files:
|
||||
And the downloaded "zip" archive should contain these files:
|
||||
| name | content |
|
||||
| file1.txt | some data |
|
||||
| file2.txt | other data |
|
||||
@@ -36,7 +36,7 @@ Feature: Download space
|
||||
| permissionsRole | <space-role> |
|
||||
When user "Brian" downloads the space "Project-space" using the WebDAV API
|
||||
Then the HTTP status code should be "200"
|
||||
And the downloaded "tar" archive should contain these files:
|
||||
And the downloaded "zip" archive should contain these files:
|
||||
| name | content |
|
||||
| file1.txt | some data |
|
||||
| .space/readme.md | space description |
|
||||
|
||||
@@ -24,7 +24,7 @@ Feature: Public can download folders from project space public link
|
||||
| permissionsRole | view |
|
||||
When public downloads the folder "NewFolder" from the last created public link using the public files API
|
||||
Then the HTTP status code should be "200"
|
||||
And the downloaded tar archive should contain these files:
|
||||
And the downloaded zip archive should contain these files:
|
||||
| name | content |
|
||||
| NewFolder/test.txt | some content |
|
||||
|
||||
@@ -42,6 +42,6 @@ Feature: Public can download folders from project space public link
|
||||
| permissionsRole | view |
|
||||
When public downloads the folder "folder" from the last created public link using the public files API
|
||||
Then the HTTP status code should be "200"
|
||||
And the downloaded tar archive should contain these files:
|
||||
And the downloaded zip archive should contain these files:
|
||||
| name | content |
|
||||
| folder/test.txt | some content |
|
||||
|
||||
Reference in New Issue
Block a user