You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Scenario Outline: sharee hides the shared resource (Personal space) # /drone/src/tests/acceptance/features/apiSharingNg/sharedWithMe.feature:4845Given user "Alice" has created folder "folder" # FeatureContext::userHasCreatedFolder()And user "Alice" has uploaded file with content "hello world" to "testfile.txt" # FeatureContext::userHasUploadedAFileWithContentTo()And user "Alice" has sent the following resource share invitation: # SharingNgContext::userHasSentTheFollowingResourceShareInvitation() | resource | <resource> | | space | Personal | | sharee | Brian | | shareType | user | | permissionsRole | Viewer |When user "Brian" hides the shared resource "<resource>" using the Graph API # SharingNgContext::userHidesTheSharedResourceUsingTheGraphApi()Then the HTTP status code should be "200" # FeatureContext::thenTheHTTPStatusCodeShouldBe()And the JSON data of the response should match # FeatureContext::theJsonDataOfTheResponseShouldMatch()""" { "type": "object", "required": ["hidden", "mount_point"], "properties": { "hidden": { "const": true }, "mount_point": { "type": "object", "required": ["path"], "properties": { "path": { "const": "<resource>" } } } } } """Examples:
| resource | | testfile.txt |
Failed step: And the JSON data of the response should match
Required property missing: hidden, data: {"@UI.Hidden":true,"@client.synchronize":true,"createdBy":{"user":{"displayName":"Alice Hansen","id":"f5a10729-e115-45d7-9e64-380b10138b69"}},"eTag":"\"b6498498766cb8a565a8c24355777d42\"","file":{"mimeType":"text/plain"},"id":"a0ca6a90-a365-4782-871e-d44447bbc668$a0ca6a90-a365-4782-871e-d44447bbc668!f527d977-3019-4d39-9773-504d47943df9:f5a10729-e115-45d7-9e64-380b10138b69:9be12b32-9247-4356-bab7-686ad0a10323","lastModifiedDateTime":"2024-05-14T09:14:29.308898352Z","name":"testfile.txt","parentReference":{"driveId":"a0ca6a90-a365-4782-871e-d44447bbc668$a0ca6a90-a365-4782-871e-d44447bbc668","driveType":"virtual","id":"a0ca6a90-a365-4782-871e-d44447bbc668$a0ca6a90-a365-4782-871e-d44447bbc668!a0ca6a90-a365-4782-871e-d44447bbc668"},"remoteItem":{"createdBy":{"user":{"displayName":"Alice Hansen","id":"f5a10729-e115-45d7-9e64-380b10138b69"}},"eTag":"\"b6498498766cb8a565a8c24355777d42\"","file":{"mimeType":"text/plain"},"id":"f527d977-3019-4d39-9773-504d47943df9$f5a10729-e115-45d7-9e64-380b10138b69!9e4ab516-94f8-4faa-a82a-d5353aa2c372","lastModifiedDateTime":"2024-05-14T09:14:29.308898352Z","name":"testfile.txt","parentReference":{"driveId":"f527d977-3019-4d39-9773-504d47943df9$f5a10729-e115-45d7-9e64-380b10138b69!f5a10729-e115-45d7-9e64-380b10138b69","driveType":"personal"},"permissions":[{"createdDateTime":"2024-05-14T09:14:29.491025455Z","grantedToV2":{"user":{"displayName":"Brian Murphy","id":"cde8788a-6335-488f-a7f8-3e4178da6bfb"}},"id":"f527d977-3019-4d39-9773-504d47943df9:f5a10729-e115-45d7-9e64-380b10138b69:9be12b32-9247-4356-bab7-686ad0a10323","invitation":{"invitedBy":{"user":{"displayName":"Alice Hansen","id":"f5a10729-e115-45d7-9e64-380b10138b69"}}},"roles":["b1e2218d-eef8-4d4c-b82d-0f1a1b48f3b5"]}],"size":11},"size":11} (Swaggest\JsonSchema\Exception\ObjectException)
The text was updated successfully, but these errors were encountered:
apiSharingNg/sharedWithMe.feature
scenarios are failing in recent PRs.Builds: https://drone.owncloud.com/owncloud/ocis/34929/33/5
https://drone.owncloud.com/owncloud/ocis/34932/33/5
https://drone.owncloud.com/owncloud/ocis/34934/33/6
First, confirm the expected behavior and then adjust the tests wherever needed.
Failing scenarios
The text was updated successfully, but these errors were encountered: