summaryrefslogtreecommitdiff
path: root/service/test/functional
diff options
context:
space:
mode:
authorDenis Costa <deniscostadsc@gmail.com>2016-08-23 17:12:40 -0300
committerDenis Costa <deniscostadsc@gmail.com>2016-08-23 17:12:40 -0300
commit0cc753ce7b525b9b940818cda831750a72131938 (patch)
treee9ed4c14715f1cbe7d88601e3aabdaea55e9fcae /service/test/functional
parent9308560b5114f2c349558f8e984b105c225aefa7 (diff)
Fix misspelled attachment name
See: #761
Diffstat (limited to 'service/test/functional')
-rw-r--r--service/test/functional/features/files/over_5mb.data (renamed from service/test/functional/features/files/5mb.daata)bin5485760 -> 5485760 bytes
-rw-r--r--service/test/functional/features/steps/attachments.py2
2 files changed, 1 insertions, 1 deletions
diff --git a/service/test/functional/features/files/5mb.daata b/service/test/functional/features/files/over_5mb.data
index c8908818..c8908818 100644
--- a/service/test/functional/features/files/5mb.daata
+++ b/service/test/functional/features/files/over_5mb.data
Binary files differ
diff --git a/service/test/functional/features/steps/attachments.py b/service/test/functional/features/steps/attachments.py
index 1805e094..8b01a28a 100644
--- a/service/test/functional/features/steps/attachments.py
+++ b/service/test/functional/features/steps/attachments.py
@@ -63,7 +63,7 @@ def find_icon(context):
@when(u'I try to upload a file bigger than 5MB')
def upload_big_file(context):
base_dir = "test/functional/features/files/"
- fname = "5mb.data"
+ 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'))