From b84c8329af6527cbc512926e6372b3c255163810 Mon Sep 17 00:00:00 2001 From: swoichha Date: Tue, 18 Feb 2020 17:04:22 +0545 Subject: [PATCH] scenario for 'delete file from search list' --- tests/acceptance/features/webUIFiles/search.feature | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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