Skip to content

Commit

Permalink
removed scenario examples that are only for ocis/reva
Browse files Browse the repository at this point in the history
  • Loading branch information
PrajwolAmatya committed Jan 17, 2023
1 parent 3d5bfea commit c41026a
Show file tree
Hide file tree
Showing 52 changed files with 7 additions and 1,706 deletions.
5 changes: 0 additions & 5 deletions tests/acceptance/features/apiAuth/webDavAuth.feature
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@ Feature: auth
| dav_path |
| /remote.php/webdav |

@skipOnOcV10 @personalSpace
Examples:
| dav_path |
| /dav/spaces/%spaceid% |

@smokeTest @notToImplementOnOCIS @issue-ocis-reva-28
Scenario: using WebDAV with token auth
Given a new client token for "Alice" has been generated
Expand Down
45 changes: 0 additions & 45 deletions tests/acceptance/features/apiFavorites/favorites.feature
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,6 @@ Feature: favorite
| old |
| new |

@skipOnOcV10 @personalSpace
Examples:
| dav_version |
| spaces |

@issue-ocis-reva-276
Scenario Outline: Unfavorite a folder
Given using <dav_version> DAV path
Expand All @@ -51,11 +46,6 @@ Feature: favorite
| old |
| new |

@skipOnOcV10 @personalSpace
Examples:
| dav_version |
| spaces |

@smokeTest @issue-ocis-reva-276
Scenario Outline: Favorite a file
Given using <dav_version> DAV path
Expand All @@ -72,11 +62,6 @@ Feature: favorite
| old |
| new |

@skipOnOcV10 @personalSpace
Examples:
| dav_version |
| spaces |

@smokeTest @issue-ocis-reva-276
Scenario Outline: Unfavorite a file
Given using <dav_version> DAV path
Expand All @@ -94,11 +79,6 @@ Feature: favorite
| old |
| new |

@skipOnOcV10 @personalSpace
Examples:
| dav_version |
| spaces |

@smokeTest
Scenario Outline: Get favorited elements of a folder
Given using <dav_version> DAV path
Expand All @@ -115,11 +95,6 @@ Feature: favorite
| old |
| new |

@skipOnOcV10 @personalSpace
Examples:
| dav_version |
| spaces |


Scenario Outline: Get favorited elements of a subfolder
Given using <dav_version> DAV path
Expand All @@ -142,11 +117,6 @@ Feature: favorite
| old |
| new |

@skipOnOcV10 @personalSpace
Examples:
| dav_version |
| spaces |

@files_sharing-app-required @notToImplementOnOCIS
Scenario Outline: moving a favorite file out of a share keeps favorite state
Given using <dav_version> DAV path
Expand Down Expand Up @@ -183,11 +153,6 @@ Feature: favorite
| old |
| new |

@personalSpace
Examples:
| dav_version |
| spaces |

@issue-33840 @skipOnOcV10
Scenario Outline: Get favorited elements paginated in subfolder
Given using <dav_version> DAV path
Expand Down Expand Up @@ -216,11 +181,6 @@ Feature: favorite
| old |
| new |

@personalSpace
Examples:
| dav_version |
| spaces |

@files_sharing-app-required @notToImplementOnOCIS
Scenario Outline: sharer file favorite state should not change the favorite state of sharee
Given using <dav_version> DAV path
Expand Down Expand Up @@ -264,11 +224,6 @@ Feature: favorite
| old |
| new |

@skipOnOcV10 @personalSpace
Examples:
| dav_version |
| spaces |

@files_sharing-app-required @notToImplementOnOCIS
Scenario Outline: favorite a file inside of a received share
Given using <dav_version> DAV path
Expand Down
91 changes: 0 additions & 91 deletions tests/acceptance/features/apiMain/checksums.feature
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@ Feature: checksums
| old |
| new |

@skipOnOcV10 @personalSpace
Examples:
| dav_version |
| spaces |

@smokeTest @issue-ocis-reva-196
Scenario Outline: Uploading a file with checksum should return the checksum in the propfind
Given using <dav_version> DAV path
Expand All @@ -29,11 +24,6 @@ Feature: checksums
| old |
| new |

@skipOnOcV10 @personalSpace
Examples:
| dav_version |
| spaces |

