mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-10 06:16:32 +00:00
e292a0d347
* Code was formatted with pep8 recommendations * Fix attaching squish server config
17 lines
412 B
Python
17 lines
412 B
Python
import allure
|
|
|
|
from gui.elements.button import Button
|
|
from gui.elements.object import QObject
|
|
|
|
|
|
class ConfirmationPopup(QObject):
|
|
|
|
def __init__(self):
|
|
super(ConfirmationPopup, self).__init__('contextMenu_PopupItem')
|
|
self._confirm_button = Button('confirmButton')
|
|
|
|
@allure.step('Confirm action')
|
|
def confirm(self):
|
|
self._confirm_button.click()
|
|
self.wait_until_hidden()
|