summaryrefslogtreecommitdiff
path: root/fake-service/features/search_and_destroy.feature
diff options
context:
space:
mode:
authorOla Bini <ola.bini@gmail.com>2014-07-31 19:35:40 -0300
committerOla Bini <ola.bini@gmail.com>2014-07-31 19:35:40 -0300
commite54e5ee931b3991cbb5e427e7e5d27b3f6c75e6e (patch)
tree1e0da33d22874c0ea5576818fe45958611ebda29 /fake-service/features/search_and_destroy.feature
parent04cf441c5ae18400c6b4865b0b37a71718dc9d46 (diff)
Add fake-service
Diffstat (limited to 'fake-service/features/search_and_destroy.feature')
-rw-r--r--fake-service/features/search_and_destroy.feature11
1 files changed, 11 insertions, 0 deletions
diff --git a/fake-service/features/search_and_destroy.feature b/fake-service/features/search_and_destroy.feature
new file mode 100644
index 00000000..4a41c3f8
--- /dev/null
+++ b/fake-service/features/search_and_destroy.feature
@@ -0,0 +1,11 @@
+Feature: search html mail and destroy
+
+ 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
+ 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