@smokeTest @issue-ocis-reva-98
Scenario Outline: Uploading a file with checksum should return the checksum in the download header
Given using <dav_version> DAV path
Expand All @@ -46,11 +36,6 @@ Feature: checksums
| old |
| new |

@skipOnOcV10 @personalSpace
Examples:
| dav_version |
| spaces |

@issue-ocis-reva-196
Scenario Outline: Moving a file with checksum should return the checksum in the propfind
Given using <dav_version> DAV path
Expand All @@ -63,11 +48,6 @@ Feature: checksums
| old |
| new |

@skipOnOcV10 @personalSpace
Examples:
| dav_version |
| spaces |

@issue-ocis-reva-98
Scenario Outline: Downloading a file with checksum should return the checksum in the download header
Given using <dav_version> DAV path
Expand All @@ -81,11 +61,6 @@ Feature: checksums
| old |
| new |

@skipOnOcV10 @personalSpace
Examples:
| dav_version |
| spaces |

@issue-ocis-reva-196
Scenario Outline: Uploading a chunked file with checksum should return the checksum in the propfind
Given using <dav_version> DAV path
Expand All @@ -99,11 +74,6 @@ Feature: checksums
| dav_version |
| old |

@skipOnOcV10 @personalSpace
Examples:
| dav_version |
| spaces |

@issue-ocis-reva-17
Scenario Outline: Uploading a chunked file with checksum should return the checksum in the download header
Given using <dav_version> DAV path
Expand All @@ -117,11 +87,6 @@ Feature: checksums
| dav_version |
| old |

@skipOnOcV10 @personalSpace
Examples:
| dav_version |
| spaces |

@local_storage @files_external-app-required @notToImplementOnOCIS
Scenario Outline: Downloading a file from local storage has correct checksum
Given using <dav_version> DAV path
Expand Down Expand Up @@ -151,11 +116,6 @@ Feature: checksums
| old |
| new |

@skipOnOcV10 @personalSpace
Examples:
| dav_version |
| spaces |

@issue-ocis-reva-196
Scenario Outline: Copying a file with checksum should return the checksum in the propfind using new DAV path
Given using <dav_version> DAV path
Expand All @@ -167,11 +127,6 @@ Feature: checksums
| dav_version |
| new |

@skipOnOcV10 @personalSpace
Examples:
| dav_version |
| spaces |

@issue-ocis-reva-98
Scenario Outline: Copying file with checksum should return the checksum in the download header using new DAV path
Given using <dav_version> DAV path
Expand All @@ -183,11 +138,6 @@ Feature: checksums
| dav_version |
| new |

@skipOnOcV10 @personalSpace
Examples:
| dav_version |
| spaces |

@files_sharing-app-required @issue-ocis-reva-196
Scenario Outline: Sharing a file with checksum should return the checksum in the propfind using new DAV path
Given the administrator has set the default folder for received shares to "Shares"
Expand Down Expand Up @@ -303,11 +253,6 @@ Feature: checksums
| old |
| new |

@skipOnOcV10 @personalSpace
Examples:
| dav_version |
| spaces |


Scenario Outline: Upload a file where checksum does match
Given using <dav_version> DAV path
Expand All @@ -318,11 +263,6 @@ Feature: checksums
| old |
| new |

@skipOnOcV10 @personalSpace
Examples:
| dav_version |
| spaces |

@issue-ocis-reva-99
Scenario Outline: Uploaded file should have the same checksum when downloaded
Given using <dav_version> DAV path
Expand All @@ -337,11 +277,6 @@ Feature: checksums
| old |
| new |

@skipOnOcV10 @personalSpace
Examples:
| dav_version |
| spaces |

@local_storage @files_external-app-required @notToImplementOnOCIS @skipOnEncryptionType:user-keys @encryption-issue-42
Scenario Outline: Uploaded file to external storage should have the same checksum when downloaded
Given using <dav_version> DAV path
Expand All @@ -368,11 +303,6 @@ Feature: checksums
| dav_version |
| new |

@skipOnOcV10 @personalSpace
Examples:
| dav_version |
| spaces |

## upload overwriting
@issue-ocis-reva-196
Scenario Outline: Uploading a file with MD5 checksum overwriting an existing file
Expand All @@ -392,11 +322,6 @@ Feature: checksums
| old |
| new |

@skipOnOcV10 @personalSpace
Examples:
| dav_version |
| spaces |

