mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-06 04:09:40 -06:00
26 lines
813 B
Gherkin
26 lines
813 B
Gherkin
Feature: auth
|
|
As a user
|
|
I want to check the authentication of the application
|
|
So that I can make sure it's secure
|
|
|
|
Background:
|
|
Given user "Alice" has been created with default attributes and without skeleton files
|
|
|
|
@smokeTest
|
|
Scenario Outline: using WebDAV anonymously
|
|
When a user requests "<dav-path>" with "PROPFIND" and no authentication
|
|
Then the HTTP status code should be "401"
|
|
Examples:
|
|
| dav-path |
|
|
| /remote.php/webdav |
|
|
| /dav/spaces/%spaceid% |
|
|
|
|
@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 |
|
|
| /dav/spaces/%spaceid% |
|