chore: fix saved addresses test

This commit is contained in:
Anastasiya Semenkevich 2024-03-13 18:28:09 +03:00 committed by Anastasiya
parent 65ff9998b6
commit fb2133af86
1 changed files with 2 additions and 2 deletions

View File

@ -73,11 +73,11 @@ class AddressPopup(AddSavedAddressPopup):
self._address_text_edit.type_text(address) self._address_text_edit.type_text(address)
if address.startswith("0x"): if address.startswith("0x"):
self.verify_network_selector_enabled() 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_ethereum_mainnet_network(True)
self.set_optimism_mainnet_network(True) self.set_optimism_mainnet_network(True)
self.set_arbitrum_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_ethereum_mainnet_network_tag_present()
self.verify_otimism_mainnet_network_tag_present() self.verify_otimism_mainnet_network_tag_present()
self.verify_arbitrum_mainnet_network_tag_present(), self.verify_arbitrum_mainnet_network_tag_present(),