From e1b36ea38b61317cce227d955d933e61612d78ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A1bio=20Pio?= Date: Fri, 5 Dec 2014 16:41:46 -0200 Subject: Enabling the functional test to search email and destroy --- .../functional/features/search_and_destroy.feature | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) (limited to 'service') diff --git a/service/test/functional/features/search_and_destroy.feature b/service/test/functional/features/search_and_destroy.feature index 37edabd7..6efeae8b 100644 --- a/service/test/functional/features/search_and_destroy.feature +++ b/service/test/functional/features/search_and_destroy.feature @@ -14,15 +14,17 @@ # You should have received a copy of the GNU Affero General Public License # along with Pixelated. If not, see . -#Feature: search html mail and destroy -# @wip -# Scenario: User searches for a mail and deletes it -# When I search for a mail with the words "this is a html mail" -# When I open the first mail in the mail list -# Then I see one or more mails in the search results +# XXX: must implement with HTML content +Feature: search mail and destroy + + Scenario: User searches for a mail and deletes it' + Given I have a mail in my inbox + When I search for a mail with the words "the body of this message" + When I open the first mail in the mail list + Then I see one or more mails in the search results # Then I see if the mail has html content -# When I try to delete the first mail -# # Then I learn that the mail was deleted -# When I select the tag 'trash' -# Then the deleted mail is there + When I try to delete the first mail + # Then I learn that the mail was deleted + When I select the tag 'trash' + Then the deleted mail is there -- cgit v1.2.3