From e54e5ee931b3991cbb5e427e7e5d27b3f6c75e6e Mon Sep 17 00:00:00 2001 From: Ola Bini Date: Thu, 31 Jul 2014 19:35:40 -0300 Subject: Add fake-service --- fake-service/features/compose_save_draft_and_send.feature | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 fake-service/features/compose_save_draft_and_send.feature (limited to 'fake-service/features/compose_save_draft_and_send.feature') diff --git a/fake-service/features/compose_save_draft_and_send.feature b/fake-service/features/compose_save_draft_and_send.feature new file mode 100644 index 00000000..d05db837 --- /dev/null +++ b/fake-service/features/compose_save_draft_and_send.feature @@ -0,0 +1,15 @@ +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 | + | Smail 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 'Smail rocks!' + And I see that the body reads 'You should definitely use it. Cheers, User.' + -- cgit v1.2.3