chore: fix settings references
This commit is contained in:
parent
a008164210
commit
6132398b06
|
@ -35,12 +35,12 @@ class LeftPanel(QObject):
|
||||||
|
|
||||||
@allure.step('Open messaging settings')
|
@allure.step('Open messaging settings')
|
||||||
def open_messaging_settings(self) -> 'MessagingSettingsView':
|
def open_messaging_settings(self) -> 'MessagingSettingsView':
|
||||||
self._open_settings('3-AppMenuItem')
|
self._open_settings('4-AppMenuItem')
|
||||||
return MessagingSettingsView()
|
return MessagingSettingsView()
|
||||||
|
|
||||||
@allure.step('Open communities settings')
|
@allure.step('Open communities settings')
|
||||||
def open_communities_settings(self, attempts: int = 2) -> 'CommunitiesSettingsView':
|
def open_communities_settings(self, attempts: int = 2) -> 'CommunitiesSettingsView':
|
||||||
self._open_settings('12-AppMenuItem')
|
self._open_settings('13-AppMenuItem')
|
||||||
try:
|
try:
|
||||||
return CommunitiesSettingsView()
|
return CommunitiesSettingsView()
|
||||||
except Exception as ex:
|
except Exception as ex:
|
||||||
|
@ -89,13 +89,13 @@ class LeftPanel(QObject):
|
||||||
|
|
||||||
@allure.step('Open keycard settings')
|
@allure.step('Open keycard settings')
|
||||||
def open_keycard_settings(self) -> KeycardSettingsView:
|
def open_keycard_settings(self) -> KeycardSettingsView:
|
||||||
self._open_settings('13-MainMenuItem')
|
self._open_settings('14-MainMenuItem')
|
||||||
return KeycardSettingsView()
|
return KeycardSettingsView()
|
||||||
|
|
||||||
@allure.step('Open ENS usernames settings')
|
@allure.step('Open ENS usernames settings')
|
||||||
def open_ens_usernames_settings(self) -> ENSSettingsView:
|
def open_ens_usernames_settings(self) -> ENSSettingsView:
|
||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
self._open_settings('2-MainMenuItem')
|
self._open_settings('3-MainMenuItem')
|
||||||
return ENSSettingsView()
|
return ENSSettingsView()
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue