[tests-only] Added tests with depth:infinity enabled (#7395)

* add depth infinity tests

* fix step

* add passing tests only

* format rable
This commit is contained in:
Sawjan Gurung
2023-10-04 11:51:24 +05:45
committed by GitHub
parent 582e7474e8
commit 0bf863b451
4 changed files with 139 additions and 7 deletions
@@ -20,19 +20,23 @@ Feature: PROPFIND
Scenario Outline: send PROPFIND request to "/remote.php/dav/(files|spaces)" with depth header
Given user "Alice" has been created with default attributes and without skeleton files
When user "Alice" requests "<dav_path>" with "PROPFIND" using basic auth and with headers
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 "207"
Then the HTTP status code should be "<http-code>"
Examples:
| dav_path | depth |
| /remote.php/dav/files/alice | 0 |
| /remote.php/dav/files/alice | infinity |
| dav-path | depth | http-code |
| /remote.php/webdav | 0 | 207 |
| /remote.php/webdav | 1 | 207 |
| /remote.php/dav/files/alice | 0 | 207 |
| /remote.php/dav/files/alice | 1 | 207 |
@skipOnRevaMaster
Examples:
| dav_path | depth |
| /remote.php/dav/spaces/%spaceid% | 0 |
| dav-path | depth | http-code |
| /remote.php/dav/spaces/%spaceid% | 0 | 207 |
| /remote.php/dav/spaces/%spaceid% | 1 | 207 |
| /remote.php/dav/spaces/%spaceid% | infinity | 400 |
Scenario: send PROPFIND request to a public link