diff --git a/build/integration/features/sharing-v1.feature b/build/integration/features/sharing-v1.feature index cc591dd51d..1e487eedf9 100644 --- a/build/integration/features/sharing-v1.feature +++ b/build/integration/features/sharing-v1.feature @@ -251,6 +251,20 @@ Feature: sharing And User "user2" should be included in the response And User "user3" should not be included in the response + Scenario: Reshared files can be still accessed if a user in the middle removes it. + Given user "user0" exists + And user "user1" exists + And user "user2" exists + And user "user3" exists + And file "textfile0.txt" of user "user0" is shared with user "user1" + And file "textfile0 (2).txt" of user "user1" is shared with user "user2" + And file "textfile0 (2).txt" of user "user2" is shared with user "user3" + And As an "user1" + When User "user1" deletes file "/textfile0 (2).txt" + And As an "user3" + And Downloading file "/textfile0 (2).txt" with range "bytes=1-7" + Then Downloaded content should be "wnCloud" + Scenario: getting share info of a share Given user "user0" exists And user "user1" exists