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)