mirror of
https://github.com/status-im/desktop-qa-automation.git
synced 2025-02-25 02:25:14 +00:00
22 lines
873 B
Python
22 lines
873 B
Python
|
import allure
|
||
|
|
||
|
import configs
|
||
|
from gui.components.base_popup import BasePopup
|
||
|
from gui.elements.button import Button
|
||
|
from gui.elements.text_label import TextLabel
|
||
|
from gui.screens.settings_wallet import *
|
||
|
|
||
|
|
||
|
class RemoveAccountConfirmationSettings(BasePopup):
|
||
|
|
||
|
def __init__(self):
|
||
|
super(RemoveAccountConfirmationSettings, self).__init__()
|
||
|
self._remove_confirmation_close_button = Button('removeConfirmationCrossCloseButton')
|
||
|
self._remove_confirmation_title_text = TextLabel('removeConfirmationTextTitle')
|
||
|
self._remove_confirmation_body_text = TextLabel('removeConfirmationTextBody')
|
||
|
self._remove_confirmation_remove_account_button = Button('removeConfirmationRemoveButton')
|
||
|
|
||
|
@allure.step('Click Remove account button')
|
||
|
def click_remove_account_button(self):
|
||
|
self._remove_confirmation_remove_account_button.click()
|