summaryrefslogtreecommitdiff
path: root/service/test/functional/features/steps/attachments.py
diff options
context:
space:
mode:
authorChristoph Kluenter <ckluente@thoughtworks.com>2016-08-23 17:15:02 +0200
committerChristoph Kluenter <ckluente@thoughtworks.com>2016-08-23 17:15:02 +0200
commit9308560b5114f2c349558f8e984b105c225aefa7 (patch)
tree20ee42590189e82c5412ee3c0ef77dde61121170 /service/test/functional/features/steps/attachments.py
parent94ce2779a01903688b22783fdef3e42e789c1211 (diff)
accept uploads to up to 5MB
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 c086dfcc..1805e094 100644
--- a/service/test/functional/features/steps/attachments.py
+++ b/service/test/functional/features/steps/attachments.py
@@ -60,10 +60,10 @@ def find_icon(context):
assert find_element_by_css_selector(context, '#attachment-button .fa.fa-paperclip')
-@when(u'I try to upload a file bigger than 1MB')
+@when(u'I try to upload a file bigger than 5MB')
def upload_big_file(context):
base_dir = "test/functional/features/files/"
- fname = "image_over_1MB.png"
+ fname = "5mb.data"
context.browser.execute_script("$('#fileupload').removeAttr('hidden');")
fill_by_css_selector(context, '#fileupload', base_dir + fname)
wait_until_element_is_visible_by_locator(context, (By.CSS_SELECTOR, '#upload-error-message'))