summaryrefslogtreecommitdiff
path: root/py-fake-service/features/compose_save_draft_and_send.feature
diff options
context:
space:
mode:
authorFolker Bernitt <fbernitt@thoughtworks.com>2014-08-20 17:21:20 +0200
committerFolker Bernitt <fbernitt@thoughtworks.com>2014-08-20 17:45:12 +0200
commitae6f773d4abc42dcc0eaa1c70f8af14b091f8d47 (patch)
tree15e5df69a6d1b774042dfd29372115a1baf4136f /py-fake-service/features/compose_save_draft_and_send.feature
parenta3ea808b6290a7c756b28099df9fa8574c94055e (diff)
Translated cucumber tests to behave.
Diffstat (limited to 'py-fake-service/features/compose_save_draft_and_send.feature')
-rw-r--r--py-fake-service/features/compose_save_draft_and_send.feature14
1 files changed, 14 insertions, 0 deletions
diff --git a/py-fake-service/features/compose_save_draft_and_send.feature b/py-fake-service/features/compose_save_draft_and_send.feature
new file mode 100644
index 00000000..fcff4a95
--- /dev/null
+++ b/py-fake-service/features/compose_save_draft_and_send.feature
@@ -0,0 +1,14 @@
+Feature: compose mail, save draft and send mail
+
+ @wip
+ Scenario: user composes and email, save the draft, later sends the draft and checks the sent message
+ Given I compose a message with
+ | subject | body |
+ | Pixelated rocks! | You should definitely use it. Cheers, User. |
+ And for the 'To' field I type 'ab' and chose the first contact that shows
+ And I save the draft
+ When I open the saved draft and send it
+ Then I see that mail under the 'sent' tag
+ When I open that mail
+ Then I see that the subject reads 'Pixelated rocks!'
+ And I see that the body reads 'You should definitely use it. Cheers, User.'