1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 09:57:02 +01:00

Remove localhost from default network list (#12790)

* Remove localhost from default network list

* Update e2e fixtures
This commit is contained in:
Dan J Miller 2021-11-22 19:02:03 -03:30 committed by Dan Miller
parent 0cceee0477
commit 6d808e0977
2 changed files with 3 additions and 14 deletions

View File

@ -84,7 +84,7 @@ describe('Stores custom RPC history', function () {
await rpcUrlInput.clear();
await rpcUrlInput.sendKeys(duplicateRpcUrl);
await driver.findElement({
text: 'This URL is currently used by the localhost network.',
text: 'This URL is currently used by the Localhost 8545 network.',
tag: 'h6',
});
},
@ -123,7 +123,8 @@ describe('Stores custom RPC history', function () {
await chainIdInput.clear();
await chainIdInput.sendKeys(duplicateChainId);
await driver.findElement({
text: 'This Chain ID is currently used by the localhost network.',
text:
'This Chain ID is currently used by the Localhost 8545 network.',
tag: 'h6',
});
},

View File

@ -5,9 +5,6 @@ import {
KOVAN,
KOVAN_CHAIN_ID,
KOVAN_RPC_URL,
LOCALHOST,
LOCALHOST_CHAIN_ID,
LOCALHOST_RPC_URL,
MAINNET,
MAINNET_CHAIN_ID,
MAINNET_RPC_URL,
@ -65,15 +62,6 @@ const defaultNetworksData = [
ticker: 'ETH',
blockExplorerUrl: 'https://kovan.etherscan.io',
},
{
labelKey: LOCALHOST,
iconColor: '#29B6AF',
providerType: LOCALHOST,
rpcUrl: LOCALHOST_RPC_URL,
chainId: LOCALHOST_CHAIN_ID,
ticker: 'ETH',
blockExplorerUrl: '',
},
];
export { defaultNetworksData };