diff options
author | Denis Costa <deniscostadsc@gmail.com> | 2016-08-25 16:03:49 -0300 |
---|---|---|
committer | Denis Costa <deniscostadsc@gmail.com> | 2016-08-25 16:03:49 -0300 |
commit | dac8b3cb37603b820ddb46df58a986aec38488f6 (patch) | |
tree | 01f303b0874d728c258fb5ebd846d49bae5e4997 /service/test/functional | |
parent | 84f3bfaa5c0b8b3c2163ae53d3c73282281b0107 (diff) |
[Denis/Tulio][#761] Change attachment file size to 5MB
Diffstat (limited to 'service/test/functional')
-rw-r--r-- | service/test/functional/features/files/5mb.data | bin | 0 -> 5242880 bytes | |||
-rw-r--r-- | service/test/functional/features/files/upload_test_file.txt | bin | 3145728 -> 0 bytes | |||
-rw-r--r-- | service/test/functional/features/steps/attachments.py | 4 |
3 files changed, 2 insertions, 2 deletions
diff --git a/service/test/functional/features/files/5mb.data b/service/test/functional/features/files/5mb.data Binary files differnew file mode 100644 index 00000000..8c28b0e7 --- /dev/null +++ b/service/test/functional/features/files/5mb.data diff --git a/service/test/functional/features/files/upload_test_file.txt b/service/test/functional/features/files/upload_test_file.txt Binary files differdeleted file mode 100644 index b7f1f882..00000000 --- a/service/test/functional/features/files/upload_test_file.txt +++ /dev/null diff --git a/service/test/functional/features/steps/attachments.py b/service/test/functional/features/steps/attachments.py index 3cb56bdc..a319359d 100644 --- a/service/test/functional/features/steps/attachments.py +++ b/service/test/functional/features/steps/attachments.py @@ -93,10 +93,10 @@ def should_not_show_upload_error_message(context): @when(u'I upload a valid file') def upload_attachment(context): base_dir = "test/functional/features/files/" - fname = "upload_test_file.txt" + fname = "5mb.data" fill_by_css_selector(context, '#fileupload', base_dir + fname) attachment_list_item = wait_until_element_is_visible_by_locator(context, (By.CSS_SELECTOR, '#attachment-list-item li a')) - assert attachment_list_item.text == "%s (3.00 Mb)" % fname + assert attachment_list_item.text == "%s (5.00 Mb)" % fname @when(u'remove the file') |