Enable TX history view test on PR level

Signed-off-by: Serhy <sergii@status.im>
This commit is contained in:
Serhy 2019-05-07 18:21:30 +03:00
parent 7b0ebf75e9
commit abeaaa4218
No known key found for this signature in database
GPG Key ID: 5D7C4B9E2B6F500B
3 changed files with 11 additions and 3 deletions

View File

@ -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)

View File

@ -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()

View File

@ -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):