diff --git a/test/e2e/tests/custom-rpc-history.spec.js b/test/e2e/tests/custom-rpc-history.spec.js index 9907090d798d..fc4f3165b3da 100644 --- a/test/e2e/tests/custom-rpc-history.spec.js +++ b/test/e2e/tests/custom-rpc-history.spec.js @@ -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]; @@ -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];