aboutsummaryrefslogtreecommitdiffstats
path: root/build/integration/features/favorites.feature
diff options
context:
space:
mode:
authorSergio Bertolin <sbertolin@solidgear.es>2016-11-23 09:43:55 +0000
committerLukas Reschke <lukas@statuscode.ch>2016-12-22 12:49:39 +0100
commitb78dcae1d491be99ec6dffa6705b2c987cb1393b (patch)
treebb07f3ae09744ee4a0264e6d75126869cae74171 /build/integration/features/favorites.feature
parent7f8d22e7102293d96c365b380bf1845ff2de6b71 (diff)
downloadnextcloud-server-b78dcae1d491be99ec6dffa6705b2c987cb1393b.tar.gz
nextcloud-server-b78dcae1d491be99ec6dffa6705b2c987cb1393b.zip
WIP commit, adding report support
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'build/integration/features/favorites.feature')
-rw-r--r--build/integration/features/favorites.feature12
1 files changed, 12 insertions, 0 deletions
diff --git a/build/integration/features/favorites.feature b/build/integration/features/favorites.feature
index 5e31e1902f8..a2ee579436e 100644
--- a/build/integration/features/favorites.feature
+++ b/build/integration/features/favorites.feature
@@ -78,3 +78,15 @@ Feature: favorite
|{http://owncloud.org/ns}favorite|
And the single response should contain a property "{http://owncloud.org/ns}favorite" with value ""
+ Scenario: Get favorited elements of a folder
+ Given using old dav path
+ And As an "admin"
+ And user "user0" exists
+ When user "user0" favorites element "/FOLDER"
+ And user "user0" favorites element "/textfile0.txt"
+ And user "user0" favorites element "/textfile1.txt"
+ Then user "user0" in folder "/" should have favorited the following elements
+ | /FOLDER |
+ | /textfile0.txt |
+ | /textfile1.txt |
+