Fix open_settings method (#122)

This commit is contained in:
Vladimir Druzhinin 2023-09-22 18:02:50 +02:00 committed by GitHub
parent 45a701355a
commit 963a5c8ea6
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ class LeftPanel(QObject):
self._settings_section_template = QObject('scrollView_MenuItem_StatusNavigationListItem') self._settings_section_template = QObject('scrollView_MenuItem_StatusNavigationListItem')
def _open_settings(self, index: int): def _open_settings(self, index: int):
self._settings_section_template.real_name['objectName'] = RegularExpression(f'{index}*') self._settings_section_template.real_name['objectName'] = RegularExpression(f'{index}-.*')
self._settings_section_template.click() self._settings_section_template.click()
@allure.step('Open messaging settings') @allure.step('Open messaging settings')