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
test 1. users shares folder to federation users after receiver accepted invitation
TEST_SERVER_URL="https://ocis-server:9200" TEST_SERVER_FED_URL="https://federation-ocis-server:10200" BEHAT_FEATURE="tests/acceptance/features/apiOcm/share.feature:12" make test-acceptance-api
Steps:
Given using server "LOCAL"
And "Alice" has generated invitation
And using server "REMOTE"
And "Brian" has accepted invitation
And using server "LOCAL"
And user "Alice" has created folder "folderToShare"
When user "Alice" sends the following resource share invitation using the Graph API:
| resource | folderToShare |
| space | Personal |
| sharee | Brian |
| shareType | user |
| permissionsRole | Viewer |
Then the HTTP status code should be "200"
When using server "REMOTE"
And user "Brian" lists the shares shared with him using the Graph API
Then the HTTP status code should be "200"
And the JSON data of the response should match
Actual: no share for Brian. Alice refresh page-> share disappears
Uploading Screen Recording 2024-01-30 at 12.36.58.mov…
test 2. users shares folder to federation users after accepting invitation
TEST_SERVER_URL="https://ocis-server:9200" TEST_SERVER_FED_URL="https://federation-ocis-server:10200" BEHAT_FEATURE="tests/acceptance/features/apiOcm/share.feature:90" make test-acceptance-api
Steps:
Given using server "LOCAL"
And "Alice" has generated invitation
And using server "REMOTE"
And "Brian" has accepted invitation
And user "Brian" has created folder "folderToShare"
When user "Brian" sends the following resource share invitation using the Graph API:
| resource | folderToShare |
| space | Personal |
| sharee | Alice |
| shareType | user |
| permissionsRole | Viewer |
Then the HTTP status code should be "200"
When using server "LOCAL"
And user "Alice" lists the shares shared with her using the Graph API
Then the HTTP status code should be "200"
And the JSON data of the response should match
Actual:
federated share is not accepted by default
no displayName of the user sharer
how is the web supposed to determine that it's a federated resource? there's no type in the response.
no eTag in the response - no clue maybe we don't need to.
precondition:
ocis-server
andfederation-ocis-server
see here https://owncloud.dev/ocis/development/testing/#running-test-suite-with-federated-sharing-ocmtest 1. users shares folder to federation users after receiver accepted invitation
TEST_SERVER_URL="https://ocis-server:9200" TEST_SERVER_FED_URL="https://federation-ocis-server:10200" BEHAT_FEATURE="tests/acceptance/features/apiOcm/share.feature:12" make test-acceptance-api
Steps:
Actual: no share for Brian. Alice refresh page-> share disappears
Uploading Screen Recording 2024-01-30 at 12.36.58.mov…
test 2. users shares folder to federation users after accepting invitation
TEST_SERVER_URL="https://ocis-server:9200" TEST_SERVER_FED_URL="https://federation-ocis-server:10200" BEHAT_FEATURE="tests/acceptance/features/apiOcm/share.feature:90" make test-acceptance-api
Steps:
Actual:
eTag
in the response - no clue maybe we don't need to.CC @butonic @aduffeck
The text was updated successfully, but these errors were encountered: