[full-ci] ApiTests. enable auto accepting in api tests (#7477)
* enable auto accepting in test * go format
This commit is contained in:
@@ -52,7 +52,6 @@ Feature: accessing files using file id
|
||||
And user "Alice" has uploaded file with content "some data" to "/textfile.txt"
|
||||
And we save it into "FILEID"
|
||||
And user "Alice" has shared file "/textfile.txt" with user "Brian"
|
||||
And user "Brian" has accepted share "/textfile.txt" offered by user "Alice"
|
||||
When user "Brian" sends HTTP method "GET" to URL "<dav-path>"
|
||||
Then the HTTP status code should be "200"
|
||||
And the downloaded content should be "some data"
|
||||
@@ -68,7 +67,6 @@ Feature: accessing files using file id
|
||||
And user "Alice" has uploaded file with content "some data" to "uploadFolder/textfile.txt"
|
||||
And we save it into "FILEID"
|
||||
And user "Alice" has shared folder "/uploadFolder" with user "Brian"
|
||||
And user "Brian" has accepted share "/uploadFolder" offered by user "Alice"
|
||||
When user "Brian" sends HTTP method "GET" to URL "<dav-path>"
|
||||
Then the HTTP status code should be "200"
|
||||
And the downloaded content should be "some data"
|
||||
|
||||
@@ -105,7 +105,6 @@ Feature: propfind a file using file id
|
||||
And user "Alice" has uploaded file with content "some data" to "/textfile.txt"
|
||||
And we save it into "FILEID"
|
||||
And user "Alice" has shared file "/textfile.txt" with user "Brian"
|
||||
And user "Brian" has accepted share "/textfile.txt" offered by user "Alice"
|
||||
When user "Brian" sends HTTP method "PROPFIND" to URL "<dav-path>"
|
||||
Then the HTTP status code should be "207"
|
||||
And the "PROPFIND" response to user "Alice" should contain a mountpoint "Brian Murphy" with these key and value pairs:
|
||||
@@ -122,7 +121,6 @@ Feature: propfind a file using file id
|
||||
Given user "Brian" has been created with default attributes and without skeleton files
|
||||
And user "Alice" has created folder "/folder"
|
||||
And user "Alice" has shared folder "/folder" with user "Brian"
|
||||
And user "Brian" has accepted share "/folder" offered by user "Alice"
|
||||
And user "Alice" has uploaded file with content "some data" to "/folder/textfile.txt"
|
||||
And we save it into "FILEID"
|
||||
When user "Brian" sends HTTP method "PROPFIND" to URL "<dav-path>"
|
||||
|
||||
@@ -52,7 +52,6 @@ Feature: update files using file id
|
||||
And user "Alice" has uploaded file with content "some data" to "/textfile.txt"
|
||||
And we save it into "FILEID"
|
||||
And user "Alice" has shared file "/textfile.txt" with user "Brian"
|
||||
And user "Brian" has accepted share "/textfile.txt" offered by user "Alice"
|
||||
When user "Brian" sends HTTP method "PUT" to URL "<dav-path>" with content "updated content"
|
||||
Then the HTTP status code should be "204"
|
||||
And for user "Alice" the content of the file "/textfile.txt" of the space "Personal" should be "updated content"
|
||||
@@ -69,7 +68,6 @@ Feature: update files using file id
|
||||
And user "Alice" has uploaded file with content "some data" to "uploadFolder/textfile.txt"
|
||||
And we save it into "FILEID"
|
||||
And user "Alice" has shared folder "/uploadFolder" with user "Brian"
|
||||
And user "Brian" has accepted share "/uploadFolder" offered by user "Alice"
|
||||
When user "Brian" sends HTTP method "PUT" to URL "<dav-path>" with content "updated content"
|
||||
Then the HTTP status code should be "204"
|
||||
And for user "Alice" the content of the file "uploadFolder/textfile.txt" of the space "Personal" should be "updated content"
|
||||
|
||||
Reference in New Issue
Block a user