diff options
author | Christoph Kluenter <ckluente@thoughtworks.com> | 2016-08-24 15:57:00 +0200 |
---|---|---|
committer | Christoph Kluenter <ckluente@thoughtworks.com> | 2016-08-24 15:57:00 +0200 |
commit | f758f916fe585e55b17f61291de8733e3afe379d (patch) | |
tree | e00590410c5e82b9d3fb5ead8ca65ed77cbad90d /service/test/functional/features/steps/attachments.py | |
parent | c99302f6fd2725bdfc71e49319c1c8c145a151ab (diff) | |
parent | 0cc753ce7b525b9b940818cda831750a72131938 (diff) |
Merge branch '5mb_attachment'
Diffstat (limited to 'service/test/functional/features/steps/attachments.py')
-rw-r--r-- | service/test/functional/features/steps/attachments.py | 4 |
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..8b01a28a 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 = "over_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')) |