Add test scenario that adds multiple tags

This commit is contained in:
Phil Davis
2023-06-07 16:56:54 +05:45
parent d3bee89341
commit 0e2055bd46

View File

@@ -284,3 +284,23 @@ Feature: Tag
| |
| file |
| Tag |
Scenario: setting a comma-separated list of tags adds to any existing tags on the resource
Given user "Alice" has created the following tags for folder "folderMain" of the space "use-tag":
| finance,hr |
When user "Alice" creates the following tags for folder "folderMain" of space "use-tag":
| engineering,finance,qa |
Then the HTTP status code should be "200"
When user "Alice" sends PROPFIND request from the space "use-tag" to the resource "folderMain" using the WebDAV API
Then the HTTP status code should be "207"
And the "PROPFIND" response should contain a space "use-tag" with these key and value pairs:
| key | value |
| oc:tags | engineering,finance,hr,qa |
When user "Alice" lists all available tags via the GraphApi
Then the HTTP status code should be "200"
And the response should contain following tags:
| engineering |
| finance |
| hr |
| qa |