Skip to content

Commit

Permalink
E2E custom rpc test fix (#17918)
Browse files Browse the repository at this point in the history
  • Loading branch information
tmashuang authored Mar 7, 2023
1 parent 03732af commit 38e2a25
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/tests/add-custom-network.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
5 changes: 5 additions & 0 deletions test/e2e/tests/custom-rpc-history.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 38e2a25

Please sign in to comment.