From 8136d81c2b85a9cd0112a0bdfcf566b27f5848a9 Mon Sep 17 00:00:00 2001 From: Anastasiya Semenkevich Date: Tue, 28 May 2024 18:17:32 +0300 Subject: [PATCH] chore: replace locator for ChatView component and remove waiting --- test/e2e/gui/main_window.py | 2 +- test/e2e/gui/objects_map/messaging_names.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/e2e/gui/main_window.py b/test/e2e/gui/main_window.py index fcef656cb4..aa85b6641a 100644 --- a/test/e2e/gui/main_window.py +++ b/test/e2e/gui/main_window.py @@ -61,7 +61,7 @@ class LeftPanel(QObject): @allure.step('Open messages screen') def open_messages_screen(self) -> MessagesScreen: self._messages_button.click() - return MessagesScreen().wait_until_appears() + return MessagesScreen() @allure.step('Open online identifier') def open_online_identifier(self, attempts: int = 2) -> OnlineIdentifier: diff --git a/test/e2e/gui/objects_map/messaging_names.py b/test/e2e/gui/objects_map/messaging_names.py index 03cf34be9a..d5080e27ea 100644 --- a/test/e2e/gui/objects_map/messaging_names.py +++ b/test/e2e/gui/objects_map/messaging_names.py @@ -2,7 +2,7 @@ from gui.objects_map.names import statusDesktop_mainWindow # 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 mainWindow_contactColumnLoader_Loader = {"container": mainWindow_chatView_ChatView, "id": "contactColumnLoader", "type": "Loader", "unnamed": 1, "visible": True}