mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-05-24 08:27:27 -04:00
changing given step of creating share in feature file (#9023)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user