chore: fix settings references

This commit is contained in:
Anastasiya Semenkevich 2024-02-10 12:47:57 +03:00 committed by Anastasiya
parent a008164210
commit 6132398b06
1 changed files with 4 additions and 4 deletions

View File

@ -35,12 +35,12 @@ class LeftPanel(QObject):
@allure.step('Open messaging settings')
def open_messaging_settings(self) -> 'MessagingSettingsView':
self._open_settings('3-AppMenuItem')
self._open_settings('4-AppMenuItem')
return MessagingSettingsView()
@allure.step('Open communities settings')
def open_communities_settings(self, attempts: int = 2) -> 'CommunitiesSettingsView':
self._open_settings('12-AppMenuItem')
self._open_settings('13-AppMenuItem')
try:
return CommunitiesSettingsView()
except Exception as ex:
@ -89,13 +89,13 @@ class LeftPanel(QObject):
@allure.step('Open keycard settings')
def open_keycard_settings(self) -> KeycardSettingsView:
self._open_settings('13-MainMenuItem')
self._open_settings('14-MainMenuItem')
return KeycardSettingsView()
@allure.step('Open ENS usernames settings')
def open_ens_usernames_settings(self) -> ENSSettingsView:
time.sleep(1)
self._open_settings('2-MainMenuItem')
self._open_settings('3-MainMenuItem')
return ENSSettingsView()