@@ -910,3 +910,54 @@ 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
+ And user "Alice" has uploaded file with content "some data" to "textfile0.txt"
922
+ And user "Alice" has uploaded file with content "other data" to "textfile1.txt"
923
+ And user "Alice" has created folder "my_data"
924
+ And user "Alice" has uploaded file with content "some data" to "/my_data/textfile2.txt"
925
+ And user "Alice" has created folder "more_data"
926
+ And user "Alice" has uploaded file with content "more data" to "/more_data/an_other_file.txt"
927
+ And user "Alice" has sent the following resource share invitation to federated user:
928
+ | resource | textfile0 .txt |
929
+ | space | Personal |
930
+ | sharee | Brian |
931
+ | shareType | user |
932
+ | permissionsRole | Viewer |
933
+ And user "Alice" has sent the following resource share invitation to federated user:
934
+ | resource | textfile1 .txt |
935
+ | space | Personal |
936
+ | sharee | Brian |
937
+ | shareType | user |
938
+ | permissionsRole | Viewer |
939
+ And user "Alice" has sent the following resource share invitation to federated user:
940
+ | resource | my_data |
941
+ | space | Personal |
942
+ | sharee | Brian |
943
+ | shareType | user |
944
+ | permissionsRole | Viewer |
945
+ And user "Alice" has sent the following resource share invitation to federated user:
946
+ | resource | more_data |
947
+ | space | Personal |
948
+ | sharee | Brian |
949
+ | shareType | user |
950
+ | permissionsRole | Viewer |
951
+ And using server "REMOTE"
952
+ When user "Brian" downloads the archive of these items using the resource remoteItemIds
953
+ | textfile0 .txt |
954
+ | textfile1 .txt |
955
+ | my_data |
956
+ | more_data |
957
+ Then the HTTP status code should be "200"
958
+ And the downloaded zip archive should contain these files:
959
+ | name | content |
960
+ | textfile0 .txt | some data |
961
+ | textfile1 .txt | other data |
962
+ | my_data /textfile2 .txt | some data |
963
+ | more_data /an_other_file .txt | more data |
0 commit comments