reflect shares space rename in tests

Signed-off-by: Michael Barz <mbarz@owncloud.com>
This commit is contained in:
Michael Barz
2022-10-21 00:46:02 +02:00
parent 78be28433a
commit d116245ddb
12 changed files with 306 additions and 306 deletions
@@ -29,11 +29,11 @@ Feature: List and create spaces
And user "Brian" has created folder "folder"
And user "Brian" has shared folder "folder" with user "Alice" with permissions "31"
And user "Alice" has accepted share "/folder" offered by user "Brian"
Then the user "Alice" should have a space called "Shares Jail" with these key and value pairs:
Then the user "Alice" should have a space called "Shares" with these key and value pairs:
| key | value |
| driveType | virtual |
| id | %space_id% |
| name | Shares Jail |
| name | Shares |
When user "Alice" lists all available spaces via the GraphApi with query "$filter=driveType eq 'personal'"
Then the HTTP status code should be "200"
And the json responded should contain a space "Alice Hansen" with these key and value pairs:
@@ -43,7 +43,7 @@ Feature: List and create spaces
| name | Alice Hansen |
| quota@@@state | normal |
| root@@@webDavUrl | %base_url%/dav/spaces/%space_id% |
And the json responded should not contain a space with name "Shares Jail"
And the json responded should not contain a space with name "Shares"
And the json responded should only contain spaces of type "personal"
@@ -1,6 +1,6 @@
@api @skipOnOcV10
Feature: Search
It is possible to search files in the shares jail and the project space
It is possible to search files in the Shares and the project space
Note - this feature is run in CI with ACCOUNTS_HASH_DIFFICULTY set to the default for production
See https://github.com/owncloud/ocis/issues/1542 and https://github.com/owncloud/ocis/pull/839
@@ -40,7 +40,7 @@ Feature: Search
| /folderMain/SubFolder1/subFOLDER2/insideTheFolder.txt |
Scenario: Brian can find data from the shares jail
Scenario: Brian can find data from the Shares
Given user "Alice" shares the following entity "folderMain" inside of space "find data" with user "Brian" with role "viewer"
And user "Brian" has accepted share "/folderMain" offered by user "Alice"
When user "Brian" searches for "folder" using the WebDAV API
@@ -113,7 +113,7 @@ Feature: Search
| folderMain | find data |
Scenario Outline: search result for shares jail contains resource parentID
Scenario Outline: search result for Shares contains resource parentID
Given user "Alice" shares the following entity "folderMain" inside of space "find data" with user "Brian" with role "viewer"
And user "Brian" has accepted share "/folderMain" offered by user "Alice"
When user "Brian" searches for "<searchObject>" using the WebDAV API