changed element locator for a test

Signed-off-by: Oleksii Lymarenko <alexey.lymarenko@gmail.com>
This commit is contained in:
Oleksii Lymarenko 2018-10-22 12:49:55 +03:00
parent 56e3aaebe0
commit 0ef2b68f69
No known key found for this signature in database
GPG Key ID: 2007E841ECE4A02C
1 changed files with 1 additions and 1 deletions

View File

@ -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()