From 84f3bfaa5c0b8b3c2163ae53d3c73282281b0107 Mon Sep 17 00:00:00 2001 From: Christoph Kluenter Date: Thu, 25 Aug 2016 17:49:27 +0200 Subject: if we use a bigger attachment, we should check for a bigger size --- service/test/functional/features/steps/attachments.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'service') diff --git a/service/test/functional/features/steps/attachments.py b/service/test/functional/features/steps/attachments.py index 8b01a28a..3cb56bdc 100644 --- a/service/test/functional/features/steps/attachments.py +++ b/service/test/functional/features/steps/attachments.py @@ -96,7 +96,7 @@ def upload_attachment(context): fname = "upload_test_file.txt" 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 (36.00 b)" % fname + assert attachment_list_item.text == "%s (3.00 Mb)" % fname @when(u'remove the file') -- cgit v1.2.3