summaryrefslogtreecommitdiff
path: root/service/test/functional/features/steps/attachments.py
diff options
context:
space:
mode:
Diffstat (limited to 'service/test/functional/features/steps/attachments.py')
-rw-r--r--service/test/functional/features/steps/attachments.py4
1 files changed, 2 insertions, 2 deletions
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')