Files
opencloud/tests/acceptance/features/coreApiShareCreateSpecialToRoot1/createShareUniqueReceivedNames.feature
2023-01-05 09:22:52 +05:45

23 lines
920 B
Gherkin

@api @files_sharing-app-required @notToImplementOnOCIS
Feature: resources shared with the same name are received with unique names
Background:
Given using OCS API version "1"
And these users have been created with default attributes and without skeleton files:
| username |
| Alice |
| Brian |
| Carol |
@smokeTest
Scenario: unique target names for incoming shares
Given user "Alice" has created folder "/foo"
And user "Brian" has created folder "/foo"
When user "Alice" shares folder "/foo" with user "Carol" using the sharing API
And user "Brian" shares folder "/foo" with user "Carol" using the sharing API
Then the OCS status code of responses on all endpoints should be "100"
And the HTTP status code of responses on all endpoints should be "200"
And user "Carol" should see the following elements
| /foo/ |
| /foo (2)/ |