chore: ids changed for networks

This commit is contained in:
Valentina Novgorodtceva 2024-02-26 13:51:20 +07:00 committed by Anastasiya
parent daf0816a8c
commit 39e2ff7c5e
2 changed files with 4 additions and 4 deletions

View File

@ -37,11 +37,11 @@ class WalletNetworkNaming(Enum):
LAYER2_OPTIMISIM = 'Optimism'
LAYER2_ARBITRUM = 'Arbitrum'
ETHEREUM_MAINNET_NETWORK_ID = 1
ETHEREUM_GOERLI_NETWORK_ID = 5
ETHEREUM_GOERLI_NETWORK_ID = 11155111
OPTIMISM_MAINNET_NETWORK_ID = 10
OPTIMISM_GOERLI_NETWORK_ID = 420
OPTIMISM_GOERLI_NETWORK_ID = 11155420
ARBITRUM_MAINNET_NETWORK_ID = 42161
ARBITRUM_GOERLI_NETWORK_ID = 421613
ARBITRUM_GOERLI_NETWORK_ID = 421614
class WalletNetworkDefaultValues(Enum):

View File

@ -236,7 +236,7 @@ class NetworkWalletSettings(WalletSettingsView):
def get_network_item_attribute_by_id_and_attr_name(self, attribute_name, network_id):
self._wallet_network_item_template.real_name['objectName'] = RegularExpression(
f'walletNetworkDelegate_.*_{network_id}')
return getattr(self._wallet_network_item_template.object, attribute_name)
return str(getattr(self._wallet_network_item_template.object, attribute_name))
@allure.step('Open network to check the details')
def click_network_item_to_open_edit_view(self, network_id):