@@ -910,3 +910,61 @@ Feature: an user shares resources using ScienceMesh application
910
910
| Viewer | Uploader |
911
911
| Viewer | Editor |
912
912
| Viewer | Viewer |
913
+
914
+ @issue-10272
915
+ Scenario : federated user downloads multiple files and folders as archive
916
+ Given using spaces DAV path
917
+ And using server "REMOTE"
918
+ And "Brian" has created the federation share invitation
919
+ And using server "LOCAL"
920
+ And "Alice" has accepted invitation
921
+ Given user "Alice" has uploaded file with content "some data" to "textfile0.txt"
922
+ And user "Alice" has sent the following resource share invitation to federated user:
923
+ | resource | textfile0 .txt |
924
+ | space | Personal |
925
+ | sharee | Brian |
926
+ | shareType | user |
927
+ | permissionsRole | File Editor |
928
+ And using server "REMOTE"
929
+ When user "Brian" downloads the archive of these items using the resource path
930
+ | Shares /textfile0 .txt |
931
+ # When user "Alice" downloads the zip archive of "/textfile0.txt" using the resource path and setting these headers:
932
+ # | header | value |
933
+ # | User-Agent | Linux |
934
+ Then the HTTP status code should be "200"
935
+ And the downloaded zip archive should contain these files:
936
+ | name | content |
937
+ | textfile0 .txt | some data |
938
+ # Examples:
939
+ # | user-agent | archive-type |
940
+ # | Linux | tar |
941
+ # | Windows NT | zip |
942
+
943
+ @issue-10272
944
+ Scenario : federated user downloads multiple files and folders as archive
945
+ Given using spaces DAV path
946
+ And using server "REMOTE"
947
+ And "Brian" has created the federation share invitation
948
+ And using server "LOCAL"
949
+ And "Alice" has accepted invitation
950
+ Given user "Alice" has uploaded file with content "some data" to "textfile0.txt"
951
+ And user "Alice" has sent the following resource share invitation to federated user:
952
+ | resource | textfile0 .txt |
953
+ | space | Personal |
954
+ | sharee | Brian |
955
+ | shareType | user |
956
+ | permissionsRole | File Editor |
957
+ And using server "REMOTE"
958
+ When user "Brian" downloads the archive of these items using the resource path
959
+ | Shares /textfile0 .txt |
960
+ # When user "Alice" downloads the zip archive of "/textfile0.txt" using the resource path and setting these headers:
961
+ # | header | value |
962
+ # | User-Agent | Linux |
963
+ Then the HTTP status code should be "200"
964
+ And the downloaded zip archive should contain these files:
965
+ | name | content |
966
+ | textfile0 .txt | some data |
967
+ # Examples:
968
+ # | user-agent | archive-type |
969
+ # | Linux | tar |
970
+ # | Windows NT | zip |
0 commit comments