mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-12-05 14:39:23 -05:00
* tests: remove unused tags from the acceptance tests Remove the tags that neither the CI of opencloud nor the one of reva filters on, and that no hook uses: @smokeTest, @skipOnStorage:ceph, @skipOnStorage:scality, @skipOnOpencloud-decomposeds3-Storage (the CI only runs posix and decomposed), @sqliteDB, @notification and @skip-local-run. A tag line left empty becomes an empty line, so that the line numbers of the scenarios, which the expected failures of opencloud and reva refer to, stay the same. Also fix the typo @@skipOnReva, and write the issue tags the same way: @issues-<n> becomes @issue-<n>, @web-issue-<n> becomes @issue-web-<n>. Assisted-by: Claude Code:claude-opus-5-5 * tests: run the search properties scenarios as expected failures The two scenarios that check the properties of search results were skipped, since the search REPORT returns an empty d:getetag (#3501) and the step retried the whole check for 20 seconds, which made them too slow as expected failures. - retry the search only until the entry is indexed, then check its properties once: once found, the entry is complete, so a wrong value fails right away - check what the search returns: d:getcontentlength for files, the real size of 12 bytes, a file id of the form <uuid>$<uuid>!<uuid>, anchored patterns, and no oc:owner-id and oc:owner-display-name, which the search response never contains - list them as expected failures of #3501 instead of skipping them Without the d:getetag check, both scenarios pass. Assisted-by: Claude Code:claude-opus-5-5 * lint fix
28 lines
854 B
Gherkin
28 lines
854 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
|
|
|
|
@issue-10334
|
|
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 |
|
|
| /webdav |
|
|
| /dav/files/%username% |
|
|
| /dav/spaces/%spaceid% |
|
|
|
|
@issue-10334
|
|
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 |
|
|
| /webdav |
|
|
| /dav/files/%username% |
|
|
| /dav/spaces/%spaceid% |
|