-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add tests to demonstrate issue #38027
- Loading branch information
1 parent
914992f
commit f408506
Showing
1 changed file
with
17 additions
and
0 deletions.
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
tests/acceptance/features/apiFavorites/favoritesOc10Issue38027.feature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
@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 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 | |