@@ -1297,3 +1297,54 @@ Feature: an user shares resources using ScienceMesh application
1297
1297
| Viewer |
1298
1298
| Uploader |
1299
1299
| Editor |
1300
+
1301
+ @issue-10272
1302
+ Scenario : federated user downloads shared resources as an archive
1303
+ Given using spaces DAV path
1304
+ And using server "REMOTE"
1305
+ And "Brian" has created the federation share invitation
1306
+ And using server "LOCAL"
1307
+ And "Alice" has accepted invitation
1308
+ And user "Alice" has uploaded file with content "some data" to "textfile0.txt"
1309
+ And user "Alice" has uploaded file with content "other data" to "textfile1.txt"
1310
+ And user "Alice" has created folder "my_data"
1311
+ And user "Alice" has uploaded file with content "some data" to "/my_data/textfile2.txt"
1312
+ And user "Alice" has created folder "more_data"
1313
+ And user "Alice" has uploaded file with content "more data" to "/more_data/an_other_file.txt"
1314
+ And user "Alice" has sent the following resource share invitation to federated user:
1315
+ | resource | textfile0 .txt |
1316
+ | space | Personal |
1317
+ | sharee | Brian |
1318
+ | shareType | user |
1319
+ | permissionsRole | Viewer |
1320
+ And user "Alice" has sent the following resource share invitation to federated user:
1321
+ | resource | textfile1 .txt |
1322
+ | space | Personal |
1323
+ | sharee | Brian |
1324
+ | shareType | user |
1325
+ | permissionsRole | Viewer |
1326
+ And user "Alice" has sent the following resource share invitation to federated user:
1327
+ | resource | my_data |
1328
+ | space | Personal |
1329
+ | sharee | Brian |
1330
+ | shareType | user |
1331
+ | permissionsRole | Viewer |
1332
+ And user "Alice" has sent the following resource share invitation to federated user:
1333
+ | resource | more_data |
1334
+ | space | Personal |
1335
+ | sharee | Brian |
1336
+ | shareType | user |
1337
+ | permissionsRole | Viewer |
1338
+ And using server "REMOTE"
1339
+ When user "Brian" downloads the archive of these items using the resource remoteItemIds
1340
+ | textfile0 .txt |
1341
+ | textfile1 .txt |
1342
+ | my_data |
1343
+ | more_data |
1344
+ Then the HTTP status code should be "200"
1345
+ And the downloaded zip archive should contain these files:
1346
+ | name | content |
1347
+ | textfile0 .txt | some data |
1348
+ | textfile1 .txt | other data |
1349
+ | my_data /textfile2 .txt | some data |
1350
+ | more_data /an_other_file .txt | more data |
0 commit comments