chore: ids changed for networks
This commit is contained in:
parent
86d5537db6
commit
08c851158e
|
@ -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):
|
||||
|
|
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue