From 2cca033dc2baf2ef62ad1d2cbb21afe3f48996c7 Mon Sep 17 00:00:00 2001 From: Valentina Novgorodtceva Date: Wed, 29 May 2024 12:33:48 +0700 Subject: [PATCH] chore: replaced with recommended method to check that add new account opened --- test/e2e/gui/components/wallet/wallet_account_popups.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/e2e/gui/components/wallet/wallet_account_popups.py b/test/e2e/gui/components/wallet/wallet_account_popups.py index b70fa4b453..a6f2621e91 100644 --- a/test/e2e/gui/components/wallet/wallet_account_popups.py +++ b/test/e2e/gui/components/wallet/wallet_account_popups.py @@ -113,7 +113,8 @@ class AccountPopup(BasePopup): def click_new_master_key(self, value: str, attempts: int = 2): self._new_master_key_origin_item.click() try: - return AddNewAccountPopup().wait_until_appears() + AccountPopup().verify_add_account_popup_present() + return AddNewAccountPopup() except AssertionError as err: if attempts: return self.click_new_master_key(value, attempts - 1)