Skip to content

Commit

Permalink
Fixing e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanml committed Oct 12, 2022
1 parent ddb1101 commit df2ad25
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions test/e2e/tests/custom-rpc-history.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,11 @@ describe('Stores custom RPC history', function () {

await driver.clickElement({ text: 'Add network', tag: 'button' });

await driver.findElement('.networks-tab__sub-header-text');
await driver.findElement('.add-network__networks-container');

await driver.clickElement({ text: 'Add a network manually', tag: 'a' });

await driver.findElement('.networks-tab__subheader');

const customRpcInputs = await driver.findElements('input[type="text"]');
const networkNameInput = customRpcInputs[1];
Expand Down Expand Up @@ -123,7 +127,11 @@ describe('Stores custom RPC history', function () {

await driver.clickElement({ text: 'Add network', tag: 'button' });

await driver.findElement('.networks-tab__sub-header-text');
await driver.findElement('.add-network__networks-container');

await driver.clickElement({ text: 'Add a network manually', tag: 'a' });

await driver.findElement('.networks-tab__subheader');

const customRpcInputs = await driver.findElements('input[type="text"]');
const rpcUrlInput = customRpcInputs[2];
Expand Down

0 comments on commit df2ad25

Please sign in to comment.