Commit 62df3fb 1 parent 6866f5a commit 62df3fb Copy full SHA for 62df3fb
File tree 1 file changed +78
-0
lines changed
tests/acceptance/features/apiOcm
1 file changed +78
-0
lines changed Original file line number Diff line number Diff line change @@ -1229,3 +1229,81 @@ Feature: an user shares resources using ScienceMesh application
1229
1229
}
1230
1230
}
1231
1231
"""
1232
+
1233
+ @issue-10689
1234
+ Scenario : federation user lists ocm shares
1235
+ Given using server "REMOTE"
1236
+ And "Brian" has created the federation share invitation
1237
+ And using server "LOCAL"
1238
+ And "Alice" has accepted invitation
1239
+ And user "Alice" has created folder "folderToShare"
1240
+ And user "Alice" has sent the following resource share invitation to federated user:
1241
+ | resource | folderToShare |
1242
+ | space | Personal |
1243
+ | sharee | Brian |
1244
+ | shareType | user |
1245
+ | permissionsRole | Editor |
1246
+ And using server "REMOTE"
1247
+ When user "Brian" lists all available spaces via the Graph API
1248
+ Then the HTTP status code should be "200"
1249
+ And the JSON response should contain space called "Brian Murphy" and match
1250
+ """
1251
+ {
1252
+ "type": "object",
1253
+ "required": [
1254
+ "driveType",
1255
+ "driveAlias",
1256
+ "name",
1257
+ "id",
1258
+ "quota",
1259
+ "root",
1260
+ "webUrl"
1261
+ ],
1262
+ "properties": {
1263
+ "name": {
1264
+ "type": "string",
1265
+ "enum": ["Brian Murphy"]
1266
+ },
1267
+ "driveType": {
1268
+ "type": "string",
1269
+ "enum": ["personal"]
1270
+ },
1271
+ "driveAlias": {
1272
+ "type": "string",
1273
+ "enum": ["personal/brian"]
1274
+ },
1275
+ "id": {
1276
+ "type": "string",
1277
+ "enum": ["%space_id%"]
1278
+ },
1279
+ "quota": {
1280
+ "type": "object",
1281
+ "required": [
1282
+ "state"
1283
+ ],
1284
+ "properties": {
1285
+ "state": {
1286
+ "type": "string",
1287
+ "enum": ["normal"]
1288
+ }
1289
+ }
1290
+ },
1291
+ "root": {
1292
+ "type": "object",
1293
+ "required": [
1294
+ "webDavUrl"
1295
+ ],
1296
+ "properties": {
1297
+ "webDavUrl": {
1298
+ "type": "string",
1299
+ "enum": ["%base_url%/dav/spaces/%space_id%"]
1300
+ }
1301
+ }
1302
+ },
1303
+ "webUrl": {
1304
+ "type": "string",
1305
+ "enum": ["%base_url%/f/%space_id%"]
1306
+ }
1307
+ }
1308
+ }
1309
+ """
You can’t perform that action at this time.
0 commit comments