Enable TX history view test on PR level
Signed-off-by: Serhy <sergii@status.im>
This commit is contained in:
parent
7b0ebf75e9
commit
abeaaa4218
|
@ -41,7 +41,7 @@ class TestWalletManagement(SingleDeviceTestCase):
|
|||
self.verify_no_errors()
|
||||
|
||||
@marks.testrail_id(5384)
|
||||
@marks.high
|
||||
@marks.critical
|
||||
def test_open_transaction_on_etherscan(self):
|
||||
user = wallet_users['A']
|
||||
sign_in_view = SignInView(self.driver)
|
||||
|
|
|
@ -281,7 +281,7 @@ class OpenInStatusButton(BaseButton):
|
|||
self.wait_for_visibility_of_element()
|
||||
|
||||
# 'Open in Status' button already in DOM but need to scroll down so that click action works
|
||||
self.driver.swipe(500, 500, 500, 100)
|
||||
self.driver.swipe(500, 500, 500, 200)
|
||||
self.driver.info('Tap on %s' % self.name)
|
||||
self.wait_for_element().click()
|
||||
|
||||
|
|
|
@ -58,12 +58,17 @@ class TransactionsButton(BaseButton):
|
|||
class SendTwoTxOneByOneButton(BaseButton):
|
||||
def __init__(self, driver):
|
||||
super(TransactionsButton.SendTwoTxOneByOneButton, self).__init__(driver)
|
||||
self.locator = self.Locator.text_selector('Send two Txs, one after another, 0.00001 and 0.00002 ETH')
|
||||
self.locator = self.Locator.webview_selector('Send two Txs, one after another, 0.00001 and 0.00002 ETH')
|
||||
|
||||
def navigate(self):
|
||||
from views.send_transaction_view import SendTransactionView
|
||||
return SendTransactionView(self.driver)
|
||||
|
||||
def click(self):
|
||||
self.driver.swipe(500, 1000, 500, 800)
|
||||
self.find_element().click()
|
||||
return self.navigate()
|
||||
|
||||
class SendTwoTxInBatchButton(BaseButton):
|
||||
def __init__(self, driver):
|
||||
super(TransactionsButton.SendTwoTxInBatchButton, self).__init__(driver)
|
||||
|
@ -90,6 +95,9 @@ class StatusAPIButton(BaseButton):
|
|||
super(StatusAPIButton.RequestContactCodeButton, self).__init__(driver)
|
||||
self.locator = self.Locator.text_part_selector('Request contact code')
|
||||
|
||||
def click(self):
|
||||
self.wait_for_visibility_of_element().click()
|
||||
|
||||
|
||||
class SendOneTransactionInBatchButton(BaseButton):
|
||||
def __init__(self, driver):
|
||||
|
|
Loading…
Reference in New Issue