[full-ci] ApiTests. enable auto accepting in api tests (#7477)
* enable auto accepting in test * go format
This commit is contained in:
@@ -59,7 +59,6 @@ Feature: Search
|
||||
| path | folderMain |
|
||||
| shareWith | Brian |
|
||||
| role | viewer |
|
||||
And user "Brian" has accepted share "/folderMain" offered by user "Alice"
|
||||
When user "Brian" searches for "*folder*" using the WebDAV API
|
||||
Then the HTTP status code should be "207"
|
||||
And the search result should contain "4" entries
|
||||
@@ -91,7 +90,8 @@ Feature: Search
|
||||
|
||||
|
||||
Scenario Outline: user cannot find pending share
|
||||
Given using <dav-path-version> DAV path
|
||||
Given user "Brian" has disabled auto-accepting
|
||||
And using <dav-path-version> DAV path
|
||||
And user "Alice" has created a share inside of space "find data" with settings:
|
||||
| path | folderMain |
|
||||
| shareWith | Brian |
|
||||
@@ -116,7 +116,7 @@ Feature: Search
|
||||
| path | folderMain |
|
||||
| shareWith | Brian |
|
||||
| role | viewer |
|
||||
And user "Brian" has declined share "/folderMain" offered by user "Alice"
|
||||
And user "Brian" has declined share "/Shares/folderMain" offered by user "Alice"
|
||||
When user "Brian" searches for "*folder*" using the WebDAV API
|
||||
Then the HTTP status code should be "207"
|
||||
And the search result should contain "0" entries
|
||||
@@ -181,7 +181,6 @@ Feature: Search
|
||||
| path | folderMain |
|
||||
| shareWith | Brian |
|
||||
| role | viewer |
|
||||
And user "Brian" has accepted share "/folderMain" offered by user "Alice"
|
||||
When user "Brian" searches for "*folder*" inside folder "/folderMain" in space "Shares" using the WebDAV API
|
||||
Then the HTTP status code should be "207"
|
||||
And the search result of user "Brian" should contain only these entries:
|
||||
@@ -227,7 +226,6 @@ Feature: Search
|
||||
| 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:
|
||||
|
||||
@@ -36,7 +36,6 @@ Feature: content search
|
||||
And user "Alice" has uploaded file with content "nepal want to say hello" to "uploadFolder/keywordAtLast.txt"
|
||||
And user "Alice" has uploaded file with content "Namaste nepal" to "uploadFolder/hello.txt"
|
||||
And user "Alice" has shared folder "/uploadFolder" with user "Brian"
|
||||
And user "Brian" has accepted share "/uploadFolder" offered by user "Alice"
|
||||
When user "Brian" searches for "Content:hello" using the WebDAV API
|
||||
Then the HTTP status code should be "207"
|
||||
And the search result of user "Brian" should contain only these files:
|
||||
|
||||
@@ -55,7 +55,6 @@ Feature: date search
|
||||
And user "Alice" has created folder "sharedFolder"
|
||||
And user "Alice" uploads a file "filesForUpload/textfile.txt" to "/sharedFolder/yesterday.txt" with mtime "yesterday" via TUS inside of the space "Personal" using the WebDAV API
|
||||
And user "Alice" has shared folder "/sharedFolder" with user "Brian"
|
||||
And user "Brian" has accepted share "/sharedFolder" offered by user "Alice"
|
||||
When user "Brian" searches for "Mtime:yesterday" using the WebDAV API
|
||||
Then the HTTP status code should be "207"
|
||||
And the search result of user "Brian" should contain these entries:
|
||||
|
||||
@@ -126,7 +126,6 @@ Feature: tag search
|
||||
And user "Alice" has created the following tags for file "uploadFolder/file1.txt" of the space "Personal":
|
||||
| tag1 |
|
||||
And user "Alice" has shared folder "/uploadFolder" with user "Brian"
|
||||
And user "Brian" has accepted share "/uploadFolder" offered by user "Alice"
|
||||
And user "Brian" has created the following tags for file "uploadFolder/file2.txt" of the space "Shares":
|
||||
| tag1 |
|
||||
When user "Brian" searches for "Tags:tag1" using the WebDAV API
|
||||
|
||||
Reference in New Issue
Block a user