Skip to content

Commit

Permalink
add test to check acivities by sharee
Browse files Browse the repository at this point in the history
Signed-off-by: prashant-gurung899 <[email protected]>
  • Loading branch information
prashant-gurung899 committed Aug 19, 2024
1 parent eac382a commit f1d2ca1
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions tests/acceptance/features/apiActivities/shareActivities.feature
Original file line number Diff line number Diff line change
Expand Up @@ -1035,3 +1035,36 @@ Feature: check share activity
}
}
"""

@issue-9849
Scenario: sharee tries to check activities
Given user "Alice" has created folder "/FOLDER"
And user "Alice" has sent the following resource share invitation:
| resource | /FOLDER |
| space | Personal |
| sharee | Brian |
| shareType | user |
| permissionsRole | Editor |
And user "Brian" has a share "/FOLDER" synced
And user "Brian" has uploaded file with content "some data" to "Shares/FOLDER/newfile.txt"
And user "Brian" has uploaded file with content "edited data" to "Shares/FOLDER/newfile.txt"
And user "Brian" has deleted file "Shares/FOLDER/newfile.txt"
When user "Brian" lists the activities for folder "/FOLDER" of space "Shares" using the Graph API
Then the HTTP status code should be "200"
# And the JSON data of the response should match
# """
# {
# "type": "object",
# "required": ["value"],
# "properties": {
# "value": {
# "type": "array",
# "minItems": 0,
# "maxItems": 0,
# "uniqueItems": true,
# "items": {
# }
# }
# }
# }
# """

0 comments on commit f1d2ca1

Please sign in to comment.