From 70f13176c0eb5e800836213ef65df10b6f70e48e Mon Sep 17 00:00:00 2001 From: Jannik Stehle Date: Fri, 1 Jul 2022 14:37:10 +0200 Subject: [PATCH] Remove outdates acceptance tests --- .../sharePermissionsUsers.feature | 34 ++++++------- .../sharePermissionsUsers.feature | 50 +++++++++---------- 2 files changed, 42 insertions(+), 42 deletions(-) diff --git a/tests/acceptance/features/webUISharingPermissionToRoot/sharePermissionsUsers.feature b/tests/acceptance/features/webUISharingPermissionToRoot/sharePermissionsUsers.feature index a1621610892..ad23766ac18 100644 --- a/tests/acceptance/features/webUISharingPermissionToRoot/sharePermissionsUsers.feature +++ b/tests/acceptance/features/webUISharingPermissionToRoot/sharePermissionsUsers.feature @@ -170,25 +170,25 @@ Feature: Sharing files and folders with internal users with different permission | permissions | delete, read, update | - Scenario: User is not allowed to reshare sub-folder with more permissions - Given user "Carol" has been created with default attributes and without skeleton files in the server - And user "Brian" has shared folder "simple-folder" with user "Alice" with "read, share, delete" permissions in the server - And user "Alice" has logged in using the webUI - When the user browses to the folder "simple-folder" on the files page - And the user shares folder "simple-empty-folder" with user "Carol King" as "Custom permissions" with permissions "share, delete, update" using the webUI - Then the error message with header "Error while sharing." should be displayed on the webUI - And as "Carol" folder "simple-empty-folder" should not exist in the server - Scenario: User is not allowed to update permissions of a reshared sub-folder to higher permissions than what user has received - Given user "Carol" has been created with default attributes and without skeleton files in the server - And user "Brian" has shared folder "simple-folder" with user "Alice" with "read, share, delete, update" permissions in the server - And user "Alice" has shared folder "simple-folder" with user "Carol" with "share, delete" permissions in the server - And user "Alice" has logged in using the webUI - When the user browses to the folder "simple-folder" on the files page - And the user shares folder "simple-empty-folder" with user "Carol King" as "Custom permissions" with permissions "share, delete, update, create" using the webUI - Then the error message with header "Error while sharing." should be displayed on the webUI - And as "Carol" folder "simple-empty-folder" should not exist in the server + + + + + + + + + + + + + + + + + Scenario: User is allowed to update permissions of a reshared sub-folder within the permissions that the user has received diff --git a/tests/acceptance/features/webUISharingPermissionsUsers/sharePermissionsUsers.feature b/tests/acceptance/features/webUISharingPermissionsUsers/sharePermissionsUsers.feature index 41ba92b0d95..4e4f4eece1e 100644 --- a/tests/acceptance/features/webUISharingPermissionsUsers/sharePermissionsUsers.feature +++ b/tests/acceptance/features/webUISharingPermissionsUsers/sharePermissionsUsers.feature @@ -183,32 +183,32 @@ Feature: Sharing files and folders with internal users with different permission | item_type | folder | | permissions | delete, read, update | - @issue-ocis-2260 - Scenario: User is not allowed to reshare sub-folder with more permissions - Given user "Carol" has been created with default attributes and without skeleton files in the server - And user "Brian" has shared folder "simple-folder" with user "Alice" with "read, share, delete" permissions in the server - And user "Alice" has accepted the share "Shares/simple-folder" offered by user "Brian" in the server - And user "Alice" has logged in using the webUI - When the user opens folder "Shares" using the webUI - And the user opens folder "simple-folder" using the webUI - And the user shares folder "simple-empty-folder" with user "Carol King" as "Custom permissions" with permissions "share, delete, update" using the webUI - Then the error message with header "Error while sharing." should be displayed on the webUI - And user "Carol" should not have received any shares in the server - And as "Carol" folder "/Shares/simple-empty-folder" should not exist in the server - @issue-ocis-2260 - Scenario: User is not allowed to update permissions of a reshared sub-folder to higher permissions than what user has received - Given user "Carol" has been created with default attributes and without skeleton files in the server - And user "Brian" has shared folder "simple-folder" with user "Alice" with "read, share, delete, update" permissions in the server - And user "Alice" has accepted the share "Shares/simple-folder" offered by user "Brian" in the server - And user "Alice" has shared folder "/Shares/simple-folder" with user "Carol" with "share, delete" permissions in the server - And user "Alice" has logged in using the webUI - When the user opens folder "Shares" using the webUI - And the user opens folder "simple-folder" using the webUI - And the user shares folder "simple-empty-folder" with user "Carol King" as "Custom permissions" with permissions "share, delete, update, create" using the webUI - Then the error message with header "Error while sharing." should be displayed on the webUI - And user "Carol" should not have received any shares in the server - And as "Carol" folder "/Shares/simple-empty-folder" should not exist in the server + + + + + + + + + + + + + + + + + + + + + + + + + @issue-ocis-2260 Scenario: User is allowed to update permissions of a reshared sub-folder within the permissions that the user has received