From a8481ab3e1ad927415eb057dc7b11437e66274f6 Mon Sep 17 00:00:00 2001 From: Oleksii Lymarenko Date: Mon, 5 Nov 2018 13:22:40 +0200 Subject: [PATCH] got rid of set_network_connection() usage in test due to permanent failing Signed-off-by: Oleksii Lymarenko --- test/appium/tests/atomic/chats/test_one_to_one.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 fcf1438995..76d644b35d 100644 --- a/test/appium/tests/atomic/chats/test_one_to_one.py +++ b/test/appium/tests/atomic/chats/test_one_to_one.py @@ -223,7 +223,7 @@ class TestMessagesOneToOneChatMultiple(MultipleDeviceTestCase): @marks.testrail_id(5326) @marks.critical def test_offline_status(self): - self.create_drivers(1, offline_mode=True) + self.create_drivers(1) sign_in = SignInView(self.drivers[0]) home_view = sign_in.create_user() @@ -232,7 +232,9 @@ class TestMessagesOneToOneChatMultiple(MultipleDeviceTestCase): wallet_view = home_view.wallet_button.click() wallet_view.home_button.click() - sign_in.driver.set_network_connection(1) # airplane mode + sign_in.toggle_airplane_mode() + sign_in.accept_agreements() + home_view = sign_in.sign_in() chat = home_view.add_contact(transaction_senders['C']['public_key']) if chat.connection_status.text != 'Offline':