mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-25 11:28:51 +01:00
E2E custom rpc test fix (#17918)
This commit is contained in:
parent
03732af6f4
commit
38e2a25690
@ -3,7 +3,7 @@ const FixtureBuilder = require('../fixture-builder');
|
|||||||
const { convertToHexValue, withFixtures } = require('../helpers');
|
const { convertToHexValue, withFixtures } = require('../helpers');
|
||||||
|
|
||||||
describe('Custom network', function () {
|
describe('Custom network', function () {
|
||||||
const chainID = 42161;
|
const chainID = '42161';
|
||||||
const networkURL = 'https://arbitrum-mainnet.infura.io';
|
const networkURL = 'https://arbitrum-mainnet.infura.io';
|
||||||
const networkNAME = 'Arbitrum One';
|
const networkNAME = 'Arbitrum One';
|
||||||
const currencySYMBOL = 'ETH';
|
const currencySYMBOL = 'ETH';
|
||||||
|
@ -290,6 +290,11 @@ describe('Stores custom RPC history', function () {
|
|||||||
networkListItems[networkListItems.length - 1];
|
networkListItems[networkListItems.length - 1];
|
||||||
await lastNetworkListItem.click();
|
await lastNetworkListItem.click();
|
||||||
|
|
||||||
|
await driver.waitForSelector({
|
||||||
|
css: '.form-field .form-field__input:nth-of-type(1)',
|
||||||
|
value: 'http://127.0.0.1:8545/2',
|
||||||
|
});
|
||||||
|
|
||||||
await driver.clickElement('.btn-danger');
|
await driver.clickElement('.btn-danger');
|
||||||
|
|
||||||
// wait for confirm delete modal to be visible
|
// wait for confirm delete modal to be visible
|
||||||
|
Loading…
Reference in New Issue
Block a user