From ec7938946eb4166fba819597b3d9b1e8c29a5448 Mon Sep 17 00:00:00 2001 From: nirajacharya2 <122071597+nirajacharya2@users.noreply.github.com> Date: Mon, 29 Apr 2024 09:35:06 +0545 Subject: [PATCH] adding tests for sharing a folder inside project space with all allowed roles from list permissions response (#8940) --- .../apiSharingNg/listPermissions.feature | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/tests/acceptance/features/apiSharingNg/listPermissions.feature b/tests/acceptance/features/apiSharingNg/listPermissions.feature index 22bb086151..457581cd93 100644 --- a/tests/acceptance/features/apiSharingNg/listPermissions.feature +++ b/tests/acceptance/features/apiSharingNg/listPermissions.feature @@ -1300,4 +1300,19 @@ Feature: List a sharing permissions } } } - """ \ No newline at end of file + """ + + @issues-8331 + Scenario: user sends share invitation with all allowed roles for a folder in project space + Given using spaces DAV path + And the administrator has assigned the role "Admin" to user "Alice" using the Graph API + And user "Alice" has created a space "new-space" with the default quota using the Graph API + And user "Alice" has created a folder "folder" in space "new-space" + And user "Brian" has been created with default attributes and without skeleton files + When user "Alice" gets permissions list for folder "folder" of the space "new-space" using the Graph API + Then the HTTP status code should be "200" + And user "Alice" should be able to send share invitation with all allowed permission roles + | resource | folder | + | space | new-space | + | sharee | Brian | + | shareType | user |