From 6b5de66fc5adc3c62a92738e9f317c4b1335f838 Mon Sep 17 00:00:00 2001 From: Tiago Ferraz Date: Mon, 9 Mar 2015 16:14:50 -0300 Subject: Refactoring of fuctional tests The scenarios were updated to follow the conventions of gherkin steps. Removal of duplicated code. --- service/test/functional/features/search_and_destroy.feature | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'service/test/functional/features/search_and_destroy.feature') diff --git a/service/test/functional/features/search_and_destroy.feature b/service/test/functional/features/search_and_destroy.feature index 6efeae8b..4ce37b78 100644 --- a/service/test/functional/features/search_and_destroy.feature +++ b/service/test/functional/features/search_and_destroy.feature @@ -16,15 +16,16 @@ # XXX: must implement with HTML content -Feature: search mail and destroy +Feature: search mail and deletion + As a user of pixelated + I want to search for emails + So I can manage them - Scenario: User searches for a mail and deletes it' + 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 -- cgit v1.2.3