2023-01-02 17:26:54 +05:45
|
|
|
Feature: auth
|
2023-04-25 17:18:06 +05:45
|
|
|
As a user
|
|
|
|
|
I want to check the authentication of the application
|
|
|
|
|
So that I can make sure it's secure
|
2023-01-02 17:26:54 +05:45
|
|
|
|
|
|
|
|
Background:
|
2024-11-29 09:39:21 +05:45
|
|
|
Given user "Alice" has been created with default attributes
|
2023-01-02 17:26:54 +05:45
|
|
|
|
2025-09-22 10:52:52 +02:00
|
|
|
@smokeTest
|
2023-05-25 17:50:00 +05:45
|
|
|
Scenario Outline: using WebDAV anonymously
|
2024-03-20 15:01:51 +05:45
|
|
|
When a user requests "<dav-path>" with "PROPFIND" and no authentication
|
2023-01-02 17:26:54 +05:45
|
|
|
Then the HTTP status code should be "401"
|
2023-05-25 17:50:00 +05:45
|
|
|
Examples:
|
2024-03-20 15:01:51 +05:45
|
|
|
| dav-path |
|
2024-09-17 17:11:20 +05:45
|
|
|
| /webdav |
|
|
|
|
|
| /dav/files/%username% |
|
2023-05-25 17:50:00 +05:45
|
|
|
| /dav/spaces/%spaceid% |
|
2023-01-02 17:26:54 +05:45
|
|
|
|
2025-09-22 10:52:52 +02:00
|
|
|
@smokeTest
|
2023-01-02 17:26:54 +05:45
|
|
|
Scenario Outline: using WebDAV with basic auth
|
2024-03-20 15:01:51 +05:45
|
|
|
When user "Alice" requests "<dav-path>" with "PROPFIND" using basic auth
|
2023-01-02 17:26:54 +05:45
|
|
|
Then the HTTP status code should be "207"
|
|
|
|
|
Examples:
|
2024-03-20 15:01:51 +05:45
|
|
|
| dav-path |
|
2024-09-17 17:11:20 +05:45
|
|
|
| /webdav |
|
|
|
|
|
| /dav/files/%username% |
|
2023-01-02 17:26:54 +05:45
|
|
|
| /dav/spaces/%spaceid% |
|