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

12 lines
209 B
Python

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