Skip to content

Commit

Permalink
Merge pull request #3063 from swoichha/searchFile
Browse files Browse the repository at this point in the history
[Tests-Only] Acceptance test for deleting file from search list
  • Loading branch information
kiranparajuli589 authored Feb 19, 2020
2 parents 9ce6f8d + b84c832 commit a106660
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions tests/acceptance/features/webUIFiles/search.feature
Original file line number Diff line number Diff line change
Expand Up @@ -153,3 +153,16 @@ Feature: Search
And the user searches for "favorite" using the webUI
Then folder "favorite folder" should be listed on the webUI
And folder "not favorite folder" should be listed on the webUI

@issue-3044
Scenario: Delete file from search list
Given the following files have been deleted by user "user1"
| name |
| lorem-big.txt |
And user "user1" has uploaded file with content "uploaded content" to "lorem-big.txt"
When the user searches for "lorem-big" using the webUI
And the user deletes file "lorem-big.txt" using the webUI
Then file "lorem-big.txt" should be listed on the webUI
#Then file "lorem-big.txt" should not be listed on the webUI
And as "user1" file "lorem-big.txt" should not exist
And as "user1" the file with original path "lorem-big.txt" should exist in trash

0 comments on commit a106660

Please sign in to comment.