e2e fix + pairing code align

Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
This commit is contained in:
Churikova Tetiana 2020-05-05 10:52:40 +02:00
parent aa9b7cc848
commit 4c360f9ea1
No known key found for this signature in database
GPG Key ID: 0D4EA7B33B47E6D8
4 changed files with 4 additions and 1 deletions

View File

@ -143,6 +143,7 @@
:auto-focus true :auto-focus true
:on-submit-editing #(re-frame/dispatch [:keycard.onboarding.pair.ui/input-submitted]) :on-submit-editing #(re-frame/dispatch [:keycard.onboarding.pair.ui/input-submitted])
:placeholder nil :placeholder nil
:text-align :center
:container {:background-color colors/white} :container {:background-color colors/white}
:style {:background-color colors/white :style {:background-color colors/white
:height 24 :height 24

View File

@ -457,6 +457,7 @@ class TestTransactionWalletSingleDevice(SingleDeviceTestCase):
status_account_address = wallet_view.get_wallet_address()[2:] status_account_address = wallet_view.get_wallet_address()[2:]
wallet_view.back_button.click() wallet_view.back_button.click()
self.network_api.get_donate(status_account_address) self.network_api.get_donate(status_account_address)
wallet_view.wait_balance_is_changed()
account_name = 'subaccount' account_name = 'subaccount'
wallet_view.add_account(account_name) wallet_view.add_account(account_name)

View File

@ -690,6 +690,7 @@ class BaseView(object):
def open_universal_web_link(self, deep_link): def open_universal_web_link(self, deep_link):
start_web_browser(self.driver) start_web_browser(self.driver)
self.element_by_text_part("Search").wait_for_element()
self.driver.get(deep_link) self.driver.get(deep_link)
def upgrade_app(self): def upgrade_app(self):

View File

@ -264,7 +264,7 @@ class SignInView(BaseView):
def sign_in(self, password=common_password, keycard=False): def sign_in(self, password=common_password, keycard=False):
self.rooted_device_continue() self.rooted_device_continue()
self.multi_account_on_login_button.wait_for_visibility_of_element(5) self.multi_account_on_login_button.wait_for_visibility_of_element(10)
self.multi_account_on_login_button.click() self.multi_account_on_login_button.click()
if keycard: if keycard:
from views.keycard_view import KeycardView from views.keycard_view import KeycardView