From 0cc753ce7b525b9b940818cda831750a72131938 Mon Sep 17 00:00:00 2001 From: Denis Costa Date: Tue, 23 Aug 2016 17:12:40 -0300 Subject: Fix misspelled attachment name See: #761 --- service/test/functional/features/files/5mb.daata | Bin 5485760 -> 0 bytes service/test/functional/features/files/over_5mb.data | Bin 0 -> 5485760 bytes service/test/functional/features/steps/attachments.py | 2 +- 3 files changed, 1 insertion(+), 1 deletion(-) delete mode 100644 service/test/functional/features/files/5mb.daata create mode 100644 service/test/functional/features/files/over_5mb.data (limited to 'service/test/functional') diff --git a/service/test/functional/features/files/5mb.daata b/service/test/functional/features/files/5mb.daata deleted file mode 100644 index c8908818..00000000 Binary files a/service/test/functional/features/files/5mb.daata and /dev/null differ diff --git a/service/test/functional/features/files/over_5mb.data b/service/test/functional/features/files/over_5mb.data new file mode 100644 index 00000000..c8908818 Binary files /dev/null and b/service/test/functional/features/files/over_5mb.data 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')) -- cgit v1.2.3