Skip to content

Commit

Permalink
Skip tests on ocis
Browse files Browse the repository at this point in the history
  • Loading branch information
amrita-shrestha committed Oct 31, 2022
1 parent 57bfb53 commit 425ab54
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 43 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,19 +37,6 @@ Other free text and markdown formatting can be used elsewhere in the document if
- [webUIFilesCopy/copyPrivateLinks.feature:20](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIFilesCopy/copyPrivateLinks.feature#L20)
- [webUIFilesCopy/copyPrivateLinks.feature:21](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIFilesCopy/copyPrivateLinks.feature#L21)

### [No occ command in ocis](https://github.com/owncloud/ocis/issues/1317)
- [webUIRestrictSharing/restrictReSharing.feature:23](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIRestrictSharing/restrictReSharing.feature#L23)
- [webUIRestrictSharing/restrictReSharing.feature:42](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIRestrictSharing/restrictReSharing.feature#L42)
- [webUIRestrictSharing/restrictSharing.feature:31](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIRestrictSharing/restrictSharing.feature#L31)
- [webUIRestrictSharing/restrictSharing.feature:40](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIRestrictSharing/restrictSharing.feature#L40)
- [webUIRestrictSharing/restrictSharing.feature:56](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIRestrictSharing/restrictSharing.feature#L56)
- [webUISharingInternalUsersBlacklisted/shareWithUsers.feature:16](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingInternalUsersBlacklisted/shareWithUsers.feature#L16)
- [webUISharingInternalUsersBlacklisted/shareWithUsers.feature:34](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingInternalUsersBlacklisted/shareWithUsers.feature#L34)
- [webUISharingInternalUsersBlacklisted/shareWithUsers.feature:52](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingInternalUsersBlacklisted/shareWithUsers.feature#L52)
- [webUISharingInternalUsersBlacklisted/shareWithUsers.feature:70](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingInternalUsersBlacklisted/shareWithUsers.feature#L70)
- [webUISharingInternalUsersBlacklisted/shareWithUsers.feature:82](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingInternalUsersBlacklisted/shareWithUsers.feature#L82)
- [webUISharingInternalGroups/shareWithGroups.feature:202](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingInternalGroups/shareWithGroups.feature#L202)

### [Cannot create users with special characters](https://github.com/owncloud/ocis/issues/1417)
- [webUISharingAutocompletion/shareAutocompletionSpecialChars.feature:37](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingAutocompletion/shareAutocompletionSpecialChars.feature#L37)
- [webUISharingAutocompletion/shareAutocompletionSpecialChars.feature:38](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingAutocompletion/shareAutocompletionSpecialChars.feature#L38)
Expand Down Expand Up @@ -136,14 +123,6 @@ Other free text and markdown formatting can be used elsewhere in the document if
- [webUISharingExternal/federationSharing.feature:38](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingExternal/federationSharing.feature#L38)
- [webUISharingExternal/federationSharing.feature:166](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingExternal/federationSharing.feature#L166)

### [reshared share that is shared with a group the sharer is part of shows twice on "Share with me" page](https://github.com/owncloud/web/issues/2512)
- [webUISharingAcceptShares/acceptShares.feature:31](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingAcceptShares/acceptShares.feature#L31)

### [[oCIS] Received share cannot be deleted/unshared if not shared with full permissions](https://github.com/owncloud/web/issues/5531)
- [webUISharingAcceptShares/acceptShares.feature:49](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingAcceptShares/acceptShares.feature#L49)
- [webUISharingAcceptShares/acceptShares.feature:161](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingAcceptShares/acceptShares.feature#L161)
- [webUISharingAcceptShares/acceptShares.feature:200](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingAcceptShares/acceptShares.feature#L200)

### [not possible to overwrite a received shared file](https://github.com/owncloud/ocis/issues/2267)
- [webUISharingInternalGroups/shareWithGroups.feature:79](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingInternalGroups/shareWithGroups.feature#L79)
- [webUISharingInternalUsers/shareWithUsers.feature:55](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingInternalUsers/shareWithUsers.feature#L55)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@issue-ocis-1317
@issue-ocis-1328 @issue-6896 @skipOnOCIS
Feature: restrict resharing
As an admin
I want to be able to forbid the sharing of a received share globally
Expand Down Expand Up @@ -35,9 +35,6 @@ Feature: restrict resharing
When the user browses to the favorites page
Then the user should not be able to share folder "Shares/simple-folder" using the webUI




@smokeTest
Scenario: disable resharing and check if the received resource from group share can be reshared
Given the setting "shareapi_allow_resharing" of app "core" has been set to "no" in the server
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@issue-ocis-1317
@issue-ocis-1328 @skipOnOCIS
Feature: restrict Sharing
As an admin
I want to be able to restrict the sharing function
Expand Down Expand Up @@ -31,7 +31,6 @@ Feature: restrict Sharing
Scenario: Restrict users to only share with users in their groups
Given the setting "shareapi_only_share_with_group_members" of app "core" has been set to "yes" in the server
When the user opens the share dialog for folder "simple-folder" using the webUI

And the user types "Ali" in the share-with-field
Then "user" "Alice Hansen" should be listed in the autocomplete list on the webUI
But "user" "Alison Cooper" should not be listed in the autocomplete list on the webUI
Expand All @@ -40,7 +39,6 @@ Feature: restrict Sharing
Scenario: Restrict users to only share with groups they are member of
Given the setting "shareapi_only_share_with_membership_groups" of app "core" has been set to "yes" in the server
When the user opens the share dialog for folder "simple-folder" using the webUI

And the user types "grp" in the share-with-field
Then "group" "grp1" should be listed in the autocomplete list on the webUI
But "group" "grp2" should not be listed in the autocomplete list on the webUI
Expand All @@ -56,7 +54,6 @@ Feature: restrict Sharing
Scenario: Forbid sharing with groups
Given the setting "shareapi_allow_group_sharing" of app "core" has been set to "no" in the server
When the user opens the share dialog for folder "simple-folder" using the webUI

And the user types "grp" in the share-with-field
Then "group" "grp1" should not be listed in the autocomplete list on the webUI
And "group" "grp2" should not be listed in the autocomplete list on the webUI
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Feature: accept/decline shares coming from internal users
When the user browses to the files page
Then folder "/Shares" should not be listed on the webUI

@issue-2512 @issue-4102
@issue-2512 @issue-4102 @issue-6896 @skipOnOCIS
Scenario: reshare a share that you received to a group that you are member of
Given these groups have been created in the server:
| groupname |
Expand All @@ -45,7 +45,7 @@ Feature: accept/decline shares coming from internal users
And folder "simple-folder" shared by "Brian Murphy" should not be listed on the webUI
And folder "simple-folder" should not be listed on the webUI

@issue-4102 @issue-5531
@issue-4102 @issue-5531 @issue-6896 @skipOnOCIS
Scenario: unshare accepted shares from "All files" page
Given these groups have been created in the server:
| groupname |
Expand Down Expand Up @@ -92,9 +92,6 @@ Feature: accept/decline shares coming from internal users
And folder "Shares" should not be listed on the webUI





Scenario: receive shares with same name from different users
Given user "Carol" has been created with default attributes and without skeleton files in the server
And user "Carol" has created file "lorem.txt" in the server
Expand Down Expand Up @@ -139,7 +136,6 @@ Feature: accept/decline shares coming from internal users
Then file "toshare.txt" should be listed on the webUI
And file "anotherfile.txt" should not be listed on the webUI


@skipOnOCIS
Scenario: accept a previously declined share
Given user "Alice" has created file "lorem.txt" in the server
Expand All @@ -157,7 +153,7 @@ Feature: accept/decline shares coming from internal users
Then file "lorem.txt" should be listed on the webUI
And file "testimage.jpg" should not be listed on the webUI

@issue-4102 @issue-5531
@issue-4102 @issue-5531 @issue-6896 @skipOnOCIS
Scenario: delete an accepted share
Given user "Alice" has created file "lorem.txt" in the server
And user "Alice" has uploaded file "testavatar.jpg" to "testimage.jpg" in the server
Expand Down Expand Up @@ -196,7 +192,7 @@ Feature: accept/decline shares coming from internal users
And file "lorem.txt" shared by "Alice Hansen" should be in "Declined" state on the webUI
And folder "simple-folder" shared by "Alice Hansen" should be in "Declined" state on the webUI

@issue-4102 @issue-5531
@issue-4102 @issue-5531 @issue-6896 @skipOnOCIS
Scenario: shared file status is changed to declined when user deletes the file
Given user "Alice" has created file "lorem.txt" in the server
And user "Alice" has shared file "lorem.txt" with user "Brian" in the server
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@ Feature: Sharing files and folders with internal groups
And the user shares folder "simple-folder" with user "Alice Hansen" as "Viewer" using the webUI
Then the current collaborators list should have order "Alice Hansen,Brian Murphy,grp1,grp11"

# this scenario is skipped on ocis because it opens share folder which in not possible in OCIS
# but it works for OC10 see issue https://github.com/owncloud/web/issues/6896 for more detail
@skipOnOCIS
@issue-6896 @skipOnOCIS
Scenario Outline: share a file & folder with another internal user
Given user "Carol" has created folder "simple-folder" in the server
And user "Carol" has created file "simple-folder/lorem.txt" in the server
Expand Down Expand Up @@ -198,15 +196,14 @@ Feature: Sharing files and folders with internal groups
And as "Brian" file "/Shares/lorem.txt" should not exist in the server
But as "Carol" file "/Shares/lorem.txt" should exist in the server

@issue-ocis-1317
@issue-ocis-1328 @skipOnOCIS
Scenario: Auto-completion for a group that is excluded from receiving shares
Given group "system-group" has been created in the server
And user "Alice" has created folder "simple-folder" in the server
And the administrator has excluded group "system-group" from receiving shares in the server
When the user re-logs in as "Alice" using the webUI
And the user browses to the files page
And the user opens the share dialog for folder "simple-folder" using the webUI

And the user types "system-group" in the share-with-field
Then the autocomplete list should not be displayed on the webUI

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@issue-ocis-1317
@issue-ocis-1328 @issue-6896 @skipOnOCIS
Feature: Sharing files and folders with internal users
As a user
I want to share files and folders with other users
Expand Down

0 comments on commit 425ab54

Please sign in to comment.