chore: replace locator for ChatView component and remove waiting
This commit is contained in:
parent
af8ed6c068
commit
8136d81c2b
|
@ -61,7 +61,7 @@ class LeftPanel(QObject):
|
||||||
@allure.step('Open messages screen')
|
@allure.step('Open messages screen')
|
||||||
def open_messages_screen(self) -> MessagesScreen:
|
def open_messages_screen(self) -> MessagesScreen:
|
||||||
self._messages_button.click()
|
self._messages_button.click()
|
||||||
return MessagesScreen().wait_until_appears()
|
return MessagesScreen()
|
||||||
|
|
||||||
@allure.step('Open online identifier')
|
@allure.step('Open online identifier')
|
||||||
def open_online_identifier(self, attempts: int = 2) -> OnlineIdentifier:
|
def open_online_identifier(self, attempts: int = 2) -> OnlineIdentifier:
|
||||||
|
|
|
@ -2,7 +2,7 @@ from gui.objects_map.names import statusDesktop_mainWindow
|
||||||
|
|
||||||
# Map for messaging screens, views locators
|
# Map for messaging screens, views locators
|
||||||
|
|
||||||
mainWindow_chatView_ChatView = {"container": statusDesktop_mainWindow, "id": "chatView", "type": "ChatView", "unnamed": 1, "visible": True}
|
mainWindow_chatView_ChatView = {"container": statusDesktop_mainWindow, "objectName": "chatViewComponent", "type": "ChatView", "visible": True}
|
||||||
|
|
||||||
# Left Panel
|
# Left Panel
|
||||||
mainWindow_contactColumnLoader_Loader = {"container": mainWindow_chatView_ChatView, "id": "contactColumnLoader", "type": "Loader", "unnamed": 1, "visible": True}
|
mainWindow_contactColumnLoader_Loader = {"container": mainWindow_chatView_ChatView, "id": "contactColumnLoader", "type": "Loader", "unnamed": 1, "visible": True}
|
||||||
|
|
Loading…
Reference in New Issue