summaryrefslogtreecommitdiff
path: root/py-fake-service/features/compose_save_draft_and_send.feature
blob: fcff4a95af583ee11c22e5328e2291550a88bc20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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.'