File tree 1 file changed +27
-0
lines changed
build/integration/dav_features
1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,33 @@ Feature: webdav-related
48
48
When User "user0" moves file "/test/test" to "/test"
49
49
Then the HTTP status code should be "403"
50
50
51
+ Scenario : Moving a file from shared folder to root folder
52
+ Given using old dav path
53
+ And user "user0" exists
54
+ And user "user1" exists
55
+ And user "user0" created a folder "/testshare"
56
+ And User "user0" copies file "/welcome.txt" to "/testshare/welcome.txt"
57
+ And as "user0" creating a share with
58
+ | path | testshare |
59
+ | shareType | 0 |
60
+ | shareWith | user1 |
61
+ When User "user1" moves file "/testshare/welcome.txt" to "/movedwelcome.txt"
62
+ Then As an "user1"
63
+ And Downloaded content when downloading file "/movedwelcome.txt" with range "bytes=0-6" should be "Welcome"
64
+
65
+ Scenario : Moving a file from root folder to shared folder
66
+ Given using old dav path
67
+ And user "user0" exists
68
+ And user "user1" exists
69
+ And user "user0" created a folder "/testshare"
70
+ And as "user0" creating a share with
71
+ | path | testshare |
72
+ | shareType | 0 |
73
+ | shareWith | user1 |
74
+ When User "user1" moves file "/welcome.txt" to "/testshare/movedwelcome.txt"
75
+ Then As an "user1"
76
+ And Downloaded content when downloading file "/testshare/movedwelcome.txt" with range "bytes=0-6" should be "Welcome"
77
+
51
78
Scenario : Moving a file to a folder with no permissions
52
79
Given using old dav path
53
80
And As an "admin"
You can’t perform that action at this time.
0 commit comments