copy feature files from core

This commit is contained in:
Saw-jan
2023-01-05 09:22:52 +05:45
committed by Phil Davis
parent 35d4cb53ae
commit c59392bc1e
336 changed files with 52903 additions and 0 deletions
@@ -0,0 +1,50 @@
@api
Feature: PROPFIND
@issue-ocis-751
Scenario Outline: PROPFIND to "/remote.php/dav/(files|spaces)"
Given user "Alice" has been created with default attributes and without skeleton files
When user "Alice" requests "<dav_path>" with "PROPFIND" using basic auth
Then the HTTP status code should be "405"
Examples:
| dav_path |
| /remote.php/dav/files |
@skipOnOcV10 @personalSpace
Examples:
| dav_path |
| /remote.php/dav/spaces |
Scenario Outline: PROPFIND to "/remote.php/dav/(files|spaces)" with depth header
Given user "Alice" has been created with default attributes and without skeleton files
And the administrator has set depth_infinity_allowed to <depth_infinity_allowed>
When user "Alice" requests "<dav_path>" with "PROPFIND" using basic auth and with headers
| header | value |
| depth | <depth> |
Then the HTTP status code should be "<http_status>"
@notToImplementOnOCIS @depthInfinityPropfindEnabled
Examples:
| dav_path | depth_infinity_allowed | depth | http_status |
| /remote.php/dav/files/alice | 1 | 0 | 207 |
| /remote.php/dav/files/alice | 1 | infinity | 207 |
@notToImplementOnOCIS @depthInfinityPropfindDisabled
Examples:
| dav_path | depth_infinity_allowed | depth | http_status |
| /remote.php/dav/files/alice | 0 | 0 | 207 |
| /remote.php/dav/files/alice | 0 | infinity | 412 |
@skipOnOcV10 @depthInfinityPropfindEnabled
Examples:
| dav_path | depth_infinity_allowed | depth | http_status |
| /remote.php/dav/files/alice | 1 | 0 | 207 |
| /remote.php/dav/files/alice | 1 | infinity | 207 |
@skipOnOcV10 @personalSpace @depthInfinityPropfindDisabled
Examples:
| dav_path | depth_infinity_allowed | depth | http_status |
| /remote.php/dav/spaces/%spaceid% | 0 | 0 | 207 |
| /remote.php/dav/spaces/%spaceid% | 0 | infinity | 207 |
@skipOnOcV10 @personalSpace @depthInfinityPropfindEnabled
Examples:
| dav_path | depth_infinity_allowed | depth | http_status |
| /remote.php/dav/spaces/%spaceid% | 1 | 0 | 207 |
| /remote.php/dav/spaces/%spaceid% | 1 | infinity | 207 |