Skip to content
This repository has been archived by the owner on Jan 2, 2020. It is now read-only.

Commit

Permalink
[Denis/Tulio][#761] Change attachment file size to 5MB
Browse files Browse the repository at this point in the history
  • Loading branch information
deniscostadsc committed Aug 25, 2016
1 parent 84f3bfa commit dac8b3c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Binary file not shown.
Binary file not shown.
4 changes: 2 additions & 2 deletions service/test/functional/features/steps/attachments.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit dac8b3c

Please sign in to comment.