diff options
| author | Fábio Pio <fpio@thoughtworks.com> | 2014-12-05 16:41:46 -0200 | 
|---|---|---|
| committer | Fábio Pio <fpio@thoughtworks.com> | 2014-12-05 16:41:46 -0200 | 
| commit | e1b36ea38b61317cce227d955d933e61612d78ef (patch) | |
| tree | 41ed6ba592780e2b54ef9c623501579bdddb9a21 | |
| parent | ba4256555703cba8a8803bc18eb569aed2a3d6c5 (diff) | |
Enabling the functional test to search email and destroy
| -rw-r--r-- | service/test/functional/features/search_and_destroy.feature | 22 | 
1 files changed, 12 insertions, 10 deletions
| diff --git a/service/test/functional/features/search_and_destroy.feature b/service/test/functional/features/search_and_destroy.feature index 37edabd7..6efeae8b 100644 --- a/service/test/functional/features/search_and_destroy.feature +++ b/service/test/functional/features/search_and_destroy.feature @@ -14,15 +14,17 @@  # You should have received a copy of the GNU Affero General Public License  # along with Pixelated. If not, see <http://www.gnu.org/licenses/>. -#Feature: search html mail and destroy -#  @wip -#  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 +# XXX: must implement with HTML content +Feature: search mail and destroy + +  Scenario: User searches for a mail and deletes it' +    Given I have a mail in my inbox +    When I search for a mail with the words "the body of this message" +    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 +    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 | 
