[full-ci] ApiTests. enable auto accepting in api tests (#7477)

* enable auto accepting in test

* go format
This commit is contained in:
Viktor Scharf
2023-10-17 16:29:05 +02:00
committed by GitHub
parent 917ee878cb
commit c179485db6
95 changed files with 458 additions and 1063 deletions
@@ -81,7 +81,6 @@ Feature: List and create spaces
Given user "Brian" has been created with default attributes and without skeleton files
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"
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 response should contain space called "Alice Hansen" and match
@@ -113,12 +113,6 @@ Feature: Tag
| role | viewer |
When user "Brian" lists all available tags via the GraphApi
Then the HTTP status code should be "200"
And the response should not contain following tags:
| folderTag |
| marketing |
When user "Brian" accepts share "/folderMain" offered by user "Alice" using the sharing API
And user "Brian" lists all available tags via the GraphApi
Then the HTTP status code should be "200"
And the response should contain following tags:
| folderTag |
| marketing |
@@ -129,7 +123,6 @@ Feature: Tag
| path | folderMain |
| shareWith | Brian |
| role | <role> |
And user "Brian" has accepted share "/folderMain" offered by user "Alice"
When user "Brian" creates the following tags for <resource> "<resourceName>" of space "Shares":
| tag in a shared resource |
| second tag |
@@ -157,7 +150,6 @@ Feature: Tag
And user "Alice" has created the following tags for <resource> "<resourceName>" of the space "use-tag":
| tag in a shared resource |
| second tag |
And user "Brian" has accepted share "/folderMain" offered by user "Alice"
When user "Brian" removes the following tags for <resource> "<resourceName>" of space "Shares":
| tag in a shared resource |
| second tag |