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.chat_options.click_until_presence_of_element(chat_view.view_profile_button)
|
||||||
chat_view.view_profile_button.click()
|
chat_view.view_profile_button.click()
|
||||||
for text in basic_user['username'], 'In contacts', 'Send transaction', 'Send message', 'Contact code':
|
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.testrail_id(5468)
|
||||||
@marks.medium
|
@marks.medium
|
||||||
|
|
|
@ -476,7 +476,7 @@ class BaseView(object):
|
||||||
while not PlusButton(self.driver).is_element_displayed(2):
|
while not PlusButton(self.driver).is_element_displayed(2):
|
||||||
try:
|
try:
|
||||||
if counter >= 5:
|
if counter >= 5:
|
||||||
return
|
break
|
||||||
self.back_button.click()
|
self.back_button.click()
|
||||||
except (NoSuchElementException, TimeoutException):
|
except (NoSuchElementException, TimeoutException):
|
||||||
counter += 1
|
counter += 1
|
||||||
|
|
Loading…
Reference in New Issue