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

E2E custom rpc test fix (#17918)

This commit is contained in:
Thomas Huang 2023-03-07 14:24:01 -08:00 committed by GitHub
parent 03732af6f4
commit 38e2a25690
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View File

@ -3,7 +3,7 @@ const FixtureBuilder = require('../fixture-builder');
const { convertToHexValue, withFixtures } = require('../helpers');
describe('Custom network', function () {
const chainID = 42161;
const chainID = '42161';
const networkURL = 'https://arbitrum-mainnet.infura.io';
const networkNAME = 'Arbitrum One';
const currencySYMBOL = 'ETH';

View File

@ -290,6 +290,11 @@ describe('Stores custom RPC history', function () {
networkListItems[networkListItems.length - 1];
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');
// wait for confirm delete modal to be visible