[full-ci] ApiTests. enable auto accepting in api tests (#7477)
* enable auto accepting in test * go format
This commit is contained in:
@@ -14,7 +14,6 @@ Feature: using trashbin together with sharing
|
||||
And user "Alice" has created folder "/shared"
|
||||
And user "Alice" has moved file "/textfile0.txt" to "/shared/shared_file.txt"
|
||||
And user "Alice" has shared folder "/shared" with user "Brian"
|
||||
And user "Brian" has accepted share "/shared" offered by user "Alice"
|
||||
And user "Brian" has moved folder "/Shares/shared" to "/Shares/renamed_shared"
|
||||
When user "Brian" deletes folder "/Shares/renamed_shared" using the WebDAV API
|
||||
Then the HTTP status code should be "204"
|
||||
@@ -35,7 +34,6 @@ Feature: using trashbin together with sharing
|
||||
And user "Alice" has created folder "/shared"
|
||||
And user "Alice" has moved file "/textfile0.txt" to "/shared/shared_file.txt"
|
||||
And user "Alice" has shared folder "/shared" with user "Brian"
|
||||
And user "Brian" has accepted share "/shared" offered by user "Alice"
|
||||
And user "Brian" has moved file "/Shares/shared" to "/Shares/renamed_shared"
|
||||
When user "Brian" deletes file "/Shares/renamed_shared/shared_file.txt" using the WebDAV API
|
||||
Then the HTTP status code should be "204"
|
||||
@@ -61,8 +59,6 @@ Feature: using trashbin together with sharing
|
||||
And user "Alice" has created folder "/shared"
|
||||
And user "Alice" has moved file "/textfile0.txt" to "/shared/shared_file.txt"
|
||||
And user "Alice" has shared folder "/shared" with group "grp1"
|
||||
And user "Brian" has accepted share "/Shares/shared" offered by user "Alice"
|
||||
And user "Carol" has accepted share "/Shares/shared" offered by user "Alice"
|
||||
When user "Brian" deletes file "/Shares/shared/shared_file.txt" using the WebDAV API
|
||||
Then the HTTP status code should be "204"
|
||||
And as "Brian" the file with original path "/Shares/shared/shared_file.txt" should exist in the trashbin
|
||||
@@ -88,8 +84,6 @@ Feature: using trashbin together with sharing
|
||||
And user "Alice" has created folder "/shared"
|
||||
And user "Alice" has moved file "/textfile0.txt" to "/shared/shared_file.txt"
|
||||
And user "Alice" has shared folder "/shared" with group "grp1"
|
||||
And user "Brian" has accepted share "/Shares/shared" offered by user "Alice"
|
||||
And user "Carol" has accepted share "/Shares/shared" offered by user "Alice"
|
||||
When user "Alice" deletes file "/shared/shared_file.txt" using the WebDAV API
|
||||
Then the HTTP status code should be "204"
|
||||
And as "Alice" the file with original path "/shared/shared_file.txt" should exist in the trashbin
|
||||
@@ -116,8 +110,6 @@ Feature: using trashbin together with sharing
|
||||
And user "Alice" has created folder "/shared/sub"
|
||||
And user "Alice" has moved file "/textfile0.txt" to "/shared/sub/shared_file.txt"
|
||||
And user "Alice" has shared folder "/shared" with group "grp1"
|
||||
And user "Brian" has accepted share "/Shares/shared" offered by user "Alice"
|
||||
And user "Carol" has accepted share "/Shares/shared" offered by user "Alice"
|
||||
When user "Brian" deletes file "/Shares/shared/sub/shared_file.txt" using the WebDAV API
|
||||
Then the HTTP status code should be "204"
|
||||
And as "Brian" the file with original path "/Shares/shared/sub/shared_file.txt" should exist in the trashbin
|
||||
@@ -144,8 +136,6 @@ Feature: using trashbin together with sharing
|
||||
And user "Alice" has created folder "/shared/sub"
|
||||
And user "Alice" has moved file "/textfile0.txt" to "/shared/sub/shared_file.txt"
|
||||
And user "Alice" has shared folder "/shared" with group "grp1"
|
||||
And user "Brian" has accepted share "/Shares/shared" offered by user "Alice"
|
||||
And user "Carol" has accepted share "/Shares/shared" offered by user "Alice"
|
||||
When user "Alice" deletes file "/shared/sub/shared_file.txt" using the WebDAV API
|
||||
Then the HTTP status code should be "204"
|
||||
And as "Alice" the file with original path "/shared/sub/shared_file.txt" should exist in the trashbin
|
||||
@@ -167,7 +157,6 @@ Feature: using trashbin together with sharing
|
||||
And user "Alice" has created folder "/shared"
|
||||
And user "Alice" has moved file "/textfile0.txt" to "/shared/shared_file.txt"
|
||||
And user "Alice" has shared folder "/shared" with user "Brian"
|
||||
And user "Brian" has accepted share "/shared" offered by user "Alice"
|
||||
And user "Brian" has moved folder "/Shares/shared" to "/Shares/renamed_shared"
|
||||
And user "Brian" has deleted file "/Shares/renamed_shared/shared_file.txt"
|
||||
When user "Brian" restores the file with original path "/Shares/renamed_shared/shared_file.txt" using the trashbin API
|
||||
@@ -194,7 +183,6 @@ Feature: using trashbin together with sharing
|
||||
And user "Brian" has been created with default attributes and without skeleton files
|
||||
And user "Brian" has created folder "shareFolderParent"
|
||||
And user "Brian" has shared folder "shareFolderParent" with user "Alice" with permissions "read"
|
||||
And user "Alice" has accepted share "/shareFolderParent" offered by user "Brian"
|
||||
And as "Alice" folder "/Shares/shareFolderParent" should exist
|
||||
And user "Alice" has deleted file "/textfile0.txt"
|
||||
When user "Alice" restores the file with original path "/textfile0.txt" to "/Shares/shareFolderParent/textfile0.txt" using the trashbin API
|
||||
@@ -218,7 +206,6 @@ Feature: using trashbin together with sharing
|
||||
And user "Brian" has created folder "shareFolderParent"
|
||||
And user "Brian" has created folder "shareFolderParent/shareFolderChild"
|
||||
And user "Brian" has shared folder "shareFolderParent" with user "Alice" with permissions "read"
|
||||
And user "Alice" has accepted share "/shareFolderParent" offered by user "Brian"
|
||||
And as "Alice" folder "/Shares/shareFolderParent/shareFolderChild" should exist
|
||||
And user "Alice" has deleted file "/textfile0.txt"
|
||||
When user "Alice" restores the file with original path "/textfile0.txt" to "/Shares/shareFolderParent/shareFolderChild/textfile0.txt" using the trashbin API
|
||||
|
||||
Reference in New Issue
Block a user