From ae6f773d4abc42dcc0eaa1c70f8af14b091f8d47 Mon Sep 17 00:00:00 2001 From: Folker Bernitt Date: Wed, 20 Aug 2014 17:21:20 +0200 Subject: Translated cucumber tests to behave. --- .../features/compose_save_draft_and_send.feature | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 py-fake-service/features/compose_save_draft_and_send.feature (limited to 'py-fake-service/features/compose_save_draft_and_send.feature') 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.' -- cgit v1.2.3