From 2a4b56b6b83d4eff44c78cdad380f68952446e3b Mon Sep 17 00:00:00 2001 From: Salipa-Gurung Date: Thu, 2 May 2024 15:46:14 +0545 Subject: [PATCH] use sharingNG in given step for sharing in sharesReport --- .../features/apiContract/sharesReport.feature | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/tests/acceptance/features/apiContract/sharesReport.feature b/tests/acceptance/features/apiContract/sharesReport.feature index 2fe62b77b1..8b67c1109f 100644 --- a/tests/acceptance/features/apiContract/sharesReport.feature +++ b/tests/acceptance/features/apiContract/sharesReport.feature @@ -11,7 +11,12 @@ Feature: REPORT request to Shares space And user "Alice" has created folder "/folderMain" And user "Alice" has created folder "/folderMain/SubFolder1" And user "Alice" has created folder "/folderMain/SubFolder1/subFOLDER2" - And user "Alice" has shared entry "/folderMain" with user "Brian" with permissions "1" + And user "Alice" has sent the following share invitation: + | resource | /folderMain | + | space | Personal | + | sharee | Brian | + | shareType | user | + | permissionsRole | Viewer | Scenario Outline: check the REPORT response of the found folder @@ -60,7 +65,12 @@ Feature: REPORT request to Shares space Given user "Brian" has disabled auto-accepting And using DAV path And user "Alice" has created folder "/folderToBrian" - And user "Alice" has shared entry "/folderToBrian" with user "Brian" with permissions "1" + And user "Alice" has sent the following share invitation: + | resource | /folderToBrian | + | space | Personal | + | sharee | Brian | + | shareType | user | + | permissionsRole | Viewer | When user "Brian" searches for "folderToBrian" using the WebDAV API Then the HTTP status code should be "207" And the following headers should match these regular expressions