mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-10 06:16:32 +00:00
0c63fc6f93
* OS native dialog replaced on Qt dialog * Starting fluxbox added to make File Dialog visible
16 lines
324 B
Python
16 lines
324 B
Python
import allure
|
|
|
|
import driver
|
|
from gui.elements.object import QObject
|
|
|
|
|
|
class BasePopup(QObject):
|
|
|
|
def __init__(self):
|
|
super(BasePopup, self).__init__('statusDesktop_mainWindow_overlay')
|
|
|
|
@allure.step('Close')
|
|
def close(self):
|
|
driver.type(self.object, '<Escape>')
|
|
self.wait_until_hidden()
|