@issue-ocis-reva-196
Scenario Outline: Uploading a file with SHA1 checksum overwriting an existing file
Given using <dav_version> DAV path
Expand All @@ -415,11 +340,6 @@ Feature: checksums
| old |
| new |

@skipOnOcV10 @personalSpace
Examples:
| dav_version |
| spaces |

@skipOnStorage:ceph @skipOnStorage:scality @files_primary_s3-issue-224 @issue-ocis-reva-196
Scenario Outline: Uploading a file with invalid SHA1 checksum overwriting an existing file
Given using <dav_version> DAV path
Expand All @@ -433,11 +353,6 @@ Feature: checksums
| old |
| new |

@skipOnOcV10 @personalSpace
Examples:
| dav_version |
| spaces |

@issue-ocis-reva-56 @notToImplementOnOCIS @newChunking @issue-ocis-1321
Scenario: Upload overwriting a file with new chunking and correct checksum
Given using new DAV path
Expand Down Expand Up @@ -477,9 +392,3 @@ Feature: checksums
| old | "# %ab ab?=ed" |
| new | " oc?test=ab&cd " |
| new | "# %ab ab?=ed" |

@skipOnOcV10 @personalSpace
Examples:
| dav_version | renamed_file |
| spaces | " oc?test=ab&cd " |
| spaces | "# %ab ab?=ed" |
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,4 @@ Feature: resources shared with the same name are received with unique names
@skipOnOcis
Examples:
| share |
| /Shares/foo (2)/ |
@skipOnOcV10
Examples:
| share |
| /Shares/foo (1)/ |
| /Shares/foo (2)/ |
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,6 @@ Feature: share resources where the sharee receives the share in multiple ways
| 1 | 100 | /Shares/textfile0 (2).txt |
| 2 | 200 | /Shares/textfile0 (2).txt |

@skipOnOcV10 @issue-2131
Examples:
| ocs_api_version | ocs_status_code | file_target |
| 1 | 100 | /textfile0 (2).txt |
| 2 | 200 | /textfile0 (2).txt |

@issue-ocis-1289
Scenario Outline: Share of folder and sub-folder to same user
Given using OCS API version "<ocs_api_version>"
Expand Down Expand Up @@ -135,12 +129,6 @@ Feature: share resources where the sharee receives the share in multiple ways
| 1 | /Shares/randomfile.txt | /Shares/randomfile (2).txt |
| 2 | /Shares/randomfile.txt | /Shares/randomfile (2).txt |

@skipOnOcV10 @issue-ocis-2131
Examples:
| ocs_api_version | file_target_1 | file_target_2 |
| 1 | /randomfile.txt | /randomfile (2).txt |
| 2 | /randomfile.txt | /randomfile (2).txt |


Scenario Outline: multiple users share a folder with the same name to a user
Given using OCS API version "<ocs_api_version>"
Expand Down Expand Up @@ -175,12 +163,6 @@ Feature: share resources where the sharee receives the share in multiple ways
| 1 | /Shares/zzzfolder | /Shares/zzzfolder (2) | 100 |
| 2 | /Shares/zzzfolder | /Shares/zzzfolder (2) | 200 |

@skipOnOcV10 @issue-ocis-2131
Examples:
| ocs_api_version | file_target_1 | file_target_2 | ocs_status_code |
| 1 | /zzzfolder | /zzzfolder (2) | 100 |
| 2 | /zzzfolder | /zzzfolder (2) | 200 |

@skipOnEncryptionType:user-keys @encryption-issue-132 @skipOnLDAP @skipOnGraph
Scenario Outline: share with a group and then add a user to that group that already has a file with the shared name
Given using OCS API version "<ocs_api_version>"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -528,11 +528,6 @@ Feature: sharing
| ocs_api_version | ocs_status_code | path |
| 1 | 100 | /Shares/textfile0.txt |
| 2 | 200 | /Shares/textfile0.txt |
@skipOnOcV10 @issue-ocis-2441
Examples:
| ocs_api_version | ocs_status_code | path |
| 1 | 100 | /textfile0.txt |
| 2 | 200 | /textfile0.txt |

@skipOnFilesClassifier @issue-files-classifier-291 @issue-ocis-2146
Scenario: Share a file by multiple channels and download from sub-folder and direct file share
Expand Down
Loading

0 comments on commit c41026a

Please sign in to comment.