summaryrefslogtreecommitdiff
path: root/service/test/functional/features/search_and_destroy.feature
diff options
context:
space:
mode:
authorTiago Ferraz <tiago.ferraz@gmail.com>2015-03-09 16:14:50 -0300
committerTiago Ferraz <tiago.ferraz@gmail.com>2015-03-09 16:14:50 -0300
commit6b5de66fc5adc3c62a92738e9f317c4b1335f838 (patch)
tree09ad2b63806e9f72f10fee0c7e6825578ff4cd69 /service/test/functional/features/search_and_destroy.feature
parenta9a8a7330756d2fe9b6607dc670841b0ecfa64c5 (diff)
Refactoring of fuctional tests
The scenarios were updated to follow the conventions of gherkin steps. Removal of duplicated code.
Diffstat (limited to 'service/test/functional/features/search_and_destroy.feature')
-rw-r--r--service/test/functional/features/search_and_destroy.feature9
1 files changed, 5 insertions, 4 deletions
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