use sharingNG in given step for sharing in sharesReport

This commit is contained in:
Salipa-Gurung
2024-05-02 15:46:14 +05:45
parent db281c4257
commit 2a4b56b6b8

View File

@@ -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-version> 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