From fb2133af86e567c517459894d740417b0a143cc2 Mon Sep 17 00:00:00 2001 From: Anastasiya Semenkevich Date: Wed, 13 Mar 2024 18:28:09 +0300 Subject: [PATCH] chore: fix saved addresses test --- test/e2e/gui/components/wallet/add_saved_address_popup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/e2e/gui/components/wallet/add_saved_address_popup.py b/test/e2e/gui/components/wallet/add_saved_address_popup.py index cf599e6663..6800755106 100644 --- a/test/e2e/gui/components/wallet/add_saved_address_popup.py +++ b/test/e2e/gui/components/wallet/add_saved_address_popup.py @@ -73,11 +73,11 @@ class AddressPopup(AddSavedAddressPopup): self._address_text_edit.type_text(address) if address.startswith("0x"): self.verify_network_selector_enabled() - self._add_networks_selector.click(1, 1) + self._add_networks_selector.click() self.set_ethereum_mainnet_network(True) self.set_optimism_mainnet_network(True) self.set_arbitrum_mainnet_network(True) - self._save_add_address_button.click() # click it twice to close the network selector pop up + self._name_text_edit.click() # click the text field to close the network selector pop up self.verify_ethereum_mainnet_network_tag_present() self.verify_otimism_mainnet_network_tag_present() self.verify_arbitrum_mainnet_network_tag_present(),