Skip to content

Commit

Permalink
using data tables for uploading file
Browse files Browse the repository at this point in the history
  • Loading branch information
nabim777 committed Aug 1, 2023
1 parent 68eb718 commit bc7bc8a
Showing 1 changed file with 20 additions and 12 deletions.
32 changes: 20 additions & 12 deletions tests/acceptance/features/apiGraph/fullSearch.feature
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,15 @@ Feature: full text search

Scenario Outline: search files by tag
Given using <dav-path-version> DAV path
And user "Alice" has created folder "folderWithFile"
And user "Alice" has created folder "folderWithFile/subFolder/"
And user "Alice" has uploaded file with content "hello world" to "test.txt"
And user "Alice" has uploaded file with content "Namaste nepal" to "folderWithFile/fileInsideFolder.txt"
And user "Alice" has uploaded file with content "hello nepal" to "folderWithFile/subFolder/fileInsideSubFolder.txt"
And user "Alice" has created the following folders
| path |
| folderWithFile |
| folderWithFile/subFolder/ |
And user "Alice" has uploaded the following files with content "some data"
| path |
| test.txt |
| folderWithFile/fileInsideFolder.txt |
| folderWithFile/subFolder/fileInsideSubFolder.txt |
And user "Alice" has created the following tags for file "test.txt" of the space "Personal":
| tag1 |
And user "Alice" has created the following tags for file "folderWithFile/fileInsideFolder.txt" of the space "Personal":
Expand All @@ -34,14 +38,18 @@ Feature: full text search
| spaces |


Scenario Outline: search files by tag using new DAV path
Scenario Outline: search project space files by tag
Given using spaces DAV path
And user "Alice" has created folder "personalFolderWithFile"
And user "Alice" has created folder "personalFolderWithFile/subFolder"
And user "Alice" has uploaded file with content "tagged file" to "personalFile.txt"
And user "Alice" has uploaded file with content "non-tagged file" to "fileWithoutTag.txt"
And user "Alice" has uploaded file with content "tagged file in folder" to "personalFolderWithFile/personalFileInsideFolder.txt"
And user "Alice" has uploaded file with content "tagged file in subfolder" to "personalFolderWithFile/subFolder/personalFileInsideSubFolder.txt"
And user "Alice" has created the following folders
| path |
| personalFolderWithFile |
| personalFolderWithFile/subFolder |
And user "Alice" has uploaded the following files with content "some data"
| path |
| personalFile.txt |
| fileWithoutTag.txt |
| personalFolderWithFile/personalFileInsideFolder.txt |
| personalFolderWithFile/subFolder/personalFileInsideSubFolder.txt |
And user "Alice" has created the following tags for file "personalFile.txt" of the space "Personal":
| tag1 |
And user "Alice" has created the following tags for file "personalFolderWithFile/personalFileInsideFolder.txt" of the space "Personal":
Expand Down

0 comments on commit bc7bc8a

Please sign in to comment.