nightly e2e fixes
Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
This commit is contained in:
parent
1009b71908
commit
44e3076022
|
@ -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()
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue