Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[tests-only] add tests to demonstrate issue #38027 #38028

Merged
merged 1 commit into from
Oct 22, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"
phil-davis marked this conversation as resolved.
Show resolved Hide resolved
# 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 |