Skip to content

Commit

Permalink
add test for search by deleted tag
Browse files Browse the repository at this point in the history
  • Loading branch information
nabim777 committed Jul 11, 2023
1 parent 9ff5c5e commit 86ee1a5
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions tests/acceptance/features/apiGraph/fullSearch.feature
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,21 @@ Feature: full text search
| dav-path-version |
| old |
| new |


Scenario Outline: search files using a deleted tag
Given using <dav-path-version> DAV path
And user "Alice" has uploaded file with content "hello world" to "file1.txt"
And user "Alice" has created the following tags for file "file1.txt" of the space "Personal":
| tag1 |
And user "Alice" has removed the folder "folderMain" from space "use-tag"
And user "Alice" removes the following tags for file "file1.txt" of space "Personal":
| tag1 |
And user "Alice" searches for "Tags:tag1" using the WebDAV API
Then the HTTP status code should be "207"
And the search result should contain "0" entries
Examples:
| dav-path-version |
| old |
| new |
| spaces |

0 comments on commit 86ee1a5

Please sign in to comment.