extend webdav tests for old, new and spaces path
This commit is contained in:
@@ -72,8 +72,7 @@ Feature: PROPFIND with depth:infinity
|
||||
|
||||
@issue-10331
|
||||
Scenario: get the list of resources in a folder shared through public link with depth infinity
|
||||
Given using new DAV path
|
||||
And using SharingNG
|
||||
Given using SharingNG
|
||||
And the following configs have been set:
|
||||
| config | value |
|
||||
| OCDAV_ALLOW_PROPFIND_DEPTH_INFINITY | true |
|
||||
@@ -118,16 +117,17 @@ Feature: PROPFIND with depth:infinity
|
||||
| simple-folder/simple-folder1/simple-folder2/welcome.txt |
|
||||
Examples:
|
||||
| dav-path-version |
|
||||
| old |
|
||||
| new |
|
||||
| spaces |
|
||||
|
||||
@issue-10331
|
||||
Scenario: get the list of resources in a folder shared through public link with depth infinity when depth infinity is not allowed
|
||||
Scenario Outline: get the list of resources in a folder shared through public link with depth infinity when depth infinity is not allowed
|
||||
Given the following configs have been set:
|
||||
| config | value |
|
||||
| OCDAV_ALLOW_PROPFIND_DEPTH_INFINITY | false |
|
||||
| OCIS_SHARING_PUBLIC_SHARE_MUST_HAVE_PASSWORD | false |
|
||||
And using new DAV path
|
||||
And using <dav-path-version> DAV path
|
||||
And using SharingNG
|
||||
And user "Alice" has created the following resource link share:
|
||||
| resource | simple-folder |
|
||||
@@ -135,6 +135,10 @@ Feature: PROPFIND with depth:infinity
|
||||
| permissionsRole | view |
|
||||
When the public lists the resources in the last created public link with depth "infinity" using the WebDAV API
|
||||
Then the HTTP status code should be "400"
|
||||
Examples:
|
||||
| dav-path-version |
|
||||
| new |
|
||||
| spaces |
|
||||
|
||||
|
||||
Scenario Outline: get the list of files in the trashbin with depth infinity when depth infinity is not allowed
|
||||
@@ -149,5 +153,6 @@ Feature: PROPFIND with depth:infinity
|
||||
Then the HTTP status code should be "400"
|
||||
Examples:
|
||||
| dav-path-version |
|
||||
| old |
|
||||
| new |
|
||||
| spaces |
|
||||
|
||||
Reference in New Issue
Block a user