From 963a5c8ea6234b04e9b4b036fe8f1e52c16e724b Mon Sep 17 00:00:00 2001 From: Vladimir Druzhinin <128374224+StateOf-Vlado@users.noreply.github.com> Date: Fri, 22 Sep 2023 18:02:50 +0200 Subject: [PATCH] Fix open_settings method (#122) --- test/e2e/gui/screens/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/gui/screens/settings.py b/test/e2e/gui/screens/settings.py index ba50e12e0f..bfbe3f9ce7 100644 --- a/test/e2e/gui/screens/settings.py +++ b/test/e2e/gui/screens/settings.py @@ -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')