Fix more e2e

Signed-off-by: andrey <motor4ik@gmail.com>
This commit is contained in:
Serhy 2020-11-03 15:37:37 +02:00 committed by andrey
parent 6f86f73ac6
commit d8713fe3c7
No known key found for this signature in database
GPG Key ID: 89B67245FD2F0272
3 changed files with 3 additions and 3 deletions

View File

@ -634,7 +634,7 @@ class TestChatManagementMultipleDevice(MultipleDeviceTestCase):
userprofile.back_button.click()
if profile_1.element_by_text(username_2).is_element_displayed():
self.errors.append('List of contacts in profile contains removed user')
profile_1.home_button.click()
profile_1.home_button.click(desired_view='chat')
if not chat_1.add_to_contacts.is_element_displayed():
self.errors.append('"Add to contacts" button is not shown in 1-1 after removing user from contacts')
home_1.get_back_to_home_view()

View File

@ -129,7 +129,7 @@ class TestCommandsMultipleDevices(MultipleDeviceTestCase):
transactions_view = wallet_1.transaction_history_button.click()
transactions_view.transactions_table.find_transaction(amount=amount)
self.network_api.wait_for_confirmation_of_transaction(sender['address'], amount)
wallet_1.home_button.click()
wallet_1.home_button.click(desired_view="chat")
home_1.just_fyi("Check 'Confirmed' state for sender")
if chat_1_sender_message.transaction_status.text != 'Confirmed':

View File

@ -85,7 +85,7 @@ class TestCommandsMultipleDevices(MultipleDeviceTestCase):
transactions_view = wallet_1.transaction_history_button.click()
transactions_view.transactions_table.find_transaction(amount=amount)
self.network_api.wait_for_confirmation_of_transaction(sender['address'], amount)
wallet_1.home_button.click()
wallet_1.home_button.click(desired_view='chat')
home_1.just_fyi("Check 'Confirmed' state for sender")
if chat_1_sender_message.transaction_status.text != 'Confirmed':