diff --git a/test/e2e/gui/screens/messages.py b/test/e2e/gui/screens/messages.py index 8a29a25f30..0afe166482 100644 --- a/test/e2e/gui/screens/messages.py +++ b/test/e2e/gui/screens/messages.py @@ -219,7 +219,7 @@ class ChatView(QObject): message = _message break if time.monotonic() - started_at > configs.timeouts.MESSAGING_TIMEOUT_SEC: - raise LookupError(f'Invitation not found') + raise LookupError(f'Community invitation was not found') return message.open_community_invitation() diff --git a/test/e2e/tests/messages/test_1x1_chat.py b/test/e2e/tests/messages/test_1x1_chat.py index 6905abd450..ecfaa3623d 100644 --- a/test/e2e/tests/messages/test_1x1_chat.py +++ b/test/e2e/tests/messages/test_1x1_chat.py @@ -67,7 +67,7 @@ def test_1x1_chat(multiple_instances, user_data_one, user_data_two): with step(f'User {user_one.name} send another message to {user_two.name}, edit it and verify it was changed'): aut_one.attach() main_window.prepare() - chat = main_window.left_panel.open_messages_screen().left_panel.open_chat(user_two.name) + chat = main_window.left_panel.open_messages_screen().left_panel.click_chat_by_name(user_two.name) ChatMessagesView().send_message_to_group_chat('How are you') message = chat.find_message_by_text(f'How are you', 0) additional_text = '?' @@ -83,7 +83,7 @@ def test_1x1_chat(multiple_instances, user_data_one, user_data_two): with step(f'User {user_two.name} opens 1x1 chat with {user_one.name}'): aut_two.attach() main_window.prepare() - messages_screen.left_panel.open_chat(user_one.name) + messages_screen.left_panel.click_chat_by_name(user_one.name) with step(f'User {user_two.name} send reply to {user_one.name}'): messages_screen.group_chat.send_message_to_group_chat('Hello squisher') diff --git a/test/e2e/tests/online_identifier/test_online_identifier.py b/test/e2e/tests/online_identifier/test_online_identifier.py index fe9f53a831..9f72bc020b 100644 --- a/test/e2e/tests/online_identifier/test_online_identifier.py +++ b/test/e2e/tests/online_identifier/test_online_identifier.py @@ -96,7 +96,7 @@ def test_switch_state_to_offline_online_automatic(multiple_instances, user_data_ aut_one.attach() main_screen.prepare() messages_view = main_screen.left_panel.open_messages_screen() - chat = messages_view.left_panel.open_chat(user_two.name) + chat = messages_view.left_panel.click_chat_by_name(user_two.name) community_screen = chat.accept_community_invite(community_params['name'], '0') with step(f'User {user_one.name}, verify welcome community popup'): diff --git a/test/e2e/tests/settings/settings_messaging/test_messaging_settings_accept_request.py b/test/e2e/tests/settings/settings_messaging/test_messaging_settings_accept_request.py index 687277ce20..cfa9a3d231 100644 --- a/test/e2e/tests/settings/settings_messaging/test_messaging_settings_accept_request.py +++ b/test/e2e/tests/settings/settings_messaging/test_messaging_settings_accept_request.py @@ -98,7 +98,7 @@ def test_messaging_settings_accepting_request(multiple_instances, user_data_one, with step(f'Verify that 1X1 chat with {user_two.name} appeared for {user_one.name}'): messages_screen = main_window.left_panel.open_messages_screen() - assert user_two.name in messages_screen.left_panel.contacts + assert user_two.name in messages_screen.left_panel.get_chats_list() main_window.hide() with step(f'Verify that 1X1 chat with {user_one.name} appeared for {user_two.name}'):