nightly e2e fixes

Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
This commit is contained in:
Churikova Tetiana 2020-09-18 17:26:27 +02:00
parent 1009b71908
commit 44e3076022
No known key found for this signature in database
GPG Key ID: 0D4EA7B33B47E6D8
2 changed files with 10 additions and 1 deletions

View File

@ -107,7 +107,7 @@ class TestTransactionWalletSingleDevice(SingleDeviceTestCase):
self.errors.append('Transactions senders do not match!')
if tx_to != expected_txs_list[tx_hash]['to']:
self.errors.append('Transactions recipients do not match!')
transactions_details.back_button.click()
transactions_details.back_button.click_until_presence_of_element(wallet_view.send_transaction_button)
self.errors.verify_no_errors()

View File

@ -249,6 +249,10 @@ class UnblockContactButton(BaseButton):
super(UnblockContactButton, self).__init__(driver)
self.locator = self.Locator.accessibility_id('unblock-contact')
def click(self):
self.scroll_to_element()
self.wait_for_element().click()
class LeaveButton(BaseButton):
def __init__(self, driver):
@ -362,6 +366,11 @@ class ProfileBlockContactButton(BaseButton):
super(ProfileBlockContactButton, self).__init__(driver)
self.locator = self.Locator.accessibility_id('block-contact')
def click(self):
self.scroll_to_element()
self.wait_for_element().click()
class ProfileAddToContactsButton(BaseButton):
def __init__(self, driver):
super(ProfileAddToContactsButton, self).__init__(driver)