Skip to content

Commit

Permalink
for old and new dev path
Browse files Browse the repository at this point in the history
  • Loading branch information
nabim777 committed Jun 28, 2023
1 parent 6a31c77 commit 47a9d7d
Showing 1 changed file with 2 additions and 22 deletions.
24 changes: 2 additions & 22 deletions tests/acceptance/features/apiGraph/fullSearch.feature
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@api
Feature: search
Feature: full text search
As a user
I want to do full text search
So that I can find the files with the content I am looking for
Expand Down Expand Up @@ -29,7 +29,7 @@ Feature: search
| spaces |


Scenario Outline: search a file using tag by sharee
Scenario Outline: as a sharee search a file tagged by sharer using tag
Given using <dav-path-version> DAV path
And user "Brian" has been created with default attributes and without skeleton files
And user "Alice" has created folder "uploadFolder"
Expand All @@ -51,23 +51,3 @@ Feature: search
| dav-path-version |
| old |
| new |


Scenario: search a file using tag by sharee
Given using spaces DAV path
And user "Brian" has been created with default attributes and without skeleton files
And user "Alice" has created folder "uploadFolder"
And user "Alice" has uploaded file with content "hello world" to "uploadFolder/file1.txt"
And user "Alice" has uploaded file with content "Namaste nepal" to "uploadFolder/file2.txt"
And user "Alice" has uploaded file with content "hello nepal" to "uploadFolder/file3.txt"
And user "Alice" has created the following tags for file "uploadFolder/file1.txt" of the space "Personal":
| tag1 |
And user "Alice" has created the following tags for file "uploadFolder/file2.txt" of the space "Personal":
| tag1 |
And user "Alice" has shared folder "/uploadFolder" with user "Brian"
And user "Brian" has accepted share "/uploadFolder" offered by user "Alice"
When user "Brian" searches for "Tags:tag1" using the WebDAV API
Then the HTTP status code should be "207"
And the search result of user "Brian" should contain only these files:
| file1.txt |
| file2.txt |

0 comments on commit 47a9d7d

Please sign in to comment.