From 8d1e91526e98e2e886548ea9e661020ba4de8b7d Mon Sep 17 00:00:00 2001 From: Swikriti Tripathi Date: Tue, 19 Jul 2022 12:12:37 +0545 Subject: [PATCH] Skip tests related to issue-ocis-1328 on ocis --- ...-failures-with-ocis-server-ocis-storage.md | 26 +------------------ .../webUIFilesActionMenu/versions.feature | 2 +- .../webUIMoveFilesFolders/moveFiles.feature | 2 +- .../webUIMoveFilesFolders/moveFolders.feature | 2 +- .../disableSharing.feature | 2 +- .../publicLinkEdit.feature | 4 +-- .../shareByPublicLinkDifferentRoles.feature | 2 +- .../shareByPublicLinkExpiringLinks.feature | 12 ++++----- 8 files changed, 14 insertions(+), 38 deletions(-) diff --git a/tests/acceptance/expected-failures-with-ocis-server-ocis-storage.md b/tests/acceptance/expected-failures-with-ocis-server-ocis-storage.md index a4beb9ec8a3..64b7cc013c0 100644 --- a/tests/acceptance/expected-failures-with-ocis-server-ocis-storage.md +++ b/tests/acceptance/expected-failures-with-ocis-server-ocis-storage.md @@ -99,31 +99,7 @@ Other free text and markdown formatting can be used elsewhere in the document if - [webUIPrivateLinks/accessingPrivateLinks.feature:25](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIPrivateLinks/accessingPrivateLinks.feature#L25) - [webUIPrivateLinks/accessingPrivateLinks.feature:35](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIPrivateLinks/accessingPrivateLinks.feature#L35) -### [various sharing settings cannot be set](https://github.com/owncloud/ocis/issues/1328) -- [webUIRestrictSharing/disableSharing.feature:16](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIRestrictSharing/disableSharing.feature#L16) -- [webUIRestrictSharing/disableSharing.feature:22](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIRestrictSharing/disableSharing.feature#L22) -- [webUIRestrictSharing/disableSharing.feature:32](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIRestrictSharing/disableSharing.feature#L32) -- [webUIRestrictSharing/disableSharing.feature:49](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIRestrictSharing/disableSharing.feature#L49) -- [webUISharingPublicBasic/publicLinkEdit.feature:30](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingPublicBasic/publicLinkEdit.feature#L30) -- [webUISharingPublicBasic/publicLinkEdit.feature:31](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingPublicBasic/publicLinkEdit.feature#L31) -- [webUISharingPublicBasic/publicLinkEdit.feature:32](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingPublicBasic/publicLinkEdit.feature#L32) -- [webUISharingPublicBasic/publicLinkEdit.feature:33](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingPublicBasic/publicLinkEdit.feature#L33) -- [webUISharingPublicBasic/publicLinkEdit.feature:57](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingPublicBasic/publicLinkEdit.feature#L57) -- [webUISharingPublicBasic/publicLinkEdit.feature:58](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingPublicBasic/publicLinkEdit.feature#L58) -- [webUISharingPublicBasic/publicLinkEdit.feature:59](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingPublicBasic/publicLinkEdit.feature#L59) -- [webUISharingPublicBasic/publicLinkEdit.feature:60](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingPublicBasic/publicLinkEdit.feature#L60) -- [webUISharingPublicExpire/shareByPublicLinkExpiringLinks.feature:51](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingPublicExpire/shareByPublicLinkExpiringLinks.feature#L51) -- [webUISharingPublicExpire/shareByPublicLinkExpiringLinks.feature:52](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingPublicExpire/shareByPublicLinkExpiringLinks.feature#L52) -- [webUISharingPublicExpire/shareByPublicLinkExpiringLinks.feature:71](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingPublicExpire/shareByPublicLinkExpiringLinks.feature#L71) -- [webUISharingPublicExpire/shareByPublicLinkExpiringLinks.feature:72](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingPublicExpire/shareByPublicLinkExpiringLinks.feature#L72) -- [webUISharingPublicExpire/shareByPublicLinkExpiringLinks.feature:86](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingPublicExpire/shareByPublicLinkExpiringLinks.feature#L86) -- [webUISharingPublicExpire/shareByPublicLinkExpiringLinks.feature:106](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingPublicExpire/shareByPublicLinkExpiringLinks.feature#L106) -- [webUISharingPublicExpire/shareByPublicLinkExpiringLinks.feature:130](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingPublicExpire/shareByPublicLinkExpiringLinks.feature#L130) -- [webUISharingPublicExpire/shareByPublicLinkExpiringLinks.feature:147](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingPublicExpire/shareByPublicLinkExpiringLinks.feature#L147) -- [webUISharingPublicDifferentRoles/shareByPublicLinkDifferentRoles.feature:276](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingPublicDifferentRoles/shareByPublicLinkDifferentRoles.feature#L276) -- [webUIMoveFilesFolders/moveFiles.feature:97](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIMoveFilesFolders/moveFiles.feature#L97) -- [webUIMoveFilesFolders/moveFolders.feature:72](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIMoveFilesFolders/moveFolders.feature#L72) -- [webUIFilesActionMenu/versions.feature:93](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUIFilesActionMenu/versions.feature#L93) +### [Share additional info](https://github.com/owncloud/ocis/issues/1253) - [webUISharingInternalUsersShareWithPage/shareWithUsers.feature:140](https://github.com/owncloud/web/blob/master/tests/acceptance/features/webUISharingInternalUsersShareWithPage/shareWithUsers.feature#L140) ### [No occ command in ocis](https://github.com/owncloud/ocis/issues/1317) diff --git a/tests/acceptance/features/webUIFilesActionMenu/versions.feature b/tests/acceptance/features/webUIFilesActionMenu/versions.feature index 33862745e88..0ba58c01a54 100644 --- a/tests/acceptance/features/webUIFilesActionMenu/versions.feature +++ b/tests/acceptance/features/webUIFilesActionMenu/versions.feature @@ -89,7 +89,7 @@ Feature: Versions of a file And the user browses to display the "versions" details of file "lorem.txt" Then the versions list should contain 1 entries - @issue-ocis-1328 @disablePreviews + @issue-ocis-1328 @disablePreviews @skipOnOCIS Scenario: sharee can see the versions of a file Given the setting "shareapi_auto_accept_share" of app "core" has been set to "yes" in the server And user "user0" has uploaded file with content "lorem content" to "lorem-file.txt" in the server diff --git a/tests/acceptance/features/webUIMoveFilesFolders/moveFiles.feature b/tests/acceptance/features/webUIMoveFilesFolders/moveFiles.feature index 1d4d9899c12..89b2439faa1 100644 --- a/tests/acceptance/features/webUIMoveFilesFolders/moveFiles.feature +++ b/tests/acceptance/features/webUIMoveFilesFolders/moveFiles.feature @@ -93,7 +93,7 @@ Feature: move files And as "Alice" file "simple-folder/simple-empty-folder/data.zip" should exist in the server But as "Alice" file "simple-folder/data.zip" should not exist in the server - @issue-ocis-1328 + @skipOnOCIS Scenario: move a file into another folder with no change permission Given user "Brian" has been created with default attributes and without skeleton files in the server And user "Brian" has created folder "simple-folder" in the server diff --git a/tests/acceptance/features/webUIMoveFilesFolders/moveFolders.feature b/tests/acceptance/features/webUIMoveFilesFolders/moveFolders.feature index 081b7acb650..0fbaffb6eb0 100644 --- a/tests/acceptance/features/webUIMoveFilesFolders/moveFolders.feature +++ b/tests/acceptance/features/webUIMoveFilesFolders/moveFolders.feature @@ -68,7 +68,7 @@ Feature: move folders | "question?" | "target-folder-with-question?" | | "&and#hash" | "target-folder-with-&and#hash" | - @issue-ocis-1328 + @skipOnOCIS Scenario: move a folder into another folder with no change permission Given user "Brian" has been created with default attributes and without skeleton files in the server And user "Brian" has created folder "/simple-folder" in the server diff --git a/tests/acceptance/features/webUIRestrictSharing/disableSharing.feature b/tests/acceptance/features/webUIRestrictSharing/disableSharing.feature index 902871d1763..1b4ecb05aff 100644 --- a/tests/acceptance/features/webUIRestrictSharing/disableSharing.feature +++ b/tests/acceptance/features/webUIRestrictSharing/disableSharing.feature @@ -1,4 +1,4 @@ -@ocis-reva-issue-41 +@ocis-reva-issue-41 @skipOnOCIS Feature: disable sharing As an admin I want to be able to disable the sharing function diff --git a/tests/acceptance/features/webUISharingPublicBasic/publicLinkEdit.feature b/tests/acceptance/features/webUISharingPublicBasic/publicLinkEdit.feature index 7abf4517c29..83d3b7f3d0a 100644 --- a/tests/acceptance/features/webUISharingPublicBasic/publicLinkEdit.feature +++ b/tests/acceptance/features/webUISharingPublicBasic/publicLinkEdit.feature @@ -7,7 +7,7 @@ Feature: Edit public link shares Background: Given user "Alice" has been created with default attributes and without skeleton files in the server - @issue-ocis-1328 + @issue-ocis-1328 @skipOnOCIS Scenario Outline: user tries to change the role of an existing public link role without entering share password while enforce password for that role is enforced Given the setting "" of app "core" has been set to "yes" in the server And user "Alice" has created folder "simple-folder" in the server @@ -34,7 +34,7 @@ Feature: Edit public link shares - @issue-ocis-1328 + @issue-ocis-1328 @skipOnOCIS Scenario Outline: user tries to delete the password of an existing public link role while enforce password for that role is enforced Given the setting "" of app "core" has been set to "yes" in the server And user "Alice" has created folder "simple-folder" in the server diff --git a/tests/acceptance/features/webUISharingPublicDifferentRoles/shareByPublicLinkDifferentRoles.feature b/tests/acceptance/features/webUISharingPublicDifferentRoles/shareByPublicLinkDifferentRoles.feature index b674bbf8d77..35beb9a11dc 100644 --- a/tests/acceptance/features/webUISharingPublicDifferentRoles/shareByPublicLinkDifferentRoles.feature +++ b/tests/acceptance/features/webUISharingPublicDifferentRoles/shareByPublicLinkDifferentRoles.feature @@ -272,7 +272,7 @@ Feature: Share by public link with different roles And as "Alice" the content of "simple-folder/'single'quotes.txt" in the server should be the same as the content of local file "'single'quotes.txt" And as "Alice" the content of "simple-folder/new-lorem.txt" in the server should be the same as the content of local file "new-lorem.txt" - @issue-ocis-1328 + @issue-ocis-1328 @skipOnOCIS Scenario: user tries to create a public link with Viewer role without entering share password while enforce password on read only public share is enforced Given the setting "shareapi_enforce_links_password_read_only" of app "core" has been set to "yes" in the server And user "Alice" has logged in using the webUI diff --git a/tests/acceptance/features/webUISharingPublicExpire/shareByPublicLinkExpiringLinks.feature b/tests/acceptance/features/webUISharingPublicExpire/shareByPublicLinkExpiringLinks.feature index 2db8401f93e..a041b8b7d7b 100644 --- a/tests/acceptance/features/webUISharingPublicExpire/shareByPublicLinkExpiringLinks.feature +++ b/tests/acceptance/features/webUISharingPublicExpire/shareByPublicLinkExpiringLinks.feature @@ -32,7 +32,7 @@ Feature: Share by public link - @issue-ocis-1328 + @issue-ocis-1328 @skipOnOCIS Scenario Outline: auto set expiration date on public link (with default amount of expiry days) Given the setting "shareapi_default_expire_date" of app "core" has been set to "yes" in the server And user "Alice" has created "" in the server @@ -51,7 +51,7 @@ Feature: Share by public link | file | lorem.txt | | folder | simple-folder | - @issue-ocis-1328 + @issue-ocis-1328 @skipOnOCIS Scenario Outline: auto set expiration date on public link (with set amount expiry days) Given the setting "shareapi_default_expire_date" of app "core" has been set to "yes" in the server And the setting "shareapi_expire_after_n_days" of app "core" has been set to "42" in the server @@ -82,7 +82,7 @@ Feature: Share by public link - @issue-ocis-1328 + @issue-ocis-1328 @skipOnOCIS Scenario: user cannot change the expiry date of an existing public link to a date that is past the enforced max expiry date Given the setting "shareapi_default_expire_date" of app "core" has been set to "yes" in the server And the setting "shareapi_enforce_expire_date" of app "core" has been set to "yes" in the server @@ -102,7 +102,7 @@ Feature: Share by public link | name | Public link | | expiration | +6 | - @issue-ocis-1328 + @issue-ocis-1328 @skipOnOCIS Scenario: user cannot change the expiry date on existing public link to a date past the enforced max expiry date once max expiry date is changed Given the setting "shareapi_default_expire_date" of app "core" has been set to "yes" in the server And the setting "shareapi_expire_after_n_days" of app "core" has been set to "16" in the server @@ -126,7 +126,7 @@ Feature: Share by public link - @issue-ocis-1328 + @issue-ocis-1328 @skipOnOCIS Scenario: user can set an expiry date when creating a public link to a date that is before the enforced max expiry date Given the setting "shareapi_default_expire_date" of app "core" has been set to "yes" in the server And the setting "shareapi_enforce_expire_date" of app "core" has been set to "yes" in the server @@ -143,7 +143,7 @@ Feature: Share by public link | expiration | +7 | - @issue-ocis-1328 + @issue-ocis-1328 @skipOnOCIS Scenario: user can change the expiry date of an existing public link to a date that is before the enforced max expiry date Given the setting "shareapi_default_expire_date" of app "core" has been set to "yes" in the server And the setting "shareapi_enforce_expire_date" of app "core" has been set to "yes" in the server