add also propfind steps

This commit is contained in:
Michael Barz
2021-10-21 14:47:42 +02:00
parent fef74e7552
commit c1ef23a761
4 changed files with 552 additions and 313 deletions
@@ -8,12 +8,21 @@ Feature: List and create spaces
Scenario: list own spaces
Given user "Alice" has been created with default attributes and without skeleton files
And user "Alice" lists all available spaces via the GraphApi
When user "Alice" lists all available spaces via the GraphApi
Then the HTTP status code should be "200"
And user "Alice" lists the content of the personal space root using the WebDav Api
And the HTTP status code should be "207"
And user "Alice" creates a space "Project Mars" of type "project" with the default quota using the GraphApi
When user "Alice" lists the content of the space with the name "Alice Hansen" using the WebDav Api
Then the HTTP status code should be "207"
#Then the propfind result of the space should contain these entries:
#| .space/ |
Then the propfind result of the space should not contain these entries:
| file |
When user "Alice" creates a space "Project Mars" of type "project" with the default quota using the GraphApi
Then the HTTP status code should be "401"
And the administrator gives "Alice" the role "Admin" using the settings api
And user "Alice" creates a space "Project Mars" of type "project" with the default quota using the GraphApi
When the administrator gives "Alice" the role "Admin" using the settings api
When user "Alice" creates a space "Project Mars" of type "project" with the default quota using the GraphApi
Then the HTTP status code should be "201"
Then the json responded should contain these key and value pairs
| key | value |
| driveType | project |
| name | Project Mars |
When user "Alice" creates a space "Project Venus" of type "project" with quota "2000" using the GraphApi