2023-09-01 11:18:04 +00:00
|
|
|
import allure
|
|
|
|
|
|
|
|
from gui.components.base_popup import BasePopup
|
2023-10-06 08:33:42 +00:00
|
|
|
from gui.elements.button import Button
|
2023-09-01 11:18:04 +00:00
|
|
|
|
|
|
|
|
|
|
|
class SigningPhrasePopup(BasePopup):
|
|
|
|
|
|
|
|
def __init__(self):
|
|
|
|
super(SigningPhrasePopup, self).__init__()
|
|
|
|
self._ok_got_it_button = Button('signPhrase_Ok_Button')
|
|
|
|
|
|
|
|
@allure.step('Confirm signing phrase in popup')
|
|
|
|
def confirm_phrase(self):
|
|
|
|
self._ok_got_it_button.click()
|
2023-10-09 17:04:29 +00:00
|
|
|
SigningPhrasePopup().wait_until_hidden()
|