Files
opencloud/tests/acceptance/features/coreApiAuth/webDavAuth.feature
2023-02-15 09:05:07 +05:45

29 lines
900 B
Gherkin

@api
Feature: auth
Background:
Given user "Alice" has been created with default attributes and without skeleton files
@smokeTest
Scenario: using WebDAV anonymously
When a user requests "/remote.php/webdav" with "PROPFIND" and no authentication
Then the HTTP status code should be "401"
@smokeTest @skipOnOcV10 @personalSpace
Scenario: using spaces WebDAV anonymously
When user "Alice" requests "/dav/spaces/%spaceid%" with "PROPFIND" and no authentication
Then the HTTP status code should be "401"
@smokeTest
Scenario Outline: using WebDAV with basic auth
When user "Alice" requests "<dav_path>" with "PROPFIND" using basic auth
Then the HTTP status code should be "207"
Examples:
| dav_path |
| /remote.php/webdav |
@skipOnOcV10 @personalSpace
Examples:
| dav_path |
| /dav/spaces/%spaceid% |