status-desktop/test/e2e/gui/elements/text_label.py

16 lines
265 B
Python

import logging
import allure
from gui.elements.object import QObject
_logger = logging.getLogger(__name__)
class TextLabel(QObject):
@property
@allure.step('Get text {0}')
def text(self) -> str:
return str(self.object.text)