Fix switch to home view from Wallet
Signed-off-by: Serhy <sergii@status.im>
This commit is contained in:
parent
b7b221daff
commit
a98264014f
|
@ -212,7 +212,9 @@ class TestProfileSingleDevice(SingleDeviceTestCase):
|
|||
chat_view.chat_options.click_until_presence_of_element(chat_view.view_profile_button)
|
||||
chat_view.view_profile_button.click()
|
||||
for text in basic_user['username'], 'In contacts', 'Send transaction', 'Send message', 'Contact code':
|
||||
chat_view.find_full_text(text)
|
||||
if not chat_view.element_by_text(text).scroll_to_element():
|
||||
self.errors.append('%s is not visible' % text)
|
||||
self.verify_no_errors()
|
||||
|
||||
@marks.testrail_id(5468)
|
||||
@marks.medium
|
||||
|
|
|
@ -476,7 +476,7 @@ class BaseView(object):
|
|||
while not PlusButton(self.driver).is_element_displayed(2):
|
||||
try:
|
||||
if counter >= 5:
|
||||
return
|
||||
break
|
||||
self.back_button.click()
|
||||
except (NoSuchElementException, TimeoutException):
|
||||
counter += 1
|
||||
|
|
Loading…
Reference in New Issue