From d276d576a684f5c3be02fd3a794aee4953efcc7e Mon Sep 17 00:00:00 2001 From: yevh-berdnyk Date: Tue, 26 Jun 2018 18:23:02 +0200 Subject: [PATCH] Increased time range for message sending progress bar Signed-off-by: yevh-berdnyk --- test/appium/tests/atomic/chats/test_one_to_one.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/appium/tests/atomic/chats/test_one_to_one.py b/test/appium/tests/atomic/chats/test_one_to_one.py index 04cdb4b4e3..3daface572 100644 --- a/test/appium/tests/atomic/chats/test_one_to_one.py +++ b/test/appium/tests/atomic/chats/test_one_to_one.py @@ -93,7 +93,7 @@ class TestMessagesOneToOneChat(MultipleDeviceTestCase): chat_1.chat_message_input.send_keys(message) chat_1.send_message_button.click() progress_time = chat_1.chat_element_by_text(message).progress_bar.measure_time_while_element_is_shown() - if not 9 < progress_time < 15: + if not 5 < progress_time < 30: self.errors.append('Progress indicator is shown during %s seconds' % progress_time) device_1.set_network_connection(2) # turning on WiFi connection