mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-09 05:39:52 -06:00
29 lines
900 B
Gherkin
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% |
|