Fix open_settings method (#122)

This commit is contained in:
Vladimir Druzhinin 2023-09-22 18:02:50 +02:00 committed by GitHub
parent 36c9cc5f19
commit a79b45ac8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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')
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()
@allure.step('Open messaging settings')