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 Jul 24, 2023
1 parent 2c09893 commit 1e71857
Showing 1 changed file with 19 additions and 11 deletions.
30 changes: 19 additions & 11 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 @@ -36,12 +40,16 @@ Feature: full text search

Scenario Outline: search files by tag using new DAV path
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 1e71857

Please sign in to comment.