You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/acceptance/features/apiSpaces/uploadSpaces.feature
+49Lines changed: 49 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -93,3 +93,52 @@ Feature: Upload files into a space
93
93
| folder-name |
94
94
| foo/bar |
95
95
| foo/bar/baz |
96
+
97
+
@issue-10331@issue-10469
98
+
Scenario: public uploads a zero byte file to a public share folder
99
+
Given using SharingNG
100
+
And user "Alice" has created folder "/uploadFolder"
101
+
And user "Alice" has created the following resource link share:
102
+
| resource | uploadFolder |
103
+
| space | Personal |
104
+
| permissionsRole | createOnly |
105
+
| password | %public% |
106
+
When the public uploads file "filesForUpload/zerobyte.txt" to "textfile.txt" inside last link shared folder with password "%public%" using the public WebDAV API
107
+
Then the HTTP status code should be "201"
108
+
And for user "Alice" folder "uploadFolder" of the space "Personal" should contain these files:
109
+
| textfile.txt |
110
+
And for user "Alice" folder "uploadFolder" of the space "Personal" should not contain these files:
111
+
| textfile (1).txt |
112
+
| textfile (2).txt |
113
+
114
+
@issue-10331@issue-10469
115
+
Scenario: public uploads a zero byte file to a public share folder inside project space
116
+
Given using SharingNG
117
+
And user "Alice" has created a folder "/uploadFolder" in space "Project Ceres"
118
+
And user "Alice" has created the following resource link share:
119
+
| resource | uploadFolder |
120
+
| space | ProjectCeres |
121
+
| permissionsRole | createOnly |
122
+
| password | %public% |
123
+
When the public uploads file "filesForUpload/zerobyte.txt" to "textfile.txt" inside last link shared folder with password "%public%" using the public WebDAV API
124
+
Then the HTTP status code should be "201"
125
+
And for user "Alice" folder "uploadFolder" of the space "Project Ceres" should contain these files:
126
+
| textfile.txt |
127
+
And for user "Alice" folder "uploadFolder" of the space "Project Ceres" should not contain these files:
128
+
| textfile (1).txt |
129
+
| textfile (2).txt |
130
+
131
+
@issue-10331@issue-10469
132
+
Scenario: public uploads a zero byte file to a public share project space
133
+
Given using SharingNG
134
+
And user "Alice" has created the following space link share:
135
+
| space | ProjectCeres |
136
+
| permissionsRole | createOnly |
137
+
| password | %public% |
138
+
When the public uploads file "filesForUpload/zerobyte.txt" to "textfile.txt" inside last link shared folder with password "%public%" using the public WebDAV API
139
+
Then the HTTP status code should be "201"
140
+
And for user "Alice" the space "Project Ceres" should contain these files:
141
+
| textfile.txt |
142
+
And for user "Alice" the space "Project Ceres" should not contain these files:
0 commit comments