Fixed test for transaction message when sending funds from wallet
Signed-off-by: yevh-berdnyk <ie.berdnyk@gmail.com>
This commit is contained in:
parent
3754e1dbae
commit
3ada73af89
|
@ -16,7 +16,8 @@ RERUN_ERRORS = [
|
||||||
"object has no attribute",
|
"object has no attribute",
|
||||||
"[Errno 104] Connection reset by peer",
|
"[Errno 104] Connection reset by peer",
|
||||||
"Sauce could not start your job",
|
"Sauce could not start your job",
|
||||||
"HTTP Error 303"
|
"HTTP Error 303",
|
||||||
|
"http.client.RemoteDisconnected: Remote end closed connection without response"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -103,7 +103,8 @@ class TestProfileSingleDevice(SingleDeviceTestCase):
|
||||||
self.errors.append('Profile button counter is not shown')
|
self.errors.append('Profile button counter is not shown')
|
||||||
profile_view = sign_in_view.profile_button.click()
|
profile_view = sign_in_view.profile_button.click()
|
||||||
profile_view.logout()
|
profile_view.logout()
|
||||||
sign_in_view.click_account_by_position(0)
|
if sign_in_view.ok_button.is_element_displayed():
|
||||||
|
sign_in_view.ok_button.click()
|
||||||
sign_in_view.sign_in()
|
sign_in_view.sign_in()
|
||||||
if sign_in_view.profile_button.counter.text != '1':
|
if sign_in_view.profile_button.counter.text != '1':
|
||||||
self.errors.append('Profile button counter is not shown after relogin')
|
self.errors.append('Profile button counter is not shown after relogin')
|
||||||
|
@ -190,7 +191,6 @@ class TestProfileSingleDevice(SingleDeviceTestCase):
|
||||||
profile_view.find_text_part('Questions around beta')
|
profile_view.find_text_part('Questions around beta')
|
||||||
|
|
||||||
@marks.testrail_id(1416)
|
@marks.testrail_id(1416)
|
||||||
@marks.smoke_1
|
|
||||||
def test_contact_profile_view(self):
|
def test_contact_profile_view(self):
|
||||||
sign_in_view = SignInView(self.driver)
|
sign_in_view = SignInView(self.driver)
|
||||||
sign_in_view.create_user()
|
sign_in_view.create_user()
|
||||||
|
|
|
@ -55,7 +55,8 @@ class TestChatManagement(SingleDeviceTestCase):
|
||||||
home.get_chat_with_user('#' + chat_name).swipe_and_delete()
|
home.get_chat_with_user('#' + chat_name).swipe_and_delete()
|
||||||
profile = home.profile_button.click()
|
profile = home.profile_button.click()
|
||||||
profile.logout()
|
profile.logout()
|
||||||
sign_in.click_account_by_position(0)
|
if sign_in.ok_button.is_element_displayed():
|
||||||
|
sign_in.ok_button.click()
|
||||||
sign_in.sign_in()
|
sign_in.sign_in()
|
||||||
if home.get_chat_with_user('#' + chat_name).is_element_displayed():
|
if home.get_chat_with_user('#' + chat_name).is_element_displayed():
|
||||||
self.errors.append('Deleted public chat is present after relogin')
|
self.errors.append('Deleted public chat is present after relogin')
|
||||||
|
|
|
@ -25,7 +25,8 @@ class TestCommandsMultipleDevices(MultipleDeviceTestCase):
|
||||||
public_key = device_2_home.get_public_key()
|
public_key = device_2_home.get_public_key()
|
||||||
device_2_profile = device_2_home.get_profile_view()
|
device_2_profile = device_2_home.get_profile_view()
|
||||||
device_2_profile.switch_network('Mainnet with upstream RPC')
|
device_2_profile.switch_network('Mainnet with upstream RPC')
|
||||||
device_2_sign_in.click_account_by_position(0)
|
if device_2_sign_in.ok_button.is_element_displayed():
|
||||||
|
device_2_sign_in.ok_button.click()
|
||||||
device_2_sign_in.sign_in()
|
device_2_sign_in.sign_in()
|
||||||
|
|
||||||
device_1_chat = device_1_home.add_contact(public_key)
|
device_1_chat = device_1_home.add_contact(public_key)
|
||||||
|
|
|
@ -285,9 +285,8 @@ class TestTransactionWalletMultipleDevice(MultipleDeviceTestCase):
|
||||||
send_transaction.amount_edit_box.set_value(amount)
|
send_transaction.amount_edit_box.set_value(amount)
|
||||||
send_transaction.confirm()
|
send_transaction.confirm()
|
||||||
send_transaction.chose_recipient_button.click()
|
send_transaction.chose_recipient_button.click()
|
||||||
send_transaction.enter_recipient_address_button.click()
|
send_transaction.recent_recipients_button.click()
|
||||||
send_transaction.enter_recipient_address_input.set_value(recipient['address'])
|
send_transaction.element_by_text_part(recipient['username']).click()
|
||||||
send_transaction.done_button.click()
|
|
||||||
send_transaction.sign_transaction(sender['password'])
|
send_transaction.sign_transaction(sender['password'])
|
||||||
|
|
||||||
wallet_1.home_button.click()
|
wallet_1.home_button.click()
|
||||||
|
|
Loading…
Reference in New Issue