diff --git a/tests/acceptance/features/webUIFiles/search.feature b/tests/acceptance/features/webUIFiles/search.feature index 418fc0869a1..093f4ba6394 100644 --- a/tests/acceptance/features/webUIFiles/search.feature +++ b/tests/acceptance/features/webUIFiles/search.feature @@ -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