Favorites integration tests for shared files
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
parent
31024b7700
commit
4cf4d2f27e
|
@ -133,3 +133,16 @@ Feature: favorite
|
||||||
Then user "user0" in folder "/subfolder" should have favorited the following elements
|
Then user "user0" in folder "/subfolder" should have favorited the following elements
|
||||||
| /subfolder/textfile0.txt |
|
| /subfolder/textfile0.txt |
|
||||||
| /subfolder/textfile2.txt |
|
| /subfolder/textfile2.txt |
|
||||||
|
|
||||||
|
Scenario: moving a favorite file out of a share keeps favorite state
|
||||||
|
Given using old dav path
|
||||||
|
And As an "admin"
|
||||||
|
And user "user0" exists
|
||||||
|
And user "user1" exists
|
||||||
|
And user "user0" created a folder "/shared"
|
||||||
|
And User "user0" moved file "/textfile0.txt" to "/shared/shared_file.txt"
|
||||||
|
And folder "/shared" of user "user0" is shared with user "user1"
|
||||||
|
And user "user1" favorites element "/shared/shared_file.txt"
|
||||||
|
When User "user1" moved file "/shared/shared_file.txt" to "/taken_out.txt"
|
||||||
|
Then user "user1" in folder "/" should have favorited the following elements
|
||||||
|
| /taken_out.txt |
|
||||||
|
|
Loading…
Reference in New Issue