@@ -1229,3 +1229,54 @@ Feature: an user shares resources using ScienceMesh application
1229
1229
}
1230
1230
}
1231
1231
"""
1232
+
1233
+ @issue-10272
1234
+ Scenario : federated user downloads shared resources as an archive
1235
+ Given using spaces DAV path
1236
+ And using server "REMOTE"
1237
+ And "Brian" has created the federation share invitation
1238
+ And using server "LOCAL"
1239
+ And "Alice" has accepted invitation
1240
+ And user "Alice" has uploaded file with content "some data" to "textfile0.txt"
1241
+ And user "Alice" has uploaded file with content "other data" to "textfile1.txt"
1242
+ And user "Alice" has created folder "my_data"
1243
+ And user "Alice" has uploaded file with content "some data" to "/my_data/textfile2.txt"
1244
+ And user "Alice" has created folder "more_data"
1245
+ And user "Alice" has uploaded file with content "more data" to "/more_data/an_other_file.txt"
1246
+ And user "Alice" has sent the following resource share invitation to federated user:
1247
+ | resource | textfile0 .txt |
1248
+ | space | Personal |
1249
+ | sharee | Brian |
1250
+ | shareType | user |
1251
+ | permissionsRole | Viewer |
1252
+ And user "Alice" has sent the following resource share invitation to federated user:
1253
+ | resource | textfile1 .txt |
1254
+ | space | Personal |
1255
+ | sharee | Brian |
1256
+ | shareType | user |
1257
+ | permissionsRole | Viewer |
1258
+ And user "Alice" has sent the following resource share invitation to federated user:
1259
+ | resource | my_data |
1260
+ | space | Personal |
1261
+ | sharee | Brian |
1262
+ | shareType | user |
1263
+ | permissionsRole | Viewer |
1264
+ And user "Alice" has sent the following resource share invitation to federated user:
1265
+ | resource | more_data |
1266
+ | space | Personal |
1267
+ | sharee | Brian |
1268
+ | shareType | user |
1269
+ | permissionsRole | Viewer |
1270
+ And using server "REMOTE"
1271
+ When user "Brian" downloads the archive of these items using the resource remoteItemIds
1272
+ | textfile0 .txt |
1273
+ | textfile1 .txt |
1274
+ | my_data |
1275
+ | more_data |
1276
+ Then the HTTP status code should be "200"
1277
+ And the downloaded zip archive should contain these files:
1278
+ | name | content |
1279
+ | textfile0 .txt | some data |
1280
+ | textfile1 .txt | other data |
1281
+ | my_data /textfile2 .txt | some data |
1282
+ | more_data /an_other_file .txt | more data |
0 commit comments