diff --git a/test/e2e/constants/wallet.py b/test/e2e/constants/wallet.py index 2b54157306..ae2b1281b1 100644 --- a/test/e2e/constants/wallet.py +++ b/test/e2e/constants/wallet.py @@ -74,6 +74,7 @@ class WalletOrigin(Enum): class WalletTransactions(Enum): TRANSACTION_SENDING_TOAST_MESSAGE = 'Sending' + ENS_TRANSACTION_REGISTERING_TOAST_MESSAGE = 'Registering' class WalletScreensHeaders(Enum): diff --git a/test/e2e/tests/crtitical_tests_prs/test_messaging_group_chat.py b/test/e2e/tests/crtitical_tests_prs/test_messaging_group_chat.py index af037831b6..1f3d8e971d 100644 --- a/test/e2e/tests/crtitical_tests_prs/test_messaging_group_chat.py +++ b/test/e2e/tests/crtitical_tests_prs/test_messaging_group_chat.py @@ -196,7 +196,7 @@ def test_group_chat_add_contact_in_ac(multiple_instances, community_name, domain with step('Verify that message was sent without preview'): sent_message = messages_screen.chat.messages(0) - assert driver.waitFor(lambda: sent_message[0].link_preview is None, + assert driver.waitFor(lambda: sent_message[0].link_preview_title_object is None, timeout), f'Message was wrongly sent with preview' with step(f'Paste external link again and verify that there are still 3 options'): @@ -214,9 +214,7 @@ def test_group_chat_add_contact_in_ac(multiple_instances, community_name, domain messages_screen.group_chat.type_message(message) with step('Wait until link preview is ready'): - assert driver.waitFor( - lambda: domain_link_2 == messages_screen.group_chat.get_link_preview_bubble_description(), - configs.timeouts.UI_LOAD_TIMEOUT_MSEC) + assert driver.waitFor(lambda: domain_link_2 == messages_screen.group_chat.get_link_preview_bubble_description(), configs.timeouts.UI_LOAD_TIMEOUT_MSEC) with step(f'Paste image to the same message'): messages_screen.group_chat.choose_image(str(path)) diff --git a/test/e2e/tests/transactions_tests/test_buy_ens_name_in_settings.py b/test/e2e/tests/transactions_tests/test_buy_ens_name_in_settings.py index 0536613adf..5d9e4aaca9 100644 --- a/test/e2e/tests/transactions_tests/test_buy_ens_name_in_settings.py +++ b/test/e2e/tests/transactions_tests/test_buy_ens_name_in_settings.py @@ -56,7 +56,7 @@ def test_ens_name_purchase(main_window, user_account, ens_name): authenticate_with_password(user_account) with step('Verify toast message with Transaction pending appears'): - assert WalletTransactions.TRANSACTION_SENDING_TOAST_MESSAGE.value in ' '.join( + assert WalletTransactions.ENS_TRANSACTION_REGISTERING_TOAST_MESSAGE.value in ' '.join( main_window.wait_for_notification()) with step('Verify username registered view appears'):