Skip to content

Commit 5984fd0

Browse files
add test to list drives by federation user
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
1 parent 4c5ff7a commit 5984fd0

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

tests/acceptance/features/apiOcm/share.feature

+18
Original file line numberDiff line numberDiff line change
@@ -1255,3 +1255,21 @@ Feature: an user shares resources using ScienceMesh application
12551255
Then the HTTP status code should be "500"
12561256
And using server "LOCAL"
12571257
And the content of file "textfile.txt" for user "Alice" should be "ocm test"
1258+
1259+
@issue-10689
1260+
Scenario: federation user lists all the spaces
1261+
Given using server "REMOTE"
1262+
And "Brian" has created the federation share invitation
1263+
And using server "LOCAL"
1264+
And "Alice" has accepted invitation
1265+
And user "Alice" has created folder "folderToShare"
1266+
And user "Alice" has sent the following resource share invitation to federated user:
1267+
| resource | folderToShare |
1268+
| space | Personal |
1269+
| sharee | Brian |
1270+
| shareType | user |
1271+
| permissionsRole | Editor |
1272+
And using server "REMOTE"
1273+
When user "Brian" lists all available spaces via the Graph API
1274+
Then the HTTP status code should be "200"
1275+
And the json responded should not contain a space with name "folderToShare"

0 commit comments

Comments
 (0)