Skip to content

Commit

Permalink
add tests to demonstrate issue #38027
Browse files Browse the repository at this point in the history
  • Loading branch information
individual-it committed Oct 22, 2020
1 parent 914992f commit a154188
Showing 1 changed file with 23 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
@api @notToImplementOnOCIS
Feature: current oC10 behavior for issue-38027

Scenario Outline: sharee file favorite state should not change the favorite state of sharer
Given using <dav_version> DAV path
And the administrator has enabled DAV tech_preview
And the administrator has set the default folder for received shares to "Shares"
And auto-accept shares has been disabled
And user "Alice" has been created with default attributes and without skeleton files
And user "Alice" has created folder "/PARENT"
And user "Alice" has uploaded file with content "some data" to "/PARENT/parent.txt"
And user "Brian" has been created with default attributes and without skeleton files
And user "Alice" has shared file "/PARENT/parent.txt" with user "Brian"
And user "Brian" has accepted share "/PARENT/parent.txt" offered by user "Alice"
# Brian should not see the full path of the file on the sharer side
# And user "Brian" has accepted share "/parent.txt" offered by user "Alice"
When user "Brian" favorites element "/Shares/parent.txt" using the WebDAV API
Then the HTTP status code should be "207"
And as user "Alice" file "/PARENT/parent.txt" should not be favorited
Examples:
| dav_version |
| old |
| new |

0 comments on commit a154188

Please sign in to comment.