Skip to content

Commit

Permalink
return test
Browse files Browse the repository at this point in the history
  • Loading branch information
ScharfViktor committed Sep 7, 2023
1 parent f219c42 commit fda0e27
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions tests/acceptance/features/apiSearch/apiSpaceSearch.feature
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,28 @@ Feature: Search
| new |
| spaces |

@issue-enterprise-6000 @issue-7028 @issue-7092
Scenario Outline: sharee cannot find resources that are not shared
Given using <dav-path-version> DAV path
And user "Alice" has created a folder "foo/sharedToBrian" in space "Alice Hansen"
And user "Alice" has created a folder "sharedToCarol" in space "Alice Hansen"
And user "Alice" has created a share inside of space "Alice Hansen" with settings:
| path | foo |
| shareWith | Brian |
| role | viewer |
And user "Brian" has accepted share "/foo" offered by user "Alice"
When user "Brian" searches for "shared*" using the WebDAV API
Then the HTTP status code should be "207"
And the search result of user "Brian" should contain these entries:
| /sharedToBrian |
But the search result of user "Brian" should not contain these entries:
| /sharedToCarol |
Examples:
| dav-path-version |
| old |
| new |
| spaces |


Scenario Outline: using different search pattern. KQL feature
Given using spaces DAV path
Expand Down

0 comments on commit fda0e27

Please sign in to comment.