mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-09 13:56:10 +00:00
16 lines
329 B
Python
16 lines
329 B
Python
import allure
|
|
|
|
import driver
|
|
from gui.elements.object import QObject
|
|
from gui.objects_map import names
|
|
|
|
|
|
class BasePopup(QObject):
|
|
|
|
def __init__(self):
|
|
super(BasePopup, self).__init__(names.statusDesktop_mainWindow_overlay)
|
|
|
|
@allure.step('Close')
|
|
def close(self):
|
|
driver.type(self.object, '<Escape>')
|