summaryrefslogtreecommitdiff
path: root/service/test
diff options
context:
space:
mode:
authorDuda Dornelles <dudassdornelles@gmail.com>2014-12-05 17:40:16 -0200
committerDuda Dornelles <dudassdornelles@gmail.com>2014-12-05 17:40:16 -0200
commit3eb66f0f7016e2ce61fdaa570b71c8adedc37fca (patch)
tree41ed6ba592780e2b54ef9c623501579bdddb9a21 /service/test
parentba4256555703cba8a8803bc18eb569aed2a3d6c5 (diff)
parente1b36ea38b61317cce227d955d933e61612d78ef (diff)
Merge pull request #175 from fabiopio/add_search_and_destroy_test
Enabling the functional test to search email and destroy
Diffstat (limited to 'service/test')
-rw-r--r--service/test/functional/features/search_and_destroy.feature22
1 files changed, 12 insertions, 10 deletions
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 <http://www.gnu.org/licenses/>.
-#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