Skip to content

Commit

Permalink
Removed closed issues --part 5
Browse files Browse the repository at this point in the history
  • Loading branch information
kiranparajuli589 committed Jun 24, 2021
1 parent 01d911c commit e4ecd3a
Show file tree
Hide file tree
Showing 6 changed files with 41 additions and 60 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
@api @files_sharing-app-required @public_link_share-feature-required @notToImplementOnOCIS @issue-ocis-reva-282
@issue-ocis-reva-233 @issue-ocis-reva-243 @issue-ocis-reva-289
@api @files_sharing-app-required @public_link_share-feature-required @notToImplementOnOCIS
Feature: reshare as public link
As a user
I want to create public link shares from files/folders shared with me
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Feature: sharing
| 1 | 100 |
| 2 | 200 |

@issue-ocis-reva-194 @issue-ocis-reva-243
@issue-ocis-1289
Scenario Outline: keep group permissions in sync
Given using OCS API version "<ocs_api_version>"
And user "Brian" has been created with default attributes and without skeleton files
Expand Down Expand Up @@ -63,7 +63,6 @@ Feature: sharing
| 1 | 100 |
| 2 | 200 |

@issue-ocis-reva-194 @issue-ocis-reva-243
Scenario Outline: Cannot set permissions to zero
Given using OCS API version "<ocs_api_version>"
And group "grp1" has been created
Expand All @@ -78,7 +77,7 @@ Feature: sharing
| 1 | 200 |
| 2 | 400 |

@issue-ocis-reva-243
@skipOnOcis @issue-ocis-2202
Scenario Outline: Cannot update a share of a file with a user to have only create and/or delete permission
Given using OCS API version "<ocs_api_version>"
And user "Brian" has been created with default attributes and without skeleton files
Expand All @@ -100,7 +99,7 @@ Feature: sharing
| 1 | 200 | create,delete |
| 2 | 400 | create,delete |

@issue-ocis-reva-194 @issue-ocis-reva-243
@skipOnOcis @issue-ocis-2202
Scenario Outline: Cannot update a share of a file with a group to have only create and/or delete permission
Given using OCS API version "<ocs_api_version>"
And user "Brian" has been created with default attributes and without skeleton files
Expand All @@ -124,7 +123,7 @@ Feature: sharing
| 1 | 200 | create,delete |
| 2 | 400 | create,delete |

@skipOnFilesClassifier @issue-files-classifier-291 @toFixOnOCIS @issue-ocis-reva-243
@skipOnFilesClassifier @issue-files-classifier-291 @toFixOnOCIS @issue-ocis-2201
Scenario: Share ownership change after moving a shared file outside of an outer share
Given these users have been created with default attributes and without skeleton files:
| username |
Expand Down Expand Up @@ -156,7 +155,7 @@ Feature: sharing
And as "Alice" folder "/Shares/folder1/folder2" should not exist
And as "Carol" folder "/Shares/folder2" should exist

@toFixOnOCIS @issue-ocis-reva-243
@toFixOnOCIS @issue-ocis-2133
Scenario: Share ownership change after moving a shared file to another share
Given these users have been created with default attributes and without skeleton files:
| username |
Expand Down Expand Up @@ -188,7 +187,7 @@ Feature: sharing
And as "Alice" folder "/Alice-folder/folder2" should not exist
And as "Carol" folder "/Carol-folder/folder2" should exist

@skipOnOcV10.3 @skipOnOcV10.4 @toFixOnOCIS @toFixOnOcV10 @issue-ocis-reva-243 @issue-ocis-reva-349 @issue-ocis-reva-350 @issue-ocis-reva-352 @issue-37653
@skipOnOcV10.3 @skipOnOcV10.4 @toFixOnOCIS @toFixOnOcV10 @issue-ocis-reva-349 @issue-ocis-reva-350 @issue-ocis-reva-352 @issue-37653
#after fixing all the issues merge this scenario with the one below
Scenario Outline: API responds with a full set of parameters when owner changes the permission of a share
Given using OCS API version "<ocs_api_version>"
Expand Down Expand Up @@ -235,7 +234,6 @@ Feature: sharing
| 1 | 100 |
| 2 | 200 |

@issue-ocis-reva-194 @issue-ocis-reva-243
Scenario Outline: Increasing permissions is allowed for owner
Given using OCS API version "<ocs_api_version>"
And user "Brian" has been created with default attributes and without skeleton files
Expand All @@ -258,7 +256,7 @@ Feature: sharing
| 1 | 100 |
| 2 | 200 |

@issue-ocis-reva-194 @issue-ocis-reva-243
@issue-ocis-1328
Scenario Outline: Forbid sharing with groups
Given using OCS API version "<ocs_api_version>"
And group "grp1" has been created
Expand All @@ -272,7 +270,7 @@ Feature: sharing
| 1 | 200 |
| 2 | 404 |

@issue-ocis-reva-194 @issue-ocis-reva-41
@issue-ocis-1328
Scenario Outline: Editing share permission of existing share is forbidden when sharing with groups is forbidden
Given using OCS API version "<ocs_api_version>"
And group "grp1" has been created
Expand All @@ -298,7 +296,7 @@ Feature: sharing
| 1 | 200 |
| 2 | 400 |

@issue-ocis-reva-194 @issue-ocis-reva-41
@issue-ocis-1328
Scenario Outline: Deleting group share is allowed when sharing with groups is forbidden
Given using OCS API version "<ocs_api_version>"
And group "grp1" has been created
Expand All @@ -315,7 +313,7 @@ Feature: sharing
| 1 | 100 |
| 2 | 200 |

@issue-ocis-reva-194 @issue-ocis-reva-41
@issue-ocis-1328
Scenario Outline: user can update the role in an existing share after the system maximum expiry date has been reduced
Given using OCS API version "<ocs_api_version>"
And parameter "shareapi_default_expire_date_user_share" of app "core" has been set to "yes"
Expand Down Expand Up @@ -344,7 +342,7 @@ Feature: sharing
| 1 | 100 |
| 2 | 200 |

@skipOnOcV10 @issue-37217 @issue-ocis-reva-194 @issue-ocis-reva-41
@skipOnOcV10 @issue-37217 @issue-ocis-1328
Scenario Outline: user cannot concurrently update the role and date in an existing share after the system maximum expiry date has been reduced
Given using OCS API version "<ocs_api_version>"
And parameter "shareapi_default_expire_date_user_share" of app "core" has been set to "yes"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@api @files_sharing-app-required @issue-ocis-reva-194 @issue-ocis-reva-243
@api @files_sharing-app-required @issue-ocis-1289 @issue-ocis-1328
Feature: updating shares to users and groups that have the same name

Background:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@api @app-required @notifications-app-required @files_sharing-app-required @issue-ocis-reva-41 @issue-ocis-reva-243
@api @app-required @notifications-app-required @files_sharing-app-required @issue-ocis-1328
Feature: Display notifications when receiving a share
As a user
I want to see notifications about shares that have been offered to me
Expand Down
46 changes: 15 additions & 31 deletions tests/acceptance/features/apiVersions/fileVersions.feature
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,7 @@ Feature: dav-versions
| permissions | read |
Then the version folder of fileId "<<FILEID>>" for user "Brian" should contain "1" element

@files_sharing-app-required
@notToImplementOnOCIS @issue-ocis-reva-243
@files_sharing-app-required @notToImplementOnOCIS
Scenario: sharer of a file can see the old version information when the sharee changes the content of the file
Given user "Brian" has been created with default attributes and without skeleton files
And user "Alice" has uploaded file with content "First content" to "sharefile.txt"
Expand All @@ -149,8 +148,7 @@ Feature: dav-versions
Then the HTTP status code should be "204"
And the version folder of file "/sharefile.txt" for user "Alice" should contain "1" element

@files_sharing-app-required
@notToImplementOnOCIS @issue-ocis-reva-243
@files_sharing-app-required @notToImplementOnOCIS
Scenario: sharer of a file can restore the original content of a shared file after the file has been modified by the sharee
Given user "Brian" has been created with default attributes and without skeleton files
And user "Alice" has uploaded file with content "First content" to "sharefile.txt"
Expand All @@ -161,8 +159,7 @@ Feature: dav-versions
And the content of file "/sharefile.txt" for user "Alice" should be "First content"
And the content of file "/sharefile.txt" for user "Brian" should be "First content"

@files_sharing-app-required
@notToImplementOnOCIS @issue-ocis-reva-243
@files_sharing-app-required @notToImplementOnOCIS
Scenario: sharer can restore a file inside a shared folder modified by sharee
Given user "Brian" has been created with default attributes and without skeleton files
And user "Alice" has created folder "/sharingfolder"
Expand All @@ -174,8 +171,7 @@ Feature: dav-versions
And the content of file "/sharingfolder/sharefile.txt" for user "Alice" should be "First content"
And the content of file "/sharingfolder/sharefile.txt" for user "Brian" should be "First content"

@files_sharing-app-required
@notToImplementOnOCIS @issue-ocis-reva-243
@files_sharing-app-required @notToImplementOnOCIS
Scenario: sharee can restore a file inside a shared folder modified by sharee
Given user "Brian" has been created with default attributes and without skeleton files
And user "Alice" has created folder "/sharingfolder"
Expand All @@ -187,8 +183,7 @@ Feature: dav-versions
And the content of file "/sharingfolder/sharefile.txt" for user "Alice" should be "First content"
And the content of file "/sharingfolder/sharefile.txt" for user "Brian" should be "First content"

@files_sharing-app-required
@notToImplementOnOCIS @issue-ocis-reva-243
@files_sharing-app-required @notToImplementOnOCIS
Scenario: sharer can restore a file inside a shared folder created by sharee and modified by sharer
Given user "Brian" has been created with default attributes and without skeleton files
And user "Alice" has created folder "/sharingfolder"
Expand All @@ -200,8 +195,7 @@ Feature: dav-versions
And the content of file "/sharingfolder/sharefile.txt" for user "Alice" should be "First content"
And the content of file "/sharingfolder/sharefile.txt" for user "Brian" should be "First content"

@files_sharing-app-required
@notToImplementOnOCIS @issue-ocis-reva-243
@files_sharing-app-required @notToImplementOnOCIS
Scenario: sharee can restore a file inside a shared folder created by sharee and modified by sharer
Given user "Brian" has been created with default attributes and without skeleton files
And user "Alice" has created folder "/sharingfolder"
Expand All @@ -213,8 +207,7 @@ Feature: dav-versions
And the content of file "/sharingfolder/sharefile.txt" for user "Alice" should be "First content"
And the content of file "/sharingfolder/sharefile.txt" for user "Brian" should be "First content"

@files_sharing-app-required
@notToImplementOnOCIS @issue-ocis-reva-243
@files_sharing-app-required @notToImplementOnOCIS
Scenario: sharer can restore a file inside a shared folder created by sharee and modified by sharee
Given user "Brian" has been created with default attributes and without skeleton files
And user "Alice" has created folder "/sharingfolder"
Expand All @@ -226,8 +219,7 @@ Feature: dav-versions
And the content of file "/sharingfolder/sharefile.txt" for user "Alice" should be "old content"
And the content of file "/sharingfolder/sharefile.txt" for user "Brian" should be "old content"

@files_sharing-app-required
@notToImplementOnOCIS @issue-ocis-reva-243
@files_sharing-app-required @notToImplementOnOCIS
Scenario: sharee can restore a file inside a shared folder created by sharer and modified by sharer
Given user "Brian" has been created with default attributes and without skeleton files
And user "Alice" has created folder "/sharingfolder"
Expand All @@ -239,8 +231,7 @@ Feature: dav-versions
And the content of file "/sharingfolder/sharefile.txt" for user "Alice" should be "old content"
And the content of file "/sharingfolder/sharefile.txt" for user "Brian" should be "old content"

@files_sharing-app-required
@notToImplementOnOCIS @issue-ocis-reva-243
@files_sharing-app-required @notToImplementOnOCIS
Scenario: sharee can restore a file inside a shared folder created by sharer and modified by sharer, when the folder has been moved by the sharee
Given user "Brian" has been created with default attributes and without skeleton files
And user "Alice" has created folder "/sharingfolder"
Expand All @@ -254,8 +245,7 @@ Feature: dav-versions
And the content of file "/sharingfolder/sharefile.txt" for user "Alice" should be "old content"
And the content of file "/received/sharingfolder/sharefile.txt" for user "Brian" should be "old content"

@files_sharing-app-required
@notToImplementOnOCIS @issue-ocis-reva-243
@files_sharing-app-required @notToImplementOnOCIS
Scenario: sharee can restore a shared file created and modified by sharer, when the file has been moved by the sharee (file is at the top level of the sharer)
Given user "Brian" has been created with default attributes and without skeleton files
And user "Alice" has uploaded file with content "old content" to "/sharefile.txt"
Expand All @@ -268,8 +258,7 @@ Feature: dav-versions
And the content of file "/sharefile.txt" for user "Alice" should be "old content"
And the content of file "/received/sharefile.txt" for user "Brian" should be "old content"

@files_sharing-app-required
@notToImplementOnOCIS @issue-ocis-reva-243
@files_sharing-app-required @notToImplementOnOCIS
Scenario: sharee can restore a shared file created and modified by sharer, when the file has been moved by the sharee (file is inside a folder of the sharer)
Given user "Brian" has been created with default attributes and without skeleton files
And user "Alice" has created folder "/sharingfolder"
Expand All @@ -283,8 +272,7 @@ Feature: dav-versions
And the content of file "/sharingfolder/sharefile.txt" for user "Alice" should be "old content"
And the content of file "/received/sharefile.txt" for user "Brian" should be "old content"

@files_sharing-app-required
@issue-ocis-reva-34
@files_sharing-app-required @issue-ocis-1289
Scenario: sharer can restore a file inside a group shared folder modified by sharee
Given user "Brian" has been created with default attributes and without skeleton files
And user "Carol" has been created with default attributes and without skeleton files
Expand All @@ -302,8 +290,7 @@ Feature: dav-versions
And the content of file "/sharingfolder/sharefile.txt" for user "Brian" should be "First content"
And the content of file "/sharingfolder/sharefile.txt" for user "Carol" should be "First content"

@files_sharing-app-required
@notToImplementOnOCIS @issue-ocis-reva-243 @issue-ocis-reva-386
@files_sharing-app-required @notToImplementOnOCIS @issue-ocis-1238
Scenario Outline: Moving a file (with versions) into a shared folder as the sharee and as the sharer
Given using <dav_version> DAV path
And user "Brian" has been created with default attributes and without skeleton files
Expand All @@ -330,8 +317,7 @@ Feature: dav-versions
| old | Brian |
| new | Brian |

@files_sharing-app-required
@notToImplementOnOCIS @issue-ocis-reva-243 @issue-ocis-reva-386
@files_sharing-app-required @notToImplementOnOCIS @issue-ocis-1238
Scenario Outline: Moving a file (with versions) out of a shared folder as the sharee and as the sharer
Given using <dav_version> DAV path
And user "Brian" has been created with default attributes and without skeleton files
Expand All @@ -357,8 +343,7 @@ Feature: dav-versions
| old | Brian |
| new | Brian |

@skipOnOcV10.3.0 @files_sharing-app-required
@issue-ocis-reva-382
@skipOnOcV10.3.0 @files_sharing-app-required @issue-ocis-1238
Scenario: Receiver tries to get file versions of unshared file from the sharer
Given user "Brian" has been created with default attributes and without skeleton files
And user "Alice" has uploaded file with content "textfile0" to "textfile0.txt"
Expand All @@ -369,7 +354,6 @@ Feature: dav-versions
And the value of the item "//s:exception" in the response about user "Alice" should be "Sabre\DAV\Exception\NotFound"

@skipOnStorage:ceph @files_primary_s3-issue-161 @files_sharing-app-required
@issue-ocis-reva-376
Scenario: Receiver tries get file versions of shared file from the sharer
Given user "Brian" has been created with default attributes and without skeleton files
And user "Alice" has uploaded file with content "textfile0" to "textfile0.txt"
Expand Down
Loading

0 comments on commit e4ecd3a

Please sign in to comment.