Anastasiya Semenkevich 65798a0046 chore: fix tests
2024-10-11 01:37:10 +03:00

16 lines
306 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.basePopup)
@allure.step('Close')
def close(self):
driver.type(self.object, '<Escape>')