Skip to content

Commit

Permalink
fix(tests): default archive format is now zip
Browse files Browse the repository at this point in the history
Signed-off-by: jkoberg <[email protected]>
  • Loading branch information
kobergj committed Jul 17, 2024
1 parent fae509a commit 86c17e2
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .drone.env
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# The test runner source for UI tests
WEB_COMMITID=862a4b4a419cf4e7cb2811c456675cd55a1924c6
WEB_BRANCH=master
WEB_COMMITID=5a27d947be3086543e3380c0ab9fe961af6ff358
WEB_BRANCH=useZipInsteadOfTar
8 changes: 4 additions & 4 deletions tests/acceptance/features/apiArchiver/downloadById.feature
Original file line number Diff line number Diff line change
Expand Up @@ -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 |


Expand All @@ -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 |


Expand All @@ -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 |
Expand Down Expand Up @@ -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 |
Expand Down
4 changes: 2 additions & 2 deletions tests/acceptance/features/apiDownloads/spaceDownload.feature
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand All @@ -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 |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 |

Expand All @@ -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 |

0 comments on commit 86c17e2

Please sign in to comment.