changing given step of creating share in feature file (#9023)

This commit is contained in:
Sabin Panta
2024-05-02 14:52:18 +05:45
committed by GitHub
parent 8ab24595b1
commit 5e449f8a67

View File

@@ -20,10 +20,12 @@ Feature: Report test
Scenario: check the response of the found folder
Given user "Alice" has created a share inside of space "find data" with settings:
| path | folderMain |
| shareWith | Brian |
| role | viewer |
Given user "Alice" has sent the following share invitation:
| resource | folderMain |
| space | find data |
| sharee | Brian |
| shareType | user |
| permissionsRole | Viewer |
When user "Brian" searches for "SubFolder1" using the WebDAV API
Then the HTTP status code should be "207"
And the following headers should match these regular expressions
@@ -40,10 +42,12 @@ Feature: Report test
Scenario: check the response of the found file
Given user "Alice" has created a share inside of space "find data" with settings:
| path | folderMain |
| shareWith | Brian |
| role | editor |
Given user "Alice" has sent the following share invitation:
| resource | folderMain |
| space | find data |
| sharee | Brian |
| shareType | user |
| permissionsRole | Editor |
When user "Brian" searches for "insideTheFolder.txt" using the WebDAV API
Then the HTTP status code should be "207"
And the following headers should match these regular expressions
@@ -61,10 +65,12 @@ Feature: Report test
Scenario: search for the shared folder when the share is not accepted
Given user "Brian" has disabled auto-accepting
And user "Alice" has created a share inside of space "find data" with settings:
| path | folderMain |
| shareWith | Brian |
| role | viewer |
And user "Alice" has sent the following share invitation:
| resource | folderMain |
| space | find data |
| sharee | Brian |
| shareType | user |
| permissionsRole | Viewer |
When user "Brian" searches for "folderMain" using the WebDAV API
Then the HTTP status code should be "207"
And the following headers should match these regular expressions