Merge pull request #24030 from owncloud/integration-tests-improved-resharing

Added test case for QA-94
This commit is contained in:
Lukas Reschke 2016-04-16 23:28:28 +02:00
commit e2946f7b80
1 changed files with 14 additions and 0 deletions

View File

@ -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