Update ethro key in e2e
Signed-off-by: Serhy <sergii@status.im>
This commit is contained in:
parent
7d7462356e
commit
e738cd0811
|
@ -144,7 +144,7 @@ class TestCommandsMultipleDevices(MultipleDeviceTestCase):
|
||||||
|
|
||||||
home_2.just_fyi('Check that transaction message is fetched from offline and sign transaction')
|
home_2.just_fyi('Check that transaction message is fetched from offline and sign transaction')
|
||||||
profile_2.airplane_mode_button.click()
|
profile_2.airplane_mode_button.click()
|
||||||
home_2.connection_status.wait_for_invisibility_of_element(30)
|
home_2.connection_status.wait_for_invisibility_of_element(60)
|
||||||
home_2.get_chat(recipient_username).click()
|
home_2.get_chat(recipient_username).click()
|
||||||
chat_2_sender_message = chat_2.chat_element_by_text('↑ Outgoing transaction')
|
chat_2_sender_message = chat_2.chat_element_by_text('↑ Outgoing transaction')
|
||||||
if not chat_2_sender_message.is_element_displayed():
|
if not chat_2_sender_message.is_element_displayed():
|
||||||
|
@ -160,7 +160,7 @@ class TestCommandsMultipleDevices(MultipleDeviceTestCase):
|
||||||
chat_2.toggle_airplane_mode()
|
chat_2.toggle_airplane_mode()
|
||||||
self.network_api.wait_for_confirmation_of_transaction(sender['address'], amount, confirmations=15, token=True)
|
self.network_api.wait_for_confirmation_of_transaction(sender['address'], amount, confirmations=15, token=True)
|
||||||
chat_2.toggle_airplane_mode()
|
chat_2.toggle_airplane_mode()
|
||||||
chat_2.connection_status.wait_for_invisibility_of_element(30)
|
chat_2.connection_status.wait_for_invisibility_of_element(60)
|
||||||
if chat_2_sender_message.transaction_status.text != 'Confirmed':
|
if chat_2_sender_message.transaction_status.text != 'Confirmed':
|
||||||
self.errors.append('Wrong state is shown for outgoing transaction: "Confirmed" is expected, in fact'
|
self.errors.append('Wrong state is shown for outgoing transaction: "Confirmed" is expected, in fact'
|
||||||
' %s ' % chat_2_sender_message.transaction_status.text)
|
' %s ' % chat_2_sender_message.transaction_status.text)
|
||||||
|
|
|
@ -477,7 +477,7 @@ class WalletView(BaseView):
|
||||||
self.driver.info('Transaction received, balance updated!')
|
self.driver.info('Transaction received, balance updated!')
|
||||||
return
|
return
|
||||||
|
|
||||||
def wait_balance_is_changed(self, asset ='ETHro', initial_balance=0, wait_time=300):
|
def wait_balance_is_changed(self, asset ='ETH', initial_balance=0, wait_time=300):
|
||||||
counter = 0
|
counter = 0
|
||||||
while True:
|
while True:
|
||||||
if counter >= wait_time:
|
if counter >= wait_time:
|
||||||
|
|
Loading…
Reference in New Issue