From 0ef2b68f69b739596af6f471529dec69dcc4e0fc Mon Sep 17 00:00:00 2001 From: Oleksii Lymarenko Date: Mon, 22 Oct 2018 12:49:55 +0300 Subject: [PATCH] changed element locator for a test Signed-off-by: Oleksii Lymarenko --- test/appium/tests/atomic/dapps_and_browsing/test_deep_links.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/appium/tests/atomic/dapps_and_browsing/test_deep_links.py b/test/appium/tests/atomic/dapps_and_browsing/test_deep_links.py index 75fca7fd91..6ce5769437 100644 --- a/test/appium/tests/atomic/dapps_and_browsing/test_deep_links.py +++ b/test/appium/tests/atomic/dapps_and_browsing/test_deep_links.py @@ -19,7 +19,7 @@ class TestDeepLinks(SingleDeviceTestCase): chat_name = sign_in_view.get_public_chat_name() sign_in_view.send_as_keyevent('https://get.status.im/chat/public/%s' % chat_name) sign_in_view.confirm() - open_button = sign_in_view.element_by_text('Open in Status') + open_button = sign_in_view.element_by_xpath('//*[@text="Open in Status"] | //*[@content-desc="Open in Status"]') open_button.wait_for_visibility_of_element() open_button.click() sign_in_view.sign_in()