summaryrefslogtreecommitdiff
path: root/service/test/functional/features/attachments.feature
diff options
context:
space:
mode:
authorGislene Pereira <gislene01@gmail.com>2016-01-27 18:40:42 -0300
committerGislene Pereira <gislene01@gmail.com>2016-01-27 18:43:15 -0300
commit31aca931fd1ec76a4ffd9099bb6b13894a9d64be (patch)
treede470a4d0ae44eabf906d32f544e2471460175c6 /service/test/functional/features/attachments.feature
parentec80088330eff5f44e8cc8eaab04c83c259b9098 (diff)
Issue #550 - Adding BDD tests to cover case when file is bigger than 1 MB.
Diffstat (limited to 'service/test/functional/features/attachments.feature')
-rw-r--r--service/test/functional/features/attachments.feature8
1 files changed, 6 insertions, 2 deletions
diff --git a/service/test/functional/features/attachments.feature b/service/test/functional/features/attachments.feature
index 859ee590..5cdbf7be 100644
--- a/service/test/functional/features/attachments.feature
+++ b/service/test/functional/features/attachments.feature
@@ -32,8 +32,12 @@ Feature: Attachments
| Pixelated rocks! | You should definitely use it. Cheers, User. |
And for the 'To' field I enter 'pixelated@friends.org'
And I find an attachment icon
- When I upload a file
+ When I try to upload a file bigger than 1MB
+ Then I see an upload error message
+ When I dismiss the error message
+ Then It should not show the error message anymore
+ When I upload a valid file
And I send it
When I select the tag 'sent'
And I open the first mail in the mail list
- Then I see the mail has an attachment \ No newline at end of file
+ Then I see the mail has an attachment