mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-02-09 05:28:56 -06:00
41 lines
1.4 KiB
Gherkin
41 lines
1.4 KiB
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% |
|
|
|
|
@smokeTest @notToImplementOnOCIS @issue-ocis-reva-28
|
|
Scenario: using WebDAV with token auth
|
|
Given a new client token for "Alice" has been generated
|
|
When user "Alice" requests "/remote.php/webdav" with "PROPFIND" using basic token auth
|
|
Then the HTTP status code should be "207"
|
|
|
|
@smokeTest @notToImplementOnOCIS
|
|
Scenario: using WebDAV with browser session
|
|
Given a new browser session for "Alice" has been started
|
|
When the user requests "/remote.php/webdav" with "PROPFIND" using the browser session
|
|
Then the HTTP status code should be "207"
|