sign_in keycard e2e fix

Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
This commit is contained in:
Churikova Tetiana 2020-07-23 11:20:21 +02:00
parent f8af5a51be
commit fb9ab82d7b
No known key found for this signature in database
GPG Key ID: 0D4EA7B33B47E6D8
1 changed files with 2 additions and 1 deletions

View File

@ -311,8 +311,9 @@ class SignInView(BaseView):
if keycard:
from views.keycard_view import KeycardView
keycard_view = KeycardView(self.driver)
keycard_view.enter_default_pin()
keycard_view.one_button.wait_for_visibility_of_element(10)
keycard_view.connect_selected_card_button.click()
keycard_view.enter_default_pin()
else:
self.password_input.set_value(password)
self.sign_in_button.click()