diff --git a/tests/acceptance/bootstrap/SearchContext.php b/tests/acceptance/bootstrap/SearchContext.php index d164e47973..fd2fd5fc0b 100644 --- a/tests/acceptance/bootstrap/SearchContext.php +++ b/tests/acceptance/bootstrap/SearchContext.php @@ -177,9 +177,12 @@ class SearchContext implements Context { string $user, TableNode $properties ): void { - $assert = fn () => $this->assertFileOrFolderInSearchResultContainsProperties($path, $user, $properties); - $this->retrySearchUntilSatisfied($assert); - $assert(); + // retry only until the entry is indexed: once it is found, its properties + // are complete, and a wrong property fails right away + $this->retrySearchUntilSatisfied( + fn () => Assert::assertNotFalse($this->featureContext->findEntryFromSearchResponse($path)) + ); + $this->assertFileOrFolderInSearchResultContainsProperties($path, $user, $properties); } /** diff --git a/tests/acceptance/bootstrap/SpacesContext.php b/tests/acceptance/bootstrap/SpacesContext.php index 826dddf2d9..4db2ad2095 100644 --- a/tests/acceptance/bootstrap/SpacesContext.php +++ b/tests/acceptance/bootstrap/SpacesContext.php @@ -30,7 +30,6 @@ use Psr\Http\Message\ResponseInterface; use TestHelpers\HttpRequestHelper; use TestHelpers\WebDavHelper; use TestHelpers\GraphHelper; -use TestHelpers\OcHelper; use TestHelpers\BehatHelper; use TestHelpers\WaitHelper; use Behat\Step\Given; @@ -249,8 +248,7 @@ class SpacesContext implements Context { $this->featureContext->getStepLineRef(), $user, $this->featureContext->getPasswordForUser($user), - $this->featureContext->getAttributeOfCreatedUser($user, 'id'), - $this->featureContext->getStepLineRef() + $this->featureContext->getAttributeOfCreatedUser($user, 'id') ); $space = json_decode($resource->getBody()->getContents(), true); diff --git a/tests/acceptance/config/behat.yml b/tests/acceptance/config/behat.yml index 1cd13bfa88..d226cf53ba 100644 --- a/tests/acceptance/config/behat.yml +++ b/tests/acceptance/config/behat.yml @@ -201,6 +201,7 @@ default: - NotificationContext: - GuestLinkContext: - OcConfigContext: + - WebDavPropertiesContext: apiAntivirus: paths: diff --git a/tests/acceptance/expected-failures-decomposed-storage.md b/tests/acceptance/expected-failures-decomposed-storage.md index 57266b0f00..ce37022155 100644 --- a/tests/acceptance/expected-failures-decomposed-storage.md +++ b/tests/acceptance/expected-failures-decomposed-storage.md @@ -309,6 +309,15 @@ _ocdav: api compatibility, return correct status code_ - [coreApiTrashbin/trashbinSharingToShares.feature:277](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiTrashbin/trashbinSharingToShares.feature#L277) +#### [Report response doesn't contain ](https://github.com/opencloud-eu/opencloud/issues/3501) + +- [apiSearch1/search.feature:459](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSearch1/search.feature#L459) +- [apiSearch1/search.feature:460](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSearch1/search.feature#L460) +- [apiSearch1/search.feature:461](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSearch1/search.feature#L461) +- [apiSearch1/search.feature:483](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSearch1/search.feature#L483) +- [apiSearch1/search.feature:484](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSearch1/search.feature#L484) +- [apiSearch1/search.feature:485](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSearch1/search.feature#L485) + ### Won't fix Not everything needs to be implemented for opencloud. diff --git a/tests/acceptance/expected-failures-posix-storage.md b/tests/acceptance/expected-failures-posix-storage.md index 934bd9a727..1c42f60b45 100644 --- a/tests/acceptance/expected-failures-posix-storage.md +++ b/tests/acceptance/expected-failures-posix-storage.md @@ -312,6 +312,15 @@ _ocdav: api compatibility, return correct status code_ - [coreApiTrashbin/trashbinSharingToShares.feature:277](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/coreApiTrashbin/trashbinSharingToShares.feature#L277) +#### [Report response doesn't contain ](https://github.com/opencloud-eu/opencloud/issues/3501) + +- [apiSearch1/search.feature:459](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSearch1/search.feature#L459) +- [apiSearch1/search.feature:460](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSearch1/search.feature#L460) +- [apiSearch1/search.feature:461](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSearch1/search.feature#L461) +- [apiSearch1/search.feature:483](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSearch1/search.feature#L483) +- [apiSearch1/search.feature:484](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSearch1/search.feature#L484) +- [apiSearch1/search.feature:485](https://github.com/opencloud-eu/opencloud/blob/main/tests/acceptance/features/apiSearch1/search.feature#L485) + ### Won't fix Not everything needs to be implemented for opencloud. diff --git a/tests/acceptance/features/apiAntivirus/antivirus.feature b/tests/acceptance/features/apiAntivirus/antivirus.feature index 881e344fed..044c3a129b 100644 --- a/tests/acceptance/features/apiAntivirus/antivirus.feature +++ b/tests/acceptance/features/apiAntivirus/antivirus.feature @@ -253,7 +253,7 @@ Feature: antivirus | eicar.com | virusFile1.txt | Virus found in virusFile1.txt. Upload not possible. Virus: | | eicar_com.zip | virusFile2.zip | Virus found in virusFile2.zip. Upload not possible. Virus: | - @env-config @issue-6494 + @env-config @issue-6494 Scenario Outline: upload a file with virus by setting antivirus infected file handling config to continue Given the config "ANTIVIRUS_INFECTED_FILE_HANDLING" has been set to "continue" And using DAV path diff --git a/tests/acceptance/features/apiGuestLink/guestLinkInvitation.feature b/tests/acceptance/features/apiGuestLink/guestLinkInvitation.feature index bba9358777..02f8425981 100644 --- a/tests/acceptance/features/apiGuestLink/guestLinkInvitation.feature +++ b/tests/acceptance/features/apiGuestLink/guestLinkInvitation.feature @@ -136,6 +136,83 @@ Feature: share a resource with a guest via email address } """ + + Scenario: sharer lists the permissions of a resource shared with a guest + Given user "Alice" has sent the following resource share invitation: + | resource | textfile.txt | + | space | Personal | + | sharee | guest@example.org | + | shareType | guest | + | permissionsRole | Viewer | + When user "Alice" gets permissions list for file "textfile.txt" of the space "Personal" using the Graph API + Then the HTTP status code should be "200" + And the JSON data of the response should match + """ + { + "type": "object", + "required": ["value"], + "properties": { + "value": { + "type": "array", + "minItems": 1, + "maxItems": 1, + "items": { + "type": "object", + "required": ["id", "roles", "grantedToV2", "invitation"], + "properties": { + "id": { + "type": "string", + "pattern": "^%permissions_id_pattern%$" + }, + "roles": { + "type": "array", + "minItems": 1, + "maxItems": 1, + "items": { "const": "b1e2218d-eef8-4d4c-b82d-0f1a1b48f3b5" } + }, + "grantedToV2": { + "type": "object", + "required": ["user"], + "properties": { + "user": { + "type": "object", + "required": ["@libre.graph.userType", "displayName", "id"], + "properties": { + "@libre.graph.userType": { "const": "Guest" }, + "displayName": { "const": "guest@example.org" }, + "id": { "const": "guest@example.org" } + } + } + } + }, + "invitation": { + "type": "object", + "required": ["invitedBy"], + "properties": { + "invitedBy": { + "type": "object", + "required": ["user"], + "properties": { + "user": { + "type": "object", + "required": ["@libre.graph.userType", "displayName", "id"], + "properties": { + "@libre.graph.userType": { "const": "Member" }, + "displayName": { "const": "Alice Hansen" }, + "id": { "type": "string", "pattern": "^%user_id_pattern%$" } + } + } + } + } + } + } + } + } + } + } + } + """ + @email Scenario: guest receives an email with a guest link When user "Alice" sends the following resource share invitation using the Graph API: diff --git a/tests/acceptance/features/apiGuestLink/guestLinkShareTypes.feature b/tests/acceptance/features/apiGuestLink/guestLinkShareTypes.feature new file mode 100644 index 0000000000..bb05475075 --- /dev/null +++ b/tests/acceptance/features/apiGuestLink/guestLinkShareTypes.feature @@ -0,0 +1,77 @@ +@email +Feature: share types of resources shared with a guest + As a user + I want to see which of my resources are shared with a guest + So that I know who has access to them + + Background: + Given using SharingNG + And user "Alice" has been created with default attributes + And user "Alice" has created folder "parent" + And user "Alice" has created folder "parent/folderToShare" + And user "Alice" has uploaded file with content "to share" to "parent/textfile.txt" + + + Scenario Outline: check the share-types property of a resource shared with a guest + Given user "Alice" has sent the following resource share invitation: + | resource | | + | space | Personal | + | sharee | guest@example.org | + | shareType | guest | + | permissionsRole | Viewer | + When user "Alice" gets the following properties of resource "" inside space "Personal" using the WebDAV API + | propertyName | + | oc:share-types | + Then the HTTP status code should be "207" + And the response should contain a share-types property with + | 4 | + Examples: + | resource | + | parent/textfile.txt | + | parent/folderToShare | + + + Scenario: check the share-types property of a resource shared with a user, a group and a guest + Given user "Brian" has been created with default attributes + And user "Alice" has sent the following resource share invitation: + | resource | parent/textfile.txt | + | space | Personal | + | sharee | Brian | + | shareType | user | + | permissionsRole | Viewer | + And group "grp1" has been created + And user "Alice" has sent the following resource share invitation: + | resource | parent/textfile.txt | + | space | Personal | + | sharee | grp1 | + | shareType | group | + | permissionsRole | Viewer | + And user "Alice" has sent the following resource share invitation: + | resource | parent/textfile.txt | + | space | Personal | + | sharee | guest@example.org | + | shareType | guest | + | permissionsRole | Viewer | + When user "Alice" gets the following properties of resource "parent/textfile.txt" inside space "Personal" using the WebDAV API + | propertyName | + | oc:share-types | + Then the HTTP status code should be "207" + And the response should contain a share-types property with + | 0 | + | 1 | + | 4 | + + + Scenario: check the share-types property of a resource after the guest share is removed + Given user "Alice" has sent the following resource share invitation: + | resource | parent/textfile.txt | + | space | Personal | + | sharee | guest@example.org | + | shareType | guest | + | permissionsRole | Viewer | + And user "Alice" has removed the access of guest "guest@example.org" from resource "parent/textfile.txt" of space "Personal" + When user "Alice" gets the following properties of resource "parent/textfile.txt" inside space "Personal" using the WebDAV API + | propertyName | + | oc:share-types | + Then the HTTP status code should be "207" + And the response should contain an empty property "oc:share-types" diff --git a/tests/acceptance/features/apiSearch1/search.feature b/tests/acceptance/features/apiSearch1/search.feature index 6b3b6ae378..70cef0bf4c 100644 --- a/tests/acceptance/features/apiSearch1/search.feature +++ b/tests/acceptance/features/apiSearch1/search.feature @@ -435,7 +435,7 @@ Feature: Search | new | | spaces | - @skip @issue-3501 @issue-9780 + @issue-3501 Scenario Outline: report extra properties in search entries for a file Given using DAV path When user "Alice" searches for "*insideTheFo*" using the WebDAV API requesting these properties: @@ -444,27 +444,23 @@ Feature: Search | d:getlastmodified | | d:getetag | | d:getcontenttype | - | oc:size | - | oc:owner-id | - | oc:owner-display-name | + | d:getcontentlength | Then the HTTP status code should be "207" And file "insideTheFolder.txt" in the search result of user "Alice" should contain these properties: | name | value | - | oc:fileid | \d* | + | oc:fileid | ^[0-9a-f-]+\$[0-9a-f-]+![0-9a-f-]+$ | | oc:permissions | ^(RDNVW\|RMDNVW)$ | | d:getlastmodified | ^[MTWFS][uedhfriatno]{2},\s(\d){2}\s[JFMAJSOND][anebrpyulgctov]{2}\s\d{4}\s\d{2}:\d{2}:\d{2} GMT$ | | d:getetag | ^\"[a-f0-9:\.]{1,32}\"$ | - | d:getcontenttype | text\/plain | - | oc:size | 15 | - | oc:owner-id | %username% | - | oc:owner-display-name | %displayname% | + | d:getcontenttype | ^text\/plain$ | + | d:getcontentlength | ^12$ | Examples: | dav-path-version | | old | | new | | spaces | - @skip @issue-3501 @issue-9780 + @issue-3501 Scenario Outline: report extra properties in search entries for a folder Given using DAV path When user "Alice" searches for "*folderMain*" using the WebDAV API requesting these properties: @@ -474,18 +470,14 @@ Feature: Search | d:getetag | | d:getcontenttype | | oc:size | - | oc:owner-id | - | oc:owner-display-name | Then the HTTP status code should be "207" And folder "folderMain" in the search result of user "Alice" should contain these properties: | name | value | - | oc:fileid | \d* | + | oc:fileid | ^[0-9a-f-]+\$[0-9a-f-]+![0-9a-f-]+$ | | oc:permissions | ^(RDNVCK\|RMDNVCK)$ | | d:getlastmodified | ^[MTWFS][uedhfriatno]{2},\s(\d){2}\s[JFMAJSOND][anebrpyulgctov]{2}\s\d{4}\s\d{2}:\d{2}:\d{2} GMT$ | | d:getetag | ^\"[a-f0-9:\.]{1,32}\"$ | - | oc:size | 0 | - | oc:owner-id | %username% | - | oc:owner-display-name | %displayname% | + | oc:size | ^12$ | Examples: | dav-path-version | | old | diff --git a/tests/acceptance/features/apiSettings/notificationSetting.feature b/tests/acceptance/features/apiSettings/notificationSetting.feature index a0909ec93c..18dd797796 100644 --- a/tests/acceptance/features/apiSettings/notificationSetting.feature +++ b/tests/acceptance/features/apiSettings/notificationSetting.feature @@ -1,4 +1,3 @@ -@notification Feature: Disable notifications for individual events As a user I want to disable notifications for specific events diff --git a/tests/acceptance/features/apiSharingNg1/listPermissions.feature b/tests/acceptance/features/apiSharingNg1/listPermissions.feature index 349554522f..f91d0f31f8 100644 --- a/tests/acceptance/features/apiSharingNg1/listPermissions.feature +++ b/tests/acceptance/features/apiSharingNg1/listPermissions.feature @@ -307,7 +307,7 @@ Feature: List a sharing permissions } """ - @issues-8352 + @issue-8352 Scenario Outline: sharer lists permissions of a shared project space Given using spaces DAV path And user "Brian" has been created with default attributes @@ -584,7 +584,7 @@ Feature: List a sharing permissions | Space Editor | | Manager | - @issues-8331 + @issue-8331 Scenario: user lists permissions of a file in personal space Given user "Alice" has uploaded file with content "hello world" to "/textfile0.txt" When user "Alice" gets permissions list for file "textfile0.txt" of the space "Personal" using the Graph API @@ -681,7 +681,7 @@ Feature: List a sharing permissions } """ - @issues-8331 + @issue-8331 Scenario: user lists permissions of a folder in project space Given using spaces DAV path And the administrator has assigned the role "Admin" to user "Alice" using the Graph API @@ -804,7 +804,7 @@ Feature: List a sharing permissions } """ - @issues-8331 + @issue-8331 Scenario: user lists permissions of a file in project space Given using spaces DAV path And the administrator has assigned the role "Admin" to user "Alice" using the Graph API @@ -904,7 +904,7 @@ Feature: List a sharing permissions } """ - @issues-8331 + @issue-8331 Scenario: user sends share invitation with all allowed roles for a file Given user "Alice" has uploaded file with content "hello text" to "textfile.txt" And user "Brian" has been created with default attributes @@ -916,7 +916,7 @@ Feature: List a sharing permissions | sharee | Brian | | shareType | user | - @issues-8331 + @issue-8331 Scenario: user sends share invitation with all allowed roles for a folder Given user "Alice" has created folder "folder" And user "Brian" has been created with default attributes @@ -928,7 +928,7 @@ Feature: List a sharing permissions | sharee | Brian | | shareType | user | - @issues-8351 + @issue-8351 Scenario: user lists permissions of a project space using root endpoint Given using spaces DAV path And the administrator has assigned the role "Space Admin" to user "Alice" using the Graph API @@ -1266,7 +1266,7 @@ Feature: List a sharing permissions } """ - @issues-8331 + @issue-8331 Scenario: user sends share invitation with all allowed roles for a folder in project space Given using spaces DAV path And the administrator has assigned the role "Admin" to user "Alice" using the Graph API @@ -1792,7 +1792,7 @@ Feature: List a sharing permissions } """ - @issues-8428 + @issue-8428 Scenario: user lists permissions of a shared folder in personal space Given user "Brian" has been created with default attributes And user "Alice" has created folder "folder" @@ -1897,7 +1897,7 @@ Feature: List a sharing permissions } """ - @issues-8428 + @issue-8428 Scenario: user lists permissions of a shared file in personal space Given user "Brian" has been created with default attributes And user "Alice" has uploaded file with content "hello world" to "/textfile0.txt" @@ -1998,7 +1998,7 @@ Feature: List a sharing permissions } """ - @issues-8428 + @issue-8428 Scenario: user lists permissions of a shared folder in project space Given using spaces DAV path And user "Brian" has been created with default attributes @@ -2106,7 +2106,7 @@ Feature: List a sharing permissions } """ - @issues-8428 + @issue-8428 Scenario: user lists permissions of a shared file in project space Given using spaces DAV path And user "Brian" has been created with default attributes diff --git a/tests/acceptance/features/apiSharingNgLinkSharePermission/updateLinkShare.feature b/tests/acceptance/features/apiSharingNgLinkSharePermission/updateLinkShare.feature index bd393bc267..cfb63e7464 100644 --- a/tests/acceptance/features/apiSharingNgLinkSharePermission/updateLinkShare.feature +++ b/tests/acceptance/features/apiSharingNgLinkSharePermission/updateLinkShare.feature @@ -784,7 +784,7 @@ Feature: Update a link share for a resource | createOnly | edit | | createOnly | upload | - @issues-8405 + @issue-8405 Scenario Outline: remove expiration date of a resource link share using permissions endpoint Given user "Alice" has uploaded file with content "other data" to "textfile1.txt" And user "Alice" has created folder "folder" diff --git a/tests/acceptance/features/apiSharingNgLinkShareRoot/createLinkShare.feature b/tests/acceptance/features/apiSharingNgLinkShareRoot/createLinkShare.feature index 19426fb6a4..84edbea6c8 100644 --- a/tests/acceptance/features/apiSharingNgLinkShareRoot/createLinkShare.feature +++ b/tests/acceptance/features/apiSharingNgLinkShareRoot/createLinkShare.feature @@ -347,7 +347,7 @@ Feature: Create a link share for a resource | upload | | createOnly | - @issue-7879 @skip-local-run + @issue-7879 Scenario Outline: try to create a link share of a project-space drive with a password that is listed in the Banned-Password-List using root endpoint Given the config "OC_PASSWORD_POLICY_BANNED_PASSWORDS_LIST" has been set to path "config/woodpecker/banned-password-list.txt" And using spaces DAV path diff --git a/tests/acceptance/features/cliCommands/cleanupFileVersions.feature b/tests/acceptance/features/cliCommands/cleanupFileVersions.feature index 6c8a60da33..2a5ed8dbd0 100644 --- a/tests/acceptance/features/cliCommands/cleanupFileVersions.feature +++ b/tests/acceptance/features/cliCommands/cleanupFileVersions.feature @@ -138,7 +138,7 @@ Feature: clean up old file versions according to a cleanup strategy Then the HTTP status code should be "207" And the number of versions should be "1" - @skipOnOpencloud-decomposed-Storage @skipOnOpencloud-decomposeds3-Storage + @skipOnOpencloud-decomposed-Storage Scenario: clean up a folder given by its path on the POSIX filesystem Given user "Alice" has created folder "folder" And user "Alice" has uploaded file with content "version 1" to "folder/inFolder.txt" diff --git a/tests/acceptance/features/cliCommands/posixfsConsistency.feature b/tests/acceptance/features/cliCommands/posixfsConsistency.feature index 756e76b155..ebf09b2d02 100644 --- a/tests/acceptance/features/cliCommands/posixfsConsistency.feature +++ b/tests/acceptance/features/cliCommands/posixfsConsistency.feature @@ -1,4 +1,4 @@ -@env-config @skipOnOpencloud-decomposed-Storage @skipOnOpencloud-decomposeds3-Storage +@env-config @skipOnOpencloud-decomposed-Storage Feature: posixfs consistency CLI command As an administrator I want to check and repair the consistency of the posix filesystem metadata diff --git a/tests/acceptance/features/cliCommands/posixfsScan.feature b/tests/acceptance/features/cliCommands/posixfsScan.feature index f15febe1a4..5fbdd1bc01 100644 --- a/tests/acceptance/features/cliCommands/posixfsScan.feature +++ b/tests/acceptance/features/cliCommands/posixfsScan.feature @@ -1,4 +1,4 @@ -@env-config @skipOnOpencloud-decomposed-Storage @skipOnOpencloud-decomposeds3-Storage +@env-config @skipOnOpencloud-decomposed-Storage Feature: posixfs scan CLI command As an administrator I want to scan the posix filesystem for files that were added outside of OpenCloud diff --git a/tests/acceptance/features/collaborativePosix/cleanupFileVersions.feature b/tests/acceptance/features/collaborativePosix/cleanupFileVersions.feature index aee5abd9b8..d874bff8ba 100644 --- a/tests/acceptance/features/collaborativePosix/cleanupFileVersions.feature +++ b/tests/acceptance/features/collaborativePosix/cleanupFileVersions.feature @@ -1,4 +1,4 @@ -@env-config @skipOnOpencloud-decomposed-Storage @skipOnOpencloud-decomposeds3-Storage +@env-config @skipOnOpencloud-decomposed-Storage Feature: clean up old file versions that changes on the POSIX filesystem created As an administrator I want versions created by changes on the POSIX filesystem to be cleaned up like any other version diff --git a/tests/acceptance/features/collaborativePosix/collaborativePosixFS.feature b/tests/acceptance/features/collaborativePosix/collaborativePosixFS.feature index a4a5b80ded..86dc9dc379 100644 --- a/tests/acceptance/features/collaborativePosix/collaborativePosixFS.feature +++ b/tests/acceptance/features/collaborativePosix/collaborativePosixFS.feature @@ -1,4 +1,4 @@ -@env-config @skipOnOpencloud-decomposed-Storage @skipOnOpencloud-decomposeds3-Storage +@env-config @skipOnOpencloud-decomposed-Storage Feature: create a resources using collaborative posixfs Background: diff --git a/tests/acceptance/features/coreApiAuth/ocsDELETEAuth.feature b/tests/acceptance/features/coreApiAuth/ocsDELETEAuth.feature index 12815f1f01..19a693b492 100644 --- a/tests/acceptance/features/coreApiAuth/ocsDELETEAuth.feature +++ b/tests/acceptance/features/coreApiAuth/ocsDELETEAuth.feature @@ -3,7 +3,7 @@ Feature: auth I want to send delete request with wrong password So that I can make sure it doesn't work - @smokeTest @issue-1337 @issue-1319 + @issue-1337 @issue-1319 Scenario: send DELETE requests to OCS endpoints as admin with wrong password When user "admin" requests these endpoints with "DELETE" using password "invalid" about user "Alice" | endpoint | diff --git a/tests/acceptance/features/coreApiAuth/ocsGETAuth.feature b/tests/acceptance/features/coreApiAuth/ocsGETAuth.feature index 4ba9c13b8e..e0f6673c11 100644 --- a/tests/acceptance/features/coreApiAuth/ocsGETAuth.feature +++ b/tests/acceptance/features/coreApiAuth/ocsGETAuth.feature @@ -6,7 +6,7 @@ Feature: auth Background: Given user "Alice" has been created with default attributes - @issue-1337 @smokeTest + @issue-1337 Scenario: using OCS anonymously When a user requests these endpoints with "GET" and no authentication | endpoint | @@ -67,7 +67,7 @@ Feature: auth | /ocs/v2.php/cloud/users | Then the HTTP status code of responses on all endpoints should be "404" - @issue-1338 @issue-1337 @smokeTest + @issue-1338 @issue-1337 Scenario: using OCS as normal user with wrong password When user "Alice" requests these endpoints with "GET" using password "invalid" | endpoint | diff --git a/tests/acceptance/features/coreApiAuth/ocsPOSTAuth.feature b/tests/acceptance/features/coreApiAuth/ocsPOSTAuth.feature index 351340cfba..787603541f 100644 --- a/tests/acceptance/features/coreApiAuth/ocsPOSTAuth.feature +++ b/tests/acceptance/features/coreApiAuth/ocsPOSTAuth.feature @@ -6,7 +6,7 @@ Feature: auth Background: Given user "Alice" has been created with default attributes - @issue-1337 @smokeTest + @issue-1337 Scenario: send POST requests to OCS endpoints as normal user with wrong password When user "Alice" requests these endpoints with "POST" including body "doesnotmatter" using password "invalid" about user "Alice" | endpoint | diff --git a/tests/acceptance/features/coreApiAuth/ocsPUTAuth.feature b/tests/acceptance/features/coreApiAuth/ocsPUTAuth.feature index 4d2931d139..84cfabacda 100644 --- a/tests/acceptance/features/coreApiAuth/ocsPUTAuth.feature +++ b/tests/acceptance/features/coreApiAuth/ocsPUTAuth.feature @@ -3,7 +3,7 @@ Feature: auth I want to send PUT request to various endpoints So that I can make sure the endpoints need proper authentication - @issue-1337 @smokeTest + @issue-1337 Scenario: send PUT request to OCS endpoints as admin with wrong password When user "admin" requests these endpoints with "PUT" including body "doesnotmatter" using password "invalid" about user "Alice" | endpoint | diff --git a/tests/acceptance/features/coreApiAuth/webDavAuth.feature b/tests/acceptance/features/coreApiAuth/webDavAuth.feature index f42bc278d9..04c78fbf41 100644 --- a/tests/acceptance/features/coreApiAuth/webDavAuth.feature +++ b/tests/acceptance/features/coreApiAuth/webDavAuth.feature @@ -6,7 +6,7 @@ Feature: auth Background: Given user "Alice" has been created with default attributes - @smokeTest @issue-10334 + @issue-10334 Scenario Outline: using WebDAV anonymously When a user requests "" with "PROPFIND" and no authentication Then the HTTP status code should be "401" @@ -16,7 +16,7 @@ Feature: auth | /dav/files/%username% | | /dav/spaces/%spaceid% | - @smokeTest @issue-10334 + @issue-10334 Scenario Outline: using WebDAV with basic auth When user "Alice" requests "" with "PROPFIND" using basic auth Then the HTTP status code should be "207" diff --git a/tests/acceptance/features/coreApiAuth/webDavCOPYAuth.feature b/tests/acceptance/features/coreApiAuth/webDavCOPYAuth.feature index 1fedc78bb2..be4d763cbb 100644 --- a/tests/acceptance/features/coreApiAuth/webDavCOPYAuth.feature +++ b/tests/acceptance/features/coreApiAuth/webDavCOPYAuth.feature @@ -14,7 +14,7 @@ Feature: COPY file/folder And user "Alice" has uploaded file with content "some data" to "/PARENT/parent.txt" And using new DAV path - @smokeTest + Scenario: send COPY requests to webDav endpoints as normal user with wrong password When user "Alice" requests these endpoints with "COPY" using password "invalid" about user "Alice" | endpoint | @@ -28,7 +28,7 @@ Feature: COPY file/folder | /dav/spaces/%spaceid%/PARENT/parent.txt | Then the HTTP status code of responses on all endpoints should be "401" - @smokeTest + Scenario: send COPY requests to webDav endpoints as normal user with no password When user "Alice" requests these endpoints with "COPY" using password "" about user "Alice" | endpoint | @@ -89,7 +89,7 @@ Feature: COPY file/folder | /dav/spaces/%spaceid%/PARENT/parent.txt | Then the HTTP status code of responses on all endpoints should be "401" - @smokeTest + Scenario: send COPY requests to webDav endpoints without any authentication When a user requests these endpoints with "COPY" with no authentication about user "Alice" | endpoint | diff --git a/tests/acceptance/features/coreApiAuth/webDavDELETEAuth.feature b/tests/acceptance/features/coreApiAuth/webDavDELETEAuth.feature index 24478a30af..c2d6f107c7 100644 --- a/tests/acceptance/features/coreApiAuth/webDavDELETEAuth.feature +++ b/tests/acceptance/features/coreApiAuth/webDavDELETEAuth.feature @@ -14,7 +14,7 @@ Feature: delete file/folder And user "Alice" has created folder "/FOLDER" And user "Alice" has uploaded file with content "some data" to "/PARENT/parent.txt" - @smokeTest + Scenario: send DELETE requests to webDav endpoints as normal user with wrong password When user "Alice" requests these endpoints with "DELETE" using password "invalid" about user "Alice" | endpoint | @@ -62,7 +62,7 @@ Feature: delete file/folder | /dav/spaces/%spaceid%/PARENT/parent.txt | Then the HTTP status code of responses on all endpoints should be "404" - @smokeTest + Scenario: send DELETE requests to webDav endpoints using invalid username but correct password When user "usero" requests these endpoints with "DELETE" using the password of user "Alice" | endpoint | @@ -90,7 +90,7 @@ Feature: delete file/folder | /dav/spaces/%spaceid%/PARENT/parent.txt | Then the HTTP status code of responses on all endpoints should be "401" - @smokeTest + Scenario: send DELETE requests to webDav endpoints without any authentication When a user requests these endpoints with "DELETE" with no authentication about user "Alice" | endpoint | diff --git a/tests/acceptance/features/coreApiAuth/webDavLOCKAuth.feature b/tests/acceptance/features/coreApiAuth/webDavLOCKAuth.feature index 98f8320ab1..061c29723f 100644 --- a/tests/acceptance/features/coreApiAuth/webDavLOCKAuth.feature +++ b/tests/acceptance/features/coreApiAuth/webDavLOCKAuth.feature @@ -14,7 +14,7 @@ Feature: LOCK file/folder And user "Alice" has created folder "/FOLDER" And user "Alice" has uploaded file with content "some data" to "/PARENT/parent.txt" - @smokeTest + Scenario: send LOCK requests to webDav endpoints as normal user with wrong password When user "Alice" requests these endpoints with "LOCK" including body "doesnotmatter" using password "invalid" about user "Alice" | endpoint | @@ -28,7 +28,7 @@ Feature: LOCK file/folder | /dav/spaces/%spaceid%/PARENT/parent.txt | Then the HTTP status code of responses on all endpoints should be "401" - @smokeTest + Scenario: send LOCK requests to webDav endpoints as normal user with no password When user "Alice" requests these endpoints with "LOCK" including body "doesnotmatter" using password "" about user "Alice" | endpoint | @@ -94,7 +94,7 @@ Feature: LOCK file/folder | /dav/spaces/%spaceid%/PARENT/parent.txt | Then the HTTP status code of responses on all endpoints should be "401" - @smokeTest + Scenario: send LOCK requests to webDav endpoints without any authentication When a user requests these endpoints with "LOCK" with body "doesnotmatter" and no authentication about user "Alice" | endpoint | diff --git a/tests/acceptance/features/coreApiAuth/webDavMKCOLAuth.feature b/tests/acceptance/features/coreApiAuth/webDavMKCOLAuth.feature index 70711b9e9a..72f4f97325 100644 --- a/tests/acceptance/features/coreApiAuth/webDavMKCOLAuth.feature +++ b/tests/acceptance/features/coreApiAuth/webDavMKCOLAuth.feature @@ -10,7 +10,7 @@ Feature: create folder using MKCOL And user "Alice" has created folder "/FOLDER" And user "Alice" has uploaded file with content "some data" to "/PARENT/parent.txt" - @smokeTest + Scenario: send MKCOL requests to webDav endpoints as normal user with wrong password When user "Alice" requests these endpoints with "MKCOL" including body "doesnotmatter" using password "invalid" about user "Alice" | endpoint | @@ -24,7 +24,7 @@ Feature: create folder using MKCOL | /dav/spaces/%spaceid%/PARENT/parent.txt | Then the HTTP status code of responses on all endpoints should be "401" - @smokeTest + Scenario: send MKCOL requests to webDav endpoints as normal user with no password When user "Alice" requests these endpoints with "MKCOL" including body "doesnotmatter" using password "" about user "Alice" | endpoint | @@ -111,7 +111,7 @@ Feature: create folder using MKCOL | /dav/spaces/%spaceid%/PARENT/parent.txt | Then the HTTP status code of responses on all endpoints should be "401" - @smokeTest + Scenario: send MKCOL requests to webDav endpoints without any authentication When a user requests these endpoints with "MKCOL" with body "doesnotmatter" and no authentication about user "Alice" | endpoint | diff --git a/tests/acceptance/features/coreApiAuth/webDavMOVEAuth.feature b/tests/acceptance/features/coreApiAuth/webDavMOVEAuth.feature index db2a6e14aa..f6455511b3 100644 --- a/tests/acceptance/features/coreApiAuth/webDavMOVEAuth.feature +++ b/tests/acceptance/features/coreApiAuth/webDavMOVEAuth.feature @@ -13,7 +13,7 @@ Feature: MOVE file/folder And user "Alice" has created folder "/FOLDER" And user "Alice" has uploaded file with content "some data" to "/PARENT/parent.txt" - @smokeTest + Scenario: send MOVE requests to webDav endpoints as normal user with wrong password When user "Alice" requests these endpoints with "MOVE" using password "invalid" about user "Alice" | endpoint | @@ -27,7 +27,7 @@ Feature: MOVE file/folder | /dav/spaces/%spaceid%/PARENT/parent.txt | Then the HTTP status code of responses on all endpoints should be "401" - @smokeTest + Scenario: send MOVE requests to webDav endpoints as normal user with no password When user "Alice" requests these endpoints with "MOVE" using password "" about user "Alice" | endpoint | @@ -88,7 +88,7 @@ Feature: MOVE file/folder | /dav/spaces/%spaceid%/PARENT/parent.txt | Then the HTTP status code of responses on all endpoints should be "401" - @smokeTest + Scenario: send MOVE requests to webDav endpoints without any authentication When a user requests these endpoints with "MOVE" with no authentication about user "Alice" | endpoint | diff --git a/tests/acceptance/features/coreApiAuth/webDavPOSTAuth.feature b/tests/acceptance/features/coreApiAuth/webDavPOSTAuth.feature index 2113a4f2ec..0840907bbf 100644 --- a/tests/acceptance/features/coreApiAuth/webDavPOSTAuth.feature +++ b/tests/acceptance/features/coreApiAuth/webDavPOSTAuth.feature @@ -14,7 +14,7 @@ Feature: POST file/folder And user "Alice" has created folder "/FOLDER" And user "Alice" has uploaded file with content "some data" to "/PARENT/parent.txt" - @smokeTest + Scenario: send POST requests to webDav endpoints as normal user with wrong password When user "Alice" requests these endpoints with "POST" including body "doesnotmatter" using password "invalid" about user "Alice" | endpoint | @@ -28,7 +28,7 @@ Feature: POST file/folder | /dav/spaces/%spaceid%/PARENT/parent.txt | Then the HTTP status code of responses on all endpoints should be "401" - @smokeTest + Scenario: send POST requests to webDav endpoints as normal user with no password When user "Alice" requests these endpoints with "POST" including body "doesnotmatter" using password "" about user "Alice" | endpoint | @@ -88,7 +88,7 @@ Feature: POST file/folder | /dav/spaces/%spaceid%/PARENT/parent.txt | Then the HTTP status code of responses on all endpoints should be "401" - @smokeTest + Scenario: send POST requests to webDav endpoints without any authentication When a user requests these endpoints with "POST" with body "doesnotmatter" and no authentication about user "Alice" | endpoint | diff --git a/tests/acceptance/features/coreApiAuth/webDavPROPFINDAuth.feature b/tests/acceptance/features/coreApiAuth/webDavPROPFINDAuth.feature index 1136c8af44..e07128eb03 100644 --- a/tests/acceptance/features/coreApiAuth/webDavPROPFINDAuth.feature +++ b/tests/acceptance/features/coreApiAuth/webDavPROPFINDAuth.feature @@ -13,7 +13,7 @@ Feature: PROPFIND file/folder And user "Alice" has created folder "/FOLDER" And user "Alice" has uploaded file with content "some data" to "/PARENT/parent.txt" - @smokeTest + Scenario: send PROPFIND requests to webDav endpoints as normal user with wrong password When user "Alice" requests these endpoints with "PROPFIND" including body "doesnotmatter" using password "invalid" about user "Alice" | endpoint | @@ -27,7 +27,7 @@ Feature: PROPFIND file/folder | /dav/spaces/%spaceid%/PARENT/parent.txt | Then the HTTP status code of responses on all endpoints should be "401" - @smokeTest + Scenario: send PROPFIND requests to webDav endpoints as normal user with no password When user "Alice" requests these endpoints with "PROPFIND" including body "doesnotmatter" using password "" about user "Alice" | endpoint | @@ -87,7 +87,7 @@ Feature: PROPFIND file/folder | /dav/spaces/%spaceid%/PARENT/parent.txt | Then the HTTP status code of responses on all endpoints should be "401" - @smokeTest + Scenario: send PROPFIND requests to webDav endpoints without any authentication When a user requests these endpoints with "PROPFIND" with body "doesnotmatter" and no authentication about user "Alice" | endpoint | diff --git a/tests/acceptance/features/coreApiAuth/webDavPROPPATCHAuth.feature b/tests/acceptance/features/coreApiAuth/webDavPROPPATCHAuth.feature index ffa0f68fce..b5a9ab64a5 100644 --- a/tests/acceptance/features/coreApiAuth/webDavPROPPATCHAuth.feature +++ b/tests/acceptance/features/coreApiAuth/webDavPROPPATCHAuth.feature @@ -14,7 +14,7 @@ Feature: PROPPATCH file/folder And user "Alice" has created folder "/FOLDER" And user "Alice" has uploaded file with content "some data" to "/PARENT/parent.txt" - @smokeTest + Scenario: send PROPPATCH requests to webDav endpoints as normal user with wrong password When user "Alice" requests these endpoints with "PROPPATCH" including body "doesnotmatter" using password "invalid" about user "Alice" | endpoint | @@ -28,7 +28,7 @@ Feature: PROPPATCH file/folder | /dav/spaces/%spaceid%/PARENT/parent.txt | Then the HTTP status code of responses on all endpoints should be "401" - @smokeTest + Scenario: send PROPPATCH requests to webDav endpoints as normal user with no password When user "Alice" requests these endpoints with "PROPPATCH" including body "doesnotmatter" using password "" about user "Alice" | endpoint | @@ -70,7 +70,7 @@ Feature: PROPPATCH file/folder | /dav/spaces/%spaceid%/PARENT/parent.txt | Then the HTTP status code of responses on all endpoints should be "401" - @smokeTest + Scenario: send PROPPATCH requests to webDav endpoints without any authentication When a user requests these endpoints with "PROPPATCH" with body "doesnotmatter" and no authentication about user "Alice" | endpoint | diff --git a/tests/acceptance/features/coreApiAuth/webDavPUTAuth.feature b/tests/acceptance/features/coreApiAuth/webDavPUTAuth.feature index c76beaadaf..31777ee143 100644 --- a/tests/acceptance/features/coreApiAuth/webDavPUTAuth.feature +++ b/tests/acceptance/features/coreApiAuth/webDavPUTAuth.feature @@ -14,7 +14,7 @@ Feature: PUT file/folder And user "Alice" has created folder "/FOLDER" And user "Alice" has uploaded file with content "some data" to "/PARENT/parent.txt" - @smokeTest + Scenario: send PUT requests to webDav endpoints as normal user with wrong password When user "Alice" requests these endpoints with "PUT" including body "doesnotmatter" using password "invalid" about user "Alice" | endpoint | @@ -28,7 +28,7 @@ Feature: PUT file/folder | /dav/spaces/%spaceid%/PARENT/parent.txt | Then the HTTP status code of responses on all endpoints should be "401" - @smokeTest + Scenario: send PUT requests to webDav endpoints as normal user with no password When user "Alice" requests these endpoints with "PUT" including body "doesnotmatter" using password "" about user "Alice" | endpoint | @@ -94,7 +94,7 @@ Feature: PUT file/folder | /dav/spaces/%spaceid%/PARENT/parent.txt | Then the HTTP status code of responses on all endpoints should be "401" - @smokeTest + Scenario: send PUT requests to webDav endpoints without any authentication When a user requests these endpoints with "PUT" with body "doesnotmatter" and no authentication about user "Alice" | endpoint | diff --git a/tests/acceptance/features/coreApiCapabilities/capabilities.feature b/tests/acceptance/features/coreApiCapabilities/capabilities.feature index f4731872b2..7e91d1330e 100644 --- a/tests/acceptance/features/coreApiCapabilities/capabilities.feature +++ b/tests/acceptance/features/coreApiCapabilities/capabilities.feature @@ -6,7 +6,7 @@ Feature: capabilities Background: Given using OCS API version "1" - @smokeTest @issue-1285 + @issue-1285 Scenario: getting default capabilities with admin user When the administrator retrieves the capabilities using the capabilities API Then the OCS status code should be "100" @@ -166,7 +166,7 @@ Feature: capabilities } """ - @smokeTest + Scenario: getting default capabilities with version string with admin user When the administrator retrieves the capabilities using the capabilities API Then the ocs JSON data of the response should match diff --git a/tests/acceptance/features/coreApiMain/checksums.feature b/tests/acceptance/features/coreApiMain/checksums.feature index 1d1a6e3b64..7478412d79 100644 --- a/tests/acceptance/features/coreApiMain/checksums.feature +++ b/tests/acceptance/features/coreApiMain/checksums.feature @@ -17,7 +17,7 @@ Feature: checksums | new | | spaces | - @smokeTest @issue-1291 + @issue-1291 Scenario Outline: uploading a file with checksum should return the checksum in the propfind Given using DAV path And user "Alice" has uploaded file "filesForUpload/textfile.txt" to "/myChecksumFile.txt" with checksum "MD5:d70b40f177b14b470d1756a3c12b963a" @@ -29,7 +29,7 @@ Feature: checksums | new | | spaces | - @smokeTest @issue-1316 + @issue-1316 Scenario Outline: uploading a file with checksum should return the checksum in the download header Given using DAV path And user "Alice" has uploaded file "filesForUpload/textfile.txt" to "/myChecksumFile.txt" with checksum "MD5:d70b40f177b14b470d1756a3c12b963a" @@ -273,7 +273,7 @@ Feature: checksums | new | | spaces | - @skipOnStorage:ceph @skipOnStorage:scality @issue-1291 + @issue-1291 Scenario Outline: uploading a file with invalid SHA1 checksum overwriting an existing file Given using DAV path And user "Alice" has uploaded file with content "OpenCloud test text file 0" to "/textfile0.txt" diff --git a/tests/acceptance/features/coreApiMain/status.feature b/tests/acceptance/features/coreApiMain/status.feature index 77b3043d7e..cc3a7ce0cf 100644 --- a/tests/acceptance/features/coreApiMain/status.feature +++ b/tests/acceptance/features/coreApiMain/status.feature @@ -3,7 +3,7 @@ Feature: Status I want to check status of the server So that I can ensure that the server is working - @smokeTest + Scenario: Status.php is correct When the administrator requests status.php Then the status.php response should include diff --git a/tests/acceptance/features/coreApiShareCreateSpecialToShares1/createShareUniqueReceivedNames.feature b/tests/acceptance/features/coreApiShareCreateSpecialToShares1/createShareUniqueReceivedNames.feature index c8bc01de1c..1b99997501 100644 --- a/tests/acceptance/features/coreApiShareCreateSpecialToShares1/createShareUniqueReceivedNames.feature +++ b/tests/acceptance/features/coreApiShareCreateSpecialToShares1/createShareUniqueReceivedNames.feature @@ -12,7 +12,7 @@ Feature: resources shared with the same name are received with unique names | Brian | | Carol | - @smokeTest @issue-2131 + @issue-2131 Scenario: unique target names for incoming shares Given user "Alice" has created folder "/foo" And user "Brian" has created folder "/foo" @@ -24,7 +24,7 @@ Feature: resources shared with the same name are received with unique names | Shares/foo | | /Shares/foo (1) | - @smokeTest @issue-2131 + @issue-2131 Scenario: unique target names for incoming shares when auto-accepting is disabled Given user "Brian" has disabled auto-accepting And user "Alice" has created folder "/foo" diff --git a/tests/acceptance/features/coreApiShareManagementBasicToShares/createShareToSharesFolder.feature b/tests/acceptance/features/coreApiShareManagementBasicToShares/createShareToSharesFolder.feature index 37aa434a7c..3b331ac29f 100644 --- a/tests/acceptance/features/coreApiShareManagementBasicToShares/createShareToSharesFolder.feature +++ b/tests/acceptance/features/coreApiShareManagementBasicToShares/createShareToSharesFolder.feature @@ -7,7 +7,7 @@ Feature: sharing Background: Given user "Alice" has been created with default attributes - @smokeTest + Scenario Outline: creating a share of a file with a user, the default permissions are read(1)+update(2) Given using OCS API version "" And user "Brian" has been created with default attributes @@ -34,7 +34,7 @@ Feature: sharing | 1 | 100 | | 2 | 200 | - @smokeTest @issue-2133 + @issue-2133 Scenario Outline: creating a share of a file containing commas in the filename, with a user, the default permissions are read(1)+update(2)+can-share(16) Given using OCS API version "" And user "Brian" has been created with default attributes @@ -202,7 +202,7 @@ Feature: sharing | 1 | 100 | | 2 | 200 | - @smokeTest + Scenario: share of folder to a group Given these users have been created with default attributes: | username | @@ -232,7 +232,7 @@ Feature: sharing Then user "Alice" should see the following elements | /Shares/PARENT | - @smokeTest + Scenario: user included in multiple groups, shares a folder with a group Given these users have been created with default attributes: | username | @@ -548,7 +548,7 @@ Feature: sharing | old | | new | - @smokeTest + Scenario Outline: creating a share of a renamed file Given using OCS API version "" And user "Brian" has been created with default attributes diff --git a/tests/acceptance/features/coreApiShareManagementBasicToShares/deleteShareFromShares.feature b/tests/acceptance/features/coreApiShareManagementBasicToShares/deleteShareFromShares.feature index 6a2ead9851..08b4e55df3 100644 --- a/tests/acceptance/features/coreApiShareManagementBasicToShares/deleteShareFromShares.feature +++ b/tests/acceptance/features/coreApiShareManagementBasicToShares/deleteShareFromShares.feature @@ -36,7 +36,7 @@ Feature: sharing | 1 | 100 | | 2 | 200 | - @smokeTest + Scenario Outline: delete a share Given using OCS API version "" And using SharingNG @@ -78,7 +78,7 @@ Feature: sharing | new | | spaces | - @smokeTest + Scenario Outline: deleting a file out of a share as recipient creates a backup for the owner Given using DAV path And using OCS API version "1" @@ -131,7 +131,7 @@ Feature: sharing | new | | spaces | - @smokeTest + Scenario: unshare from self And group "grp1" has been created And these users have been created with default attributes: diff --git a/tests/acceptance/features/coreApiShareManagementToShares/acceptShares.feature b/tests/acceptance/features/coreApiShareManagementToShares/acceptShares.feature index 216d3f2cf1..ea412ec0f3 100644 --- a/tests/acceptance/features/coreApiShareManagementToShares/acceptShares.feature +++ b/tests/acceptance/features/coreApiShareManagementToShares/acceptShares.feature @@ -24,7 +24,7 @@ Feature: accept/decline shares coming from internal users And user "Brian" has uploaded file "filesForUpload/textfile.txt" to "textfile0.txt" And user "Brian" has uploaded file "filesForUpload/textfile.txt" to "PARENT/parent.txt" - @smokeTest @issue-2540 + @issue-2540 Scenario: share a file & folder with another internal group when auto accept is disabled Given user "Brian" has disabled auto-accepting And user "Carol" has disabled auto-accepting @@ -80,7 +80,7 @@ Feature: accept/decline shares coming from internal users | /PARENT/ | | /textfile0.txt | - @smokeTest @issue-2131 + @issue-2131 Scenario: accept a pending share Given user "Brian" has disabled auto-accepting And user "Alice" has sent the following resource share invitation: @@ -150,7 +150,7 @@ Feature: accept/decline shares coming from internal users | path | | /Shares/shared/ | - @smokeTest @issue-2540 + @issue-2540 Scenario: declines a pending share Given user "Brian" has disabled auto-accepting And user "Alice" has sent the following resource share invitation: @@ -182,7 +182,7 @@ Feature: accept/decline shares coming from internal users | /PARENT/ | | /textfile0.txt | - @smokeTest @issue-2128 @issue-2540 + @issue-2128 @issue-2540 Scenario: decline an accepted share Given user "Brian" has disabled auto-accepting And user "Alice" has sent the following resource share invitation: diff --git a/tests/acceptance/features/coreApiShareManagementToShares/mergeShare.feature b/tests/acceptance/features/coreApiShareManagementToShares/mergeShare.feature index 1ac1ce5ce6..e5c73ef507 100644 --- a/tests/acceptance/features/coreApiShareManagementToShares/mergeShare.feature +++ b/tests/acceptance/features/coreApiShareManagementToShares/mergeShare.feature @@ -1,4 +1,4 @@ -@skipOnReva @issue-1328 @issues-1289 +@skipOnReva @issue-1328 @issue-1289 Feature: sharing Background: @@ -11,7 +11,7 @@ Feature: sharing And user "Brian" has been added to group "grp1" And user "Brian" has disabled auto-accepting - @smokeTest + Scenario: merging shares for recipient when shared from outside with group and member Given user "Alice" has created folder "/merge-test-outside" When user "Alice" shares folder "/merge-test-outside" with group "grp1" using the sharing API diff --git a/tests/acceptance/features/coreApiShareOperationsToShares1/accessToShare.feature b/tests/acceptance/features/coreApiShareOperationsToShares1/accessToShare.feature index f330acf3b4..680dc894a1 100644 --- a/tests/acceptance/features/coreApiShareOperationsToShares1/accessToShare.feature +++ b/tests/acceptance/features/coreApiShareOperationsToShares1/accessToShare.feature @@ -11,7 +11,7 @@ Feature: sharing | Brian | And user "Alice" has uploaded file with content "some data" to "/textfile0.txt" - @smokeTest + Scenario Outline: sharee can see the share Given using OCS API version "" And user "Alice" has sent the following resource share invitation: @@ -31,7 +31,7 @@ Feature: sharing | 1 | 100 | | 2 | 200 | - @smokeTest + Scenario Outline: sharee can see the filtered share Given using OCS API version "" And user "Alice" has uploaded file with content "some data" to "/textfile1.txt" @@ -59,7 +59,7 @@ Feature: sharing | 1 | 100 | | 2 | 200 | - @smokeTest @issue-1257 + @issue-1257 Scenario Outline: sharee can't see the share that is filtered out Given using OCS API version "" And user "Alice" has uploaded file with content "some data" to "/textfile1.txt" @@ -87,7 +87,7 @@ Feature: sharing | 1 | 100 | | 2 | 200 | - @smokeTest @issue-1289 + @issue-1289 Scenario Outline: sharee can see the group share Given using OCS API version "" And group "grp1" has been created diff --git a/tests/acceptance/features/coreApiShareOperationsToShares1/gettingShares.feature b/tests/acceptance/features/coreApiShareOperationsToShares1/gettingShares.feature index 27d1a6f082..913168efba 100644 --- a/tests/acceptance/features/coreApiShareOperationsToShares1/gettingShares.feature +++ b/tests/acceptance/features/coreApiShareOperationsToShares1/gettingShares.feature @@ -10,7 +10,7 @@ Feature: sharing | Alice | | Brian | - @smokeTest @issue-1258 + @issue-1258 Scenario Outline: getting all shares from a user Given using OCS API version "" And user "Alice" has uploaded file with content "some data" to "/file_to_share.txt" @@ -48,7 +48,7 @@ Feature: sharing | 1 | 100 | | 2 | 200 | - @smokeTest + Scenario Outline: getting all shares of a file Given using OCS API version "" And these users have been created with default attributes: @@ -79,7 +79,7 @@ Feature: sharing | 1 | 100 | | 2 | 200 | - @smokeTest @issue-1226 @issue-1270 @issue-1271 + @issue-1226 @issue-1270 @issue-1271 Scenario Outline: getting share info of a share Given using OCS API version "" And user "Alice" has uploaded file with content "some data" to "/file_to_share.txt" @@ -160,7 +160,7 @@ Feature: sharing | /Shares/PARENT | | /Shares/PARENT/parent.txt | - @smokeTest @issue-1226 @issue-1270 @issue-1271 @issue-1231 + @issue-1226 @issue-1270 @issue-1271 @issue-1231 Scenario Outline: getting share info of a share shared from inside folder Given using OCS API version "" And user "Alice" has created folder "/PARENT" diff --git a/tests/acceptance/features/coreApiShareOperationsToShares2/getWebDAVSharePermissions.feature b/tests/acceptance/features/coreApiShareOperationsToShares2/getWebDAVSharePermissions.feature index 3c80a1dcef..d73369587e 100644 --- a/tests/acceptance/features/coreApiShareOperationsToShares2/getWebDAVSharePermissions.feature +++ b/tests/acceptance/features/coreApiShareOperationsToShares2/getWebDAVSharePermissions.feature @@ -11,7 +11,7 @@ Feature: sharing | Alice | | Brian | - @smokeTest + Scenario Outline: check webdav share-permissions for owned file Given using DAV path And user "Alice" has uploaded file with content "foo" to "/tmp.txt" diff --git a/tests/acceptance/features/coreApiShareOperationsToShares2/uploadToShare.feature b/tests/acceptance/features/coreApiShareOperationsToShares2/uploadToShare.feature index dd89434759..c139189ab5 100644 --- a/tests/acceptance/features/coreApiShareOperationsToShares2/uploadToShare.feature +++ b/tests/acceptance/features/coreApiShareOperationsToShares2/uploadToShare.feature @@ -110,7 +110,7 @@ Feature: sharing | new | | spaces | - @smokeTest + Scenario Outline: uploading file to a user read/write share folder works Given using DAV path And user "Brian" has been created with default attributes @@ -164,7 +164,7 @@ Feature: sharing | new | | spaces | - @smokeTest + Scenario Outline: check quota of owners parent directory of a shared file Given using DAV path And user "Brian" has been created with default attributes diff --git a/tests/acceptance/features/coreApiSharePublicLink1/createPublicLinkShare.feature b/tests/acceptance/features/coreApiSharePublicLink1/createPublicLinkShare.feature index 67a5625e7f..0c26ba92b2 100644 --- a/tests/acceptance/features/coreApiSharePublicLink1/createPublicLinkShare.feature +++ b/tests/acceptance/features/coreApiSharePublicLink1/createPublicLinkShare.feature @@ -8,7 +8,7 @@ Feature: create a public link share Background: Given user "Alice" has been created with default attributes - @smokeTest @skipOnReva + @skipOnReva Scenario Outline: creating public link share of a file or a folder using the default permissions without password using the public WebDAV API Given using OCS API version "" And user "Alice" has uploaded file with content "Random data" to "/randomfile.txt" @@ -26,7 +26,7 @@ Feature: create a public link share | 1 | 200 | | 2 | 400 | - @smokeTest @issue-10331 @issue-9724 + @issue-10331 @issue-9724 Scenario Outline: creating a new public link share of a file with password using the public WebDAV API Given using OCS API version "" And user "Alice" has uploaded file with content "Random data" to "/randomfile.txt" @@ -122,7 +122,7 @@ Feature: create a public link share | 1 | 100 | | 2 | 200 | - @smokeTest + Scenario Outline: getting the share information of public link share from the OCS API does not expose sensitive information Given using OCS API version "" And user "Alice" has uploaded file with content "Random data" to "/randomfile.txt" @@ -392,7 +392,7 @@ Feature: create a public link share Then the HTTP status code should be "207" And the value of the item "//d:href" in the response should match "/\/dav\/public-files\/%public_token%\/file.txt$/" - @issue-6929 @@skipOnReva + @issue-6929 @skipOnReva Scenario Outline: create a password-protected public link on a file with the name same to the previously deleted one Given using OCS API version "" And user "Alice" has uploaded file with content "test data 1" to "/test.txt" diff --git a/tests/acceptance/features/coreApiSharePublicLink2/multilinkSharing.feature b/tests/acceptance/features/coreApiSharePublicLink2/multilinkSharing.feature index 0ad497e8e4..32d2e36dd8 100644 --- a/tests/acceptance/features/coreApiSharePublicLink2/multilinkSharing.feature +++ b/tests/acceptance/features/coreApiSharePublicLink2/multilinkSharing.feature @@ -7,7 +7,7 @@ Feature: multi-link sharing Background: Given user "Alice" has been created with default attributes - @smokeTest + Scenario Outline: creating three public shares of a folder Given using OCS API version "" And user "Alice" has created folder "FOLDER" diff --git a/tests/acceptance/features/coreApiSharePublicLink2/updatePublicLinkShare.feature b/tests/acceptance/features/coreApiSharePublicLink2/updatePublicLinkShare.feature index e22635a054..3c4d57b4b4 100644 --- a/tests/acceptance/features/coreApiSharePublicLink2/updatePublicLinkShare.feature +++ b/tests/acceptance/features/coreApiSharePublicLink2/updatePublicLinkShare.feature @@ -52,7 +52,7 @@ Feature: update a public link share | 1 | 100 | | 2 | 200 | - @smokeTest + Scenario Outline: change expiration date of a newly created public link share and get its info Given using OCS API version "" And user "Alice" has created folder "FOLDER" diff --git a/tests/acceptance/features/coreApiSharePublicLink2/uploadToPublicLinkShare.feature b/tests/acceptance/features/coreApiSharePublicLink2/uploadToPublicLinkShare.feature index 5b37076333..5f02969e70 100644 --- a/tests/acceptance/features/coreApiSharePublicLink2/uploadToPublicLinkShare.feature +++ b/tests/acceptance/features/coreApiSharePublicLink2/uploadToPublicLinkShare.feature @@ -102,7 +102,7 @@ Feature: upload to a public link share When the public uploads file "test.txt" with password "%public%" and content "test2" using the public WebDAV API Then the HTTP status code should be "507" - @smokeTest @issue-10331 + @issue-10331 Scenario: uploading to a public upload-write and no edit and no overwrite share with public API Given using SharingNG And user "Alice" has created the following resource link share: @@ -114,7 +114,7 @@ Feature: upload to a public link share Then the HTTP status code should be "201" And the content of file "/FOLDER/test.txt" for user "Alice" should be "test2" - @smokeTest @issue-1267 @issue-10331 + @issue-1267 @issue-10331 Scenario: uploading same file to a public upload-write and no edit and no overwrite share multiple times with new public API Given using SharingNG And user "Alice" has created the following resource link share: diff --git a/tests/acceptance/features/coreApiSharees/sharees.feature b/tests/acceptance/features/coreApiSharees/sharees.feature index 2122e18463..85a11fdeb0 100644 --- a/tests/acceptance/features/coreApiSharees/sharees.feature +++ b/tests/acceptance/features/coreApiSharees/sharees.feature @@ -12,7 +12,7 @@ Feature: search sharees And group "ShareeGroup2" has been created And user "Alice" has been added to group "ShareeGroup2" - @smokeTest + Scenario Outline: search without exact match Given using OCS API version "" When user "Alice" gets the sharees using the sharing API with parameters diff --git a/tests/acceptance/features/coreApiTrashbin/trashbinDelete.feature b/tests/acceptance/features/coreApiTrashbin/trashbinDelete.feature index 31d90a164b..a793d01e75 100644 --- a/tests/acceptance/features/coreApiTrashbin/trashbinDelete.feature +++ b/tests/acceptance/features/coreApiTrashbin/trashbinDelete.feature @@ -13,7 +13,7 @@ Feature: files and folders can be deleted from the trashbin And user "Alice" has uploaded file with content "to delete" to "/PARENT/parent.txt" And user "Alice" has uploaded file with content "to delete" to "/PARENT/CHILD/child.txt" - @smokeTest + Scenario Outline: trashbin can be emptied Given using DAV path And user "Alice" has uploaded file with content "file with comma" to "sample,0.txt" @@ -31,7 +31,7 @@ Feature: files and folders can be deleted from the trashbin | spaces | textfile0.txt | textfile1.txt | | spaces | sample,0.txt | sample,1.txt | - @smokeTest + Scenario Outline: delete a single file from the trashbin Given using DAV path And user "Alice" has deleted file "/textfile0.txt" @@ -49,7 +49,7 @@ Feature: files and folders can be deleted from the trashbin | new | | spaces | - @smokeTest + Scenario Outline: delete multiple files from the trashbin and make sure the correct ones are gone Given using DAV path And user "Alice" has uploaded file "filesForUpload/textfile.txt" to "/PARENT/textfile0.txt" diff --git a/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature b/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature index 8bcee748fd..4df7e633ca 100644 --- a/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature +++ b/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature @@ -8,7 +8,7 @@ Feature: files and folders exist in the trashbin after being deleted Given user "Alice" has been created with default attributes And user "Alice" has uploaded file with content "to delete" to "/textfile0.txt" - @smokeTest + Scenario Outline: deleting a file moves it to trashbin Given using DAV path When user "Alice" deletes file "/textfile0.txt" using the WebDAV API @@ -20,7 +20,7 @@ Feature: files and folders exist in the trashbin after being deleted | new | | spaces | - @smokeTest + Scenario Outline: deleting a folder moves it to trashbin Given using DAV path And user "Alice" has created folder "/tmp" @@ -158,7 +158,7 @@ Feature: files and folders exist in the trashbin after being deleted | new | | spaces | - @issue-3561 @smokeTest + @issue-3561 Scenario Outline: listing other user's trashbin is prohibited with multiple files on trashbin Given using DAV path And user "testtrashbin101" has been created with default attributes @@ -225,7 +225,7 @@ Feature: files and folders exist in the trashbin after being deleted | new | | spaces | - @smokeTest + Scenario Outline: get trashbin content with wrong password Given using DAV path And user "Alice" has uploaded file "filesForUpload/textfile.txt" to "/textfile0.txt" @@ -240,7 +240,7 @@ Feature: files and folders exist in the trashbin after being deleted | new | | spaces | - @smokeTest + Scenario Outline: get trashbin content without password Given using DAV path And user "Alice" has uploaded file "filesForUpload/textfile.txt" to "/textfile0.txt" diff --git a/tests/acceptance/features/coreApiTrashbin/trashbinSharingToShares.feature b/tests/acceptance/features/coreApiTrashbin/trashbinSharingToShares.feature index e7e458cd27..b65f8e5b63 100644 --- a/tests/acceptance/features/coreApiTrashbin/trashbinSharingToShares.feature +++ b/tests/acceptance/features/coreApiTrashbin/trashbinSharingToShares.feature @@ -8,7 +8,7 @@ Feature: using trashbin together with sharing Given user "Alice" has been created with default attributes And user "Alice" has uploaded file with content "file to delete" to "/textfile0.txt" - @smokeTest @issue-7555 + @issue-7555 Scenario Outline: deleting a received folder doesn't move it to trashbin Given using DAV path And user "Brian" has been created with default attributes diff --git a/tests/acceptance/features/coreApiTrashbinRestore/trashbinRestore.feature b/tests/acceptance/features/coreApiTrashbinRestore/trashbinRestore.feature index edbb31bb0c..2f190984d0 100644 --- a/tests/acceptance/features/coreApiTrashbinRestore/trashbinRestore.feature +++ b/tests/acceptance/features/coreApiTrashbinRestore/trashbinRestore.feature @@ -8,7 +8,7 @@ Feature: restore deleted files/folders Given user "Alice" has been created with default attributes And user "Alice" has uploaded file with content "file to delete" to "/textfile0.txt" - @smokeTest + Scenario Outline: deleted file can be restored Given using DAV path And user "Alice" has created folder "/FOLDER" @@ -130,7 +130,7 @@ Feature: restore deleted files/folders | new | | spaces | - @smokeTest + Scenario Outline: deleted file cannot be restored by a different user Given using DAV path And user "Brian" has been created with default attributes @@ -145,7 +145,7 @@ Feature: restore deleted files/folders | new | 404 | | spaces | 400 | - @smokeTest + Scenario Outline: deleted file cannot be restored with invalid password Given using DAV path And user "Brian" has been created with default attributes @@ -160,7 +160,7 @@ Feature: restore deleted files/folders | new | | spaces | - @smokeTest + Scenario Outline: deleted file cannot be restored without using a password Given using DAV path And user "Brian" has been created with default attributes diff --git a/tests/acceptance/features/coreApiVersions/fileVersions.feature b/tests/acceptance/features/coreApiVersions/fileVersions.feature index 9946193333..c7279351d8 100644 --- a/tests/acceptance/features/coreApiVersions/fileVersions.feature +++ b/tests/acceptance/features/coreApiVersions/fileVersions.feature @@ -30,7 +30,7 @@ Feature: dav-versions | new | | spaces | - @smokeTest + Scenario Outline: upload a file twice and versions are available Given using DAV path When user "Alice" uploads file "filesForUpload/davtest.txt" to "/davtest.txt" using the WebDAV API @@ -57,7 +57,7 @@ Feature: dav-versions | new | | spaces | - @smokeTest + Scenario Outline: remove a file Given using DAV path And user "Alice" has uploaded file "filesForUpload/davtest.txt" to "/davtest.txt" @@ -73,7 +73,7 @@ Feature: dav-versions | new | | spaces | - @smokeTest + Scenario: restore a file and check its content Given user "Alice" has uploaded file with content "Test Content." to "/davtest.txt" And user "Alice" has uploaded file with content "Content Test Updated." to "/davtest.txt" @@ -82,7 +82,7 @@ Feature: dav-versions Then the HTTP status code should be "204" And the content of file "/davtest.txt" for user "Alice" should be "Test Content." - @smokeTest @skipOnStorage:ceph @skipOnStorage:scality + Scenario: restore a file back to bigger content and check its content And user "Alice" has uploaded file with content "Back To The Future." to "/davtest.txt" And user "Alice" has uploaded file with content "Update Content." to "/davtest.txt" @@ -91,7 +91,7 @@ Feature: dav-versions Then the HTTP status code should be "204" And the content of file "/davtest.txt" for user "Alice" should be "Back To The Future." - @smokeTest @skipOnStorage:ceph + Scenario: uploading a chunked file does create the correct version that can be restored Given user "Alice" has uploaded file with content "textfile0" to "textfile0.txt" When user "Alice" uploads file "filesForUpload/davtest.txt" to "/textfile0.txt" in 2 chunks using the WebDAV API @@ -102,7 +102,7 @@ Feature: dav-versions Then the HTTP status code should be "204" And the content of file "/textfile0.txt" for user "Alice" should be "Dav-Test" - @skipOnStorage:ceph @skipOnStorage:scality + Scenario: restore a file and check the content and checksum Given user "Alice" has uploaded file with content "AAAAABBBBBCCCCC" and checksum "MD5:45a72715acdd5019c5be30bdbb75233e" to "/davtest.txt" And user "Alice" has uploaded file "filesForUpload/textfile.txt" to "/davtest.txt" with checksum "MD5:d70b40f177b14b470d1756a3c12b963a" @@ -194,7 +194,7 @@ Feature: dav-versions | Content-Disposition | attachment; filename*=UTF-8''textfile0.txt; filename="textfile0.txt" | And the downloaded content should be "uploaded content" - @skipOnStorage:ceph @skipOnStorage:scality + Scenario: download an old version of a restored file Given user "Alice" has uploaded file with content "uploaded content" to "textfile0.txt" And user "Alice" has uploaded file with content "version 1" to "textfile0.txt" @@ -486,7 +486,7 @@ Feature: dav-versions Then the HTTP status code should be "404" And the value of the item "//s:exception" in the response about user "Alice" should be "Sabre\DAV\Exception\NotFound" - @skipOnStorage:ceph @skipOnReva + @skipOnReva Scenario: receiver tries get file versions of shared file from the sharer Given user "Brian" has been created with default attributes And user "Alice" has uploaded file with content "textfile0" to "textfile0.txt" diff --git a/tests/acceptance/features/coreApiWebdavCopyCreate/copyFile.feature b/tests/acceptance/features/coreApiWebdavCopyCreate/copyFile.feature index 561d0c4f52..45720b08d4 100644 --- a/tests/acceptance/features/coreApiWebdavCopyCreate/copyFile.feature +++ b/tests/acceptance/features/coreApiWebdavCopyCreate/copyFile.feature @@ -10,7 +10,7 @@ Feature: copy file And user "Alice" has uploaded file with content "OpenCloud test text file 1" to "/textfile1.txt" And user "Alice" has created folder "/FOLDER" - @smokeTest + Scenario Outline: copying a file Given using DAV path When user "Alice" copies file "/textfile0.txt" to "/FOLDER/textfile0.txt" using the WebDAV API @@ -22,7 +22,7 @@ Feature: copy file | new | | spaces | - @smokeTest + Scenario Outline: copying and overwriting a file Given using DAV path When user "Alice" copies file "/textfile0.txt" to "/textfile1.txt" using the WebDAV API diff --git a/tests/acceptance/features/coreApiWebdavCopyCreate/createFileFolder.feature b/tests/acceptance/features/coreApiWebdavCopyCreate/createFileFolder.feature index 763362c994..0070b0692b 100644 --- a/tests/acceptance/features/coreApiWebdavCopyCreate/createFileFolder.feature +++ b/tests/acceptance/features/coreApiWebdavCopyCreate/createFileFolder.feature @@ -50,7 +50,7 @@ Feature: create files and folder | spaces | "'single'" | | spaces | '"double"' | - @smokeTest + Scenario Outline: get resourcetype property of a folder Given using DAV path And user "Alice" has created folder "/test_folder" @@ -122,7 +122,7 @@ Feature: create files and folder | new | | spaces | - @web-issue-1893 + @issue-web-1893 Scenario Outline: create a file Given using DAV path When user "Alice" uploads file with content "some text" to using the WebDAV API diff --git a/tests/acceptance/features/coreApiWebdavDelete/deleteFile.feature b/tests/acceptance/features/coreApiWebdavDelete/deleteFile.feature index 60db4d4e0d..46cc9f0c03 100644 --- a/tests/acceptance/features/coreApiWebdavDelete/deleteFile.feature +++ b/tests/acceptance/features/coreApiWebdavDelete/deleteFile.feature @@ -6,7 +6,7 @@ Feature: delete file Background: Given user "Alice" has been created with default attributes - @smokeTest + Scenario Outline: delete a file Given using DAV path And user "Alice" has uploaded file with content "to delete" to "/textfile0.txt" diff --git a/tests/acceptance/features/coreApiWebdavDelete/deleteFolder.feature b/tests/acceptance/features/coreApiWebdavDelete/deleteFolder.feature index 815025e0f8..746f6deea4 100644 --- a/tests/acceptance/features/coreApiWebdavDelete/deleteFolder.feature +++ b/tests/acceptance/features/coreApiWebdavDelete/deleteFolder.feature @@ -7,7 +7,7 @@ Feature: delete folder Given user "Alice" has been created with default attributes And user "Alice" creates folder "/PARENT" using the WebDAV API - @smokeTest + Scenario Outline: delete a folder Given using DAV path When user "Alice" deletes folder "/PARENT" using the WebDAV API diff --git a/tests/acceptance/features/coreApiWebdavEtagPropagation2/restoreVersion.feature b/tests/acceptance/features/coreApiWebdavEtagPropagation2/restoreVersion.feature index 7e6ef7526c..f71be4f9f7 100644 --- a/tests/acceptance/features/coreApiWebdavEtagPropagation2/restoreVersion.feature +++ b/tests/acceptance/features/coreApiWebdavEtagPropagation2/restoreVersion.feature @@ -8,7 +8,7 @@ Feature: propagation of etags when restoring a version of a file Given using OCS API version "2" And user "Alice" has been created with default attributes - @skipOnStorage:ceph @skipOnStorage:scality + Scenario: restoring a file changes the etags of all parents Given user "Alice" has created folder "/upload" And user "Alice" has created folder "/upload/sub" diff --git a/tests/acceptance/features/coreApiWebdavMove/moveFile.feature b/tests/acceptance/features/coreApiWebdavMove/moveFile.feature index de9afb0b3d..0a85dbb730 100644 --- a/tests/acceptance/features/coreApiWebdavMove/moveFile.feature +++ b/tests/acceptance/features/coreApiWebdavMove/moveFile.feature @@ -7,7 +7,7 @@ Feature: move (rename) file Given using OCS API version "1" And user "Alice" has been created with default attributes - @smokeTest + Scenario Outline: moving a file Given using DAV path And user "Alice" has created folder "FOLDER" @@ -23,7 +23,7 @@ Feature: move (rename) file | new | | spaces | - @smokeTest + Scenario Outline: moving and overwriting a file Given using DAV path And user "Alice" has uploaded file with content "OpenCloud test text file 0 v1" to "textfile0.txt" @@ -56,7 +56,7 @@ Feature: move (rename) file | new | | spaces | - @smokeTest + Scenario Outline: moving (renaming) a file to a file with only different case to an existing file Given using DAV path And user "Alice" has uploaded file with content "OpenCloud test text file 0" to "textfile0.txt" @@ -175,7 +175,7 @@ Feature: move (rename) file | new | | spaces | - @sqliteDB + Scenario Outline: renaming to a file with special characters Given using DAV path And user "Alice" has uploaded file with content "OpenCloud test text file 0" to "textfile0.txt" @@ -242,7 +242,7 @@ Feature: move (rename) file | spaces | /... | abcd.txt | | spaces | /... | ... | - @smokeTest + Scenario Outline: user tries to move a file that doesnt exist into a folder Given using DAV path And user "Alice" has created folder "FOLDER" @@ -255,7 +255,7 @@ Feature: move (rename) file | new | | spaces | - @smokeTest + Scenario Outline: user tries to rename a file that doesn't exist Given using DAV path When user "Alice" moves file "/doesNotExist.txt" to "/exist.txt" using the WebDAV API diff --git a/tests/acceptance/features/coreApiWebdavOperations/downloadFile.feature b/tests/acceptance/features/coreApiWebdavOperations/downloadFile.feature index 9a5e1ce93a..a4558207d9 100644 --- a/tests/acceptance/features/coreApiWebdavOperations/downloadFile.feature +++ b/tests/acceptance/features/coreApiWebdavOperations/downloadFile.feature @@ -6,7 +6,7 @@ Feature: download file Background: Given user "Alice" has been created with default attributes - @smokeTest + Scenario Outline: download a file Given using DAV path And user "Alice" has uploaded file with content "OpenCloud test text file 0" to "/textfile0.txt" @@ -215,7 +215,7 @@ Feature: download file | new | | spaces | - @smokeTest @issue-8361 @skipOnReva + @issue-8361 @skipOnReva Scenario Outline: downloading a file should serve security headers Given using DAV path And user "Alice" has uploaded file with content "test file" to "/" @@ -243,7 +243,7 @@ Feature: download file | spaces | comma,.txt | comma%2C.txt | | spaces | 'quote'single'.txt | %27quote%27single%27.txt | - @smokeTest @issue-8361 @skipOnReva + @issue-8361 @skipOnReva Scenario Outline: downloading a file should serve security headers (file with double quotes) Given using DAV path And user "Alice" has uploaded file with content "test file" to '/"quote"double".txt' @@ -292,7 +292,7 @@ Feature: download file | new | | spaces | - @web-issue-1893 + @issue-web-1893 Scenario Outline: download a file with special characters in the filename Given using DAV path And user "Alice" has uploaded file with content "test file" to diff --git a/tests/acceptance/features/coreApiWebdavOperations/refuseAccess.feature b/tests/acceptance/features/coreApiWebdavOperations/refuseAccess.feature index 749aa976dd..7485e28c16 100644 --- a/tests/acceptance/features/coreApiWebdavOperations/refuseAccess.feature +++ b/tests/acceptance/features/coreApiWebdavOperations/refuseAccess.feature @@ -6,7 +6,7 @@ Feature: refuse access Background: Given using OCS API version "1" - @smokeTest @issue-2285 + @issue-2285 Scenario Outline: unauthenticated call # cannot perform with spaces WebDAV due to the absence of user Given using DAV path diff --git a/tests/acceptance/features/coreApiWebdavProperties/getFileProperties.feature b/tests/acceptance/features/coreApiWebdavProperties/getFileProperties.feature index 6e81b3b806..5e5375a390 100644 --- a/tests/acceptance/features/coreApiWebdavProperties/getFileProperties.feature +++ b/tests/acceptance/features/coreApiWebdavProperties/getFileProperties.feature @@ -7,7 +7,7 @@ Feature: get file properties Given using OCS API version "1" And user "Alice" has been created with default attributes - @smokeTest + Scenario Outline: user sends a PROPFIND request on various file names Given using DAV path And user "Alice" has uploaded file with content "uploaded content" to "" @@ -263,7 +263,7 @@ Feature: get file properties | new | textfile.txt | | spaces | textfile.txt | - @smokeTest @issue-2809 + @issue-2809 Scenario Outline: retrieving a private link Given using DAV path And user "Alice" has uploaded file "filesForUpload/textfile.txt" to "/somefile.txt" diff --git a/tests/acceptance/features/coreApiWebdavProperties/getQuota.feature b/tests/acceptance/features/coreApiWebdavProperties/getQuota.feature index 5d93febe4c..3d67e6a932 100644 --- a/tests/acceptance/features/coreApiWebdavProperties/getQuota.feature +++ b/tests/acceptance/features/coreApiWebdavProperties/getQuota.feature @@ -20,7 +20,7 @@ Feature: get quota | new | | spaces | - @smokeTest + Scenario Outline: retrieving folder quota when quota is set Given using DAV path When user "Admin" changes the quota of the personal space of user "Alice" to "10000" using the Graph API diff --git a/tests/acceptance/features/coreApiWebdavProperties/setFileProperties.feature b/tests/acceptance/features/coreApiWebdavProperties/setFileProperties.feature index dc994dfe72..8eea744c0d 100644 --- a/tests/acceptance/features/coreApiWebdavProperties/setFileProperties.feature +++ b/tests/acceptance/features/coreApiWebdavProperties/setFileProperties.feature @@ -7,7 +7,7 @@ Feature: set file properties Given using OCS API version "1" And user "Alice" has been created with default attributes - @smokeTest @issue-1263 + @issue-1263 Scenario Outline: setting custom DAV property and reading it Given using DAV path And user "Alice" has uploaded file "filesForUpload/textfile.txt" to "testcustomprop.txt" diff --git a/tests/acceptance/features/coreApiWebdavUpload/uploadFile.feature b/tests/acceptance/features/coreApiWebdavUpload/uploadFile.feature index 60c5661bfd..4765b90fc0 100644 --- a/tests/acceptance/features/coreApiWebdavUpload/uploadFile.feature +++ b/tests/acceptance/features/coreApiWebdavUpload/uploadFile.feature @@ -7,7 +7,7 @@ Feature: upload file Given using OCS API version "1" And user "Alice" has been created with default attributes - @smokeTest + Scenario Outline: upload a file and check etag and download content Given using DAV path When user "Alice" uploads file with content "uploaded content" to "" using the WebDAV API diff --git a/tests/acceptance/features/coreApiWebdavUpload/uploadFileUsingOldChunking.feature b/tests/acceptance/features/coreApiWebdavUpload/uploadFileUsingOldChunking.feature index 9a7c0dd41a..dc9a8fde53 100644 --- a/tests/acceptance/features/coreApiWebdavUpload/uploadFileUsingOldChunking.feature +++ b/tests/acceptance/features/coreApiWebdavUpload/uploadFileUsingOldChunking.feature @@ -82,8 +82,7 @@ Feature: upload file using old chunking | new | | spaces | - @smokeTest - # This smokeTest scenario does ordinary checks for chunked upload, + # This scenario does ordinary checks for chunked upload, # without adjusting the log level. This allows it to run in test environments # where the log level has been fixed and cannot be changed. Scenario Outline: chunked upload files with difficult name