Skip to content

Commit

Permalink
Merge pull request #6165 from owncloud/remove-unneccessary-tag
Browse files Browse the repository at this point in the history
[tests-only][full-ci]Remove unnecessary tags
  • Loading branch information
phil-davis authored May 4, 2023
2 parents d73ea13 + 65f0b18 commit 9d4236f
Show file tree
Hide file tree
Showing 165 changed files with 543 additions and 778 deletions.
2 changes: 1 addition & 1 deletion .drone.star
Original file line number Diff line number Diff line change
Expand Up @@ -962,7 +962,7 @@ def wopiValidatorTests(ctx, storage, accounts_hash_difficulty = 4):

def coreApiTests(ctx, part_number = 1, number_of_parts = 1, storage = "ocis", accounts_hash_difficulty = 4):
early_fail = config["apiTests"]["earlyFail"] if "earlyFail" in config["apiTests"] else False
filterTags = "~@skipOnGraph&&~@toImplementOnOCIS&&~comments-app-required&&~@federation-app-required&&~@notifications-app-required&&~systemtags-app-required&&~@local_storage&&~@skipOnOcis-%s-Storage&&~@caldav&&~@carddav" % ("OC" if storage == "owncloud" else "OCIS")
filterTags = "~@skipOnGraph&&~@skipOnOcis-%s-Storage&&~@carddav" % ("OC" if storage == "owncloud" else "OCIS")
expectedFailuresFile = "%s/tests/acceptance/expected-failures-API-on-%s-storage.md" % (dirs["base"], storage.upper())

return {
Expand Down
2 changes: 1 addition & 1 deletion tests/acceptance/docker/src/run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ then
if [ "$STORAGE_DRIVER" = "ocis" ]
then
export OCIS_REVA_DATA_ROOT=''
export BEHAT_FILTER_TAGS='~@toImplementOnOCIS&&~comments-app-required&&~@federation-app-required&&~@notifications-app-required&&~systemtags-app-required&&~@local_storage&&~@skipOnOcis-OCIS-Storage'
export BEHAT_FILTER_TAGS='~@skipOnOcis-OCIS-Storage'
export OCIS_SKELETON_STRATEGY='upload'
export EXPECTED_FAILURES_FILE='/drone/src/tests/acceptance/expected-failures-API-on-OCIS-storage.md'
elif [ "$STORAGE_DRIVER" = "s3ng" ]
Expand Down
24 changes: 12 additions & 12 deletions tests/acceptance/expected-failures-API-on-OCIS-storage.md
Original file line number Diff line number Diff line change
Expand Up @@ -710,19 +710,19 @@ Not everything needs to be implemented for ocis. While the oc10 testsuite covers
- [coreApiTrashbin/trashbinFilesFolders.feature:100](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature#L100)
- [coreApiTrashbin/trashbinFilesFolders.feature:136](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature#L136)
- [coreApiTrashbin/trashbinFilesFolders.feature:159](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature#L159)
- [coreApiTrashbin/trashbinFilesFolders.feature:322](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature#L322)
- [coreApiTrashbin/trashbinFilesFolders.feature:323](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature#L323)
- [coreApiTrashbin/trashbinFilesFolders.feature:324](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature#L324)
- [coreApiTrashbin/trashbinFilesFolders.feature:329](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature#L329)
- [coreApiTrashbin/trashbinFilesFolders.feature:330](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature#L330)
- [coreApiTrashbin/trashbinFilesFolders.feature:331](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature#L331)
- [coreApiTrashbin/trashbinFilesFolders.feature:332](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature#L332)
- [coreApiTrashbin/trashbinFilesFolders.feature:333](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature#L333)
- [coreApiTrashbin/trashbinFilesFolders.feature:305](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature#L305)
- [coreApiTrashbin/trashbinFilesFolders.feature:306](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature#L306)
- [coreApiTrashbin/trashbinFilesFolders.feature:307](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature#L307)
- [coreApiTrashbin/trashbinFilesFolders.feature:312](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature#L312)
- [coreApiTrashbin/trashbinFilesFolders.feature:313](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature#L313)
- [coreApiTrashbin/trashbinFilesFolders.feature:314](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature#L314)
- [coreApiTrashbin/trashbinFilesFolders.feature:315](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature#L315)
- [coreApiTrashbin/trashbinFilesFolders.feature:316](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature#L316)
- [coreApiTrashbin/trashbinFilesFolders.feature:317](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature#L317)
- [coreApiTrashbin/trashbinFilesFolders.feature:334](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature#L334)
- [coreApiTrashbin/trashbinFilesFolders.feature:351](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature#L351)
- [coreApiTrashbin/trashbinFilesFolders.feature:371](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature#L371)
- [coreApiTrashbin/trashbinFilesFolders.feature:425](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature#L425)
- [coreApiTrashbin/trashbinFilesFolders.feature:462](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature#L462)
- [coreApiTrashbin/trashbinFilesFolders.feature:354](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature#L354)
- [coreApiTrashbin/trashbinFilesFolders.feature:408](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature#L408)
- [coreApiTrashbin/trashbinFilesFolders.feature:445](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiTrashbin/trashbinFilesFolders.feature#L445)

#### [Default capabilities for normal user and admin user not same as in oC-core](https://github.com/owncloud/ocis/issues/1285)
- [coreApiCapabilities/capabilities.feature:11](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiCapabilities/capabilities.feature#L11)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@api @files_sharing-app-required @skipOnReva
@api @skipOnReva
Feature: sharing
As a user
I want to be able to share files when passwords are stored with the full hash difficulty
Expand Down
2 changes: 1 addition & 1 deletion tests/acceptance/features/apiArchiver/downloadById.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@api @skipOnOcV10
@api
Feature: download multiple resources bundled into an archive
As a user
I want to be able to download multiple items at once
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@api @skipOnOcV10
@api
Feature: download multiple resources bundled into an archive
As a user
I want to be able to download multiple items at once
Expand Down
2 changes: 1 addition & 1 deletion tests/acceptance/features/apiContract/copy.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@api @skipOnOcV10
@api
Feature: Copy test
As a user
I want to check the PROPFIND response
Expand Down
2 changes: 1 addition & 1 deletion tests/acceptance/features/apiContract/propfind.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@api @skipOnOcV10
@api
Feature: Propfind test
As a user
I want to check the PROPFIND response
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@api @skipOnOcV10
@api
Feature: Report test
As a user
I want to check the share REPORT response
Expand Down
2 changes: 1 addition & 1 deletion tests/acceptance/features/apiCors/cors.feature
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# NOTE: for running this feature locally, you need to run oCIS with the following env var:
# CORS_ALLOWED_ORIGINS=https://aphno.badal
@api @skipOnOcV10
@api
Feature: CORS headers
As a user
I want to send a cross-origin request
Expand Down
2 changes: 1 addition & 1 deletion tests/acceptance/features/apiGraph/addUserToGroup.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@api @skipOnOcV10
@api
Feature: add users to group
As a admin
I want to be able to add users to a group
Expand Down
2 changes: 1 addition & 1 deletion tests/acceptance/features/apiGraph/createGroup.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@api @skipOnOcV10
@api
Feature: create group
As an admin
I want to create a group
Expand Down
2 changes: 1 addition & 1 deletion tests/acceptance/features/apiGraph/createUser.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@api @skipOnOcV10
@api
Feature: create user
As a admin
I want to create a user
Expand Down
2 changes: 1 addition & 1 deletion tests/acceptance/features/apiGraph/deleteGroup.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@api @skipOnOcV10
@api
Feature: delete groups
As an admin
I want to be able to delete groups
Expand Down
2 changes: 1 addition & 1 deletion tests/acceptance/features/apiGraph/deleteUser.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@api @skipOnOcV10
@api
Feature: delete user
As an admin
I want to be able to delete users
Expand Down
2 changes: 1 addition & 1 deletion tests/acceptance/features/apiGraph/editGroup.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@api @skipOnOcV10
@api
Feature: edit group name
As an admin
I want to be able to edit group name
Expand Down
2 changes: 1 addition & 1 deletion tests/acceptance/features/apiGraph/editUser.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@api @skipOnOcV10
@api
Feature: edit user
As an admin
I want to be able to edit user information
Expand Down
2 changes: 1 addition & 1 deletion tests/acceptance/features/apiGraph/getApplications.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@api @skipOnOcV10 @skipOnStable2.0
@api @skipOnStable2.0
Feature: get applications
As a user
I want to be able to get application information with existing roles
Expand Down
2 changes: 1 addition & 1 deletion tests/acceptance/features/apiGraph/getGroup.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@api @skipOnOcV10
@api
Feature: get groups and their members
As an admin
I want to be able to get groups
Expand Down
2 changes: 1 addition & 1 deletion tests/acceptance/features/apiGraph/getUser.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@api @skipOnOcV10
@api
Feature: get users
As an admin
I want to be able to retrieve user information
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@api @skipOnOcV10
@api
Feature: get user's own information
As user
I want to be able to retrieve my own information
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@api @skipOnOcV10
@api
Feature: remove a user from a group
As an admin
I want to be able to remove a user from a group
Expand Down
2 changes: 1 addition & 1 deletion tests/acceptance/features/apiSpaces/changeSpaces.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@api @skipOnOcV10
@api
Feature: Change data of space
As a user with space admin rights
I want to be able to change the meta-data of a created space (increase the quota, change name, etc.)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@api @skipOnOcV10
@api
Feature: Disabling and deleting space
As a manager of space
I want to be able to disable the space first, then delete it.
Expand Down
2 changes: 1 addition & 1 deletion tests/acceptance/features/apiSpaces/download.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@api @skipOnOcV10
@api
Feature: Download file in project space
As a user with different role
I want to be able to download files
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@api @skipOnOcV10
@api
Feature: A manager of the space can edit public link
As an user with manager space role
I want to be able to edit a public link.
Expand Down
2 changes: 1 addition & 1 deletion tests/acceptance/features/apiSpaces/filePreviews.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@api @skipOnOcV10
@api
Feature: Preview file in project space
As a user
I want to be able to download different files for the preview
Expand Down
2 changes: 1 addition & 1 deletion tests/acceptance/features/apiSpaces/listSpaces.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@api @skipOnOcV10
@api
Feature: List and create spaces
As a user
I want to be able to list project spaces
Expand Down
2 changes: 1 addition & 1 deletion tests/acceptance/features/apiSpaces/notification.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@api @skipOnOcV10
@api
Feature: Notification
As a user
I want to be notified of actions related to me
Expand Down
2 changes: 1 addition & 1 deletion tests/acceptance/features/apiSpaces/publicLink.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@api @skipOnOcV10
@api
Feature: public link for a space

Background:
Expand Down
2 changes: 1 addition & 1 deletion tests/acceptance/features/apiSpaces/quota.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@api @skipOnOcV10
@api
Feature: State of the quota
As a user
I want to be able to see the state of the quota
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@api @skipOnOcV10
@api
Feature: Remove files, folder
As a user
I want to be able to remove files, folders
Expand Down
2 changes: 1 addition & 1 deletion tests/acceptance/features/apiSpaces/resharing.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@api @skipOnOcV10
@api
Feature: Resharing
As a user
I want to reshare resources
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@api @skipOnOcV10
@api
Feature: Restore files, folder
As a user with manager and editor role
I want to be able to restore files, folders
Expand Down
2 changes: 1 addition & 1 deletion tests/acceptance/features/apiSpaces/restoreSpaces.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@api @skipOnOcV10
@api
Feature: Restoring space
As a manager of space
I want to be able to restore a disabled space
Expand Down
2 changes: 1 addition & 1 deletion tests/acceptance/features/apiSpaces/search.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@api @skipOnOcV10
@api
Feature: Search
As a user
I want to search for resources in the space
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@api @skipOnOcV10
@api
Feature: Space management
As a user with space admin permission
I want to be able to manage all existing project spaces
Expand Down
2 changes: 1 addition & 1 deletion tests/acceptance/features/apiSpaces/tag.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@api @skipOnOcV10 @skipOnStable2.0
@api @skipOnStable2.0
Feature: Tag
As a user
I want to tag resources
Expand Down
2 changes: 1 addition & 1 deletion tests/acceptance/features/apiSpaces/tusUpload.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@api @skipOnOcV10
@api
Feature: upload resources using TUS protocol
As a user
I want to be able to upload files
Expand Down
2 changes: 1 addition & 1 deletion tests/acceptance/features/apiSpaces/uploadSpaces.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@api @skipOnOcV10
@api
Feature: Upload files into a space
As a user
I want to be able to create folders and files in the space
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@api @skipOnOcV10
@api
Feature: change shared resource
As a user
I want to change the shared resource
Expand Down
6 changes: 3 additions & 3 deletions tests/acceptance/features/apiSpacesShares/checksum.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@api @skipOnOcV10
@api
Feature: checksums
As a user
I want to upload files with checksum
Expand All @@ -10,7 +10,7 @@ Feature: checksums
And using spaces DAV path
And user "Brian" has been created with default attributes and without skeleton files

@files_sharing-app-required @issue-1291
@issue-1291
Scenario: sharing a file with checksum should return the checksum in the propfind using new DAV path
Given user "Alice" has uploaded file "filesForUpload/textfile.txt" to "/myChecksumFile.txt" with checksum "MD5:d70b40f177b14b470d1756a3c12b963a"
And user "Alice" has shared file "/myChecksumFile.txt" with user "Brian"
Expand All @@ -19,7 +19,7 @@ Feature: checksums
Then the HTTP status code should be "207"
And the webdav checksum should match "SHA1:3ee962b839762adb0ad8ba6023a4690be478de6f MD5:d70b40f177b14b470d1756a3c12b963a ADLER32:8ae90960"

@files_sharing-app-required @issue-1291
@issue-1291
Scenario: modifying a shared file should return correct checksum in the propfind using new DAV path
Given user "Alice" has uploaded file "filesForUpload/textfile.txt" to "/myChecksumFile.txt" with checksum "MD5:d70b40f177b14b470d1756a3c12b963a"
And user "Alice" has shared file "/myChecksumFile.txt" with user "Brian"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@api @skipOnOcV10
@api
Feature: copy file
As a user
I want to be able to copy files
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@api @skipOnOcV10
@api
Feature: create file or folder named similar to Shares folder
As a user
I want to be able to create files and folders when the Shares folder exists
Expand Down
2 changes: 1 addition & 1 deletion tests/acceptance/features/apiSpacesShares/favorite.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@api @skipOnOcV10
@api
Feature: favorite
As a user
I want to favorite resources
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@api @skipOnOcV10
@api
Feature: move (rename) file
As a user
I want to be able to move and rename files
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@api @skipOnOcV10
@api
Feature: Public can download folders from project space public link
As a public
I want to be able to download folder from public link
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@api @skipOnOcV10
@api
Feature: sharing
As a user
I want to share resources with different permissions
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@api @skipOnOcV10
@api
Feature: Share spaces
As the owner of a space
I want to be able to add members to a space, and to remove access for them
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@api @skipOnOcV10
@api
Feature: Share spaces via link
As the manager of a space
I want to be able to share a space via public link
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@api @skipOnOcV10
@api
Feature: Share a file or folder that is inside a space
As a user with manager space role
I want to be able to share the data inside the space
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@api @skipOnOcV10
@api
Feature: Share a file or folder that is inside a space via public link
As a user with manager space role
I want to be able to share the data inside the space via public link
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@api @skipOnOcV10
@api
Feature: upload resources on share using TUS protocol
As a user
I want to be able to upload files
Expand Down
Loading

0 comments on commit 9d4236f

Please sign in to comment.