From 31aca931fd1ec76a4ffd9099bb6b13894a9d64be Mon Sep 17 00:00:00 2001 From: Gislene Pereira Date: Wed, 27 Jan 2016 18:40:42 -0300 Subject: Issue #550 - Adding BDD tests to cover case when file is bigger than 1 MB. --- service/test/functional/features/attachments.feature | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'service/test/functional/features/attachments.feature') 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 -- cgit v1.2.3