aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDan Miller <danjm.com@gmail.com>2019-03-29 11:14:00 +0800
committerWhymarrh Whitby <whymarrh.whitby@gmail.com>2019-03-29 21:43:39 +0800
commitd927a3c20a1b8d47baaf215ef88d9a1a88c3851a (patch)
treecd516f0573d67a2bd30573120c258b9837e2160b /test
parent7fc84f3cc087deab5d937ee589de56fa40cd7ced (diff)
downloadtangerine-wallet-browser-d927a3c20a1b8d47baaf215ef88d9a1a88c3851a.tar
tangerine-wallet-browser-d927a3c20a1b8d47baaf215ef88d9a1a88c3851a.tar.gz
tangerine-wallet-browser-d927a3c20a1b8d47baaf215ef88d9a1a88c3851a.tar.bz2
tangerine-wallet-browser-d927a3c20a1b8d47baaf215ef88d9a1a88c3851a.tar.lz
tangerine-wallet-browser-d927a3c20a1b8d47baaf215ef88d9a1a88c3851a.tar.xz
tangerine-wallet-browser-d927a3c20a1b8d47baaf215ef88d9a1a88c3851a.tar.zst
tangerine-wallet-browser-d927a3c20a1b8d47baaf215ef88d9a1a88c3851a.zip
Use localhost instead of mainnent/infura for custom rpc tests in e2e tests.
Diffstat (limited to 'test')
-rw-r--r--test/e2e/beta/metamask-beta-ui.spec.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/e2e/beta/metamask-beta-ui.spec.js b/test/e2e/beta/metamask-beta-ui.spec.js
index 89193046e..3b74d6fe0 100644
--- a/test/e2e/beta/metamask-beta-ui.spec.js
+++ b/test/e2e/beta/metamask-beta-ui.spec.js
@@ -1307,10 +1307,10 @@ describe('MetaMask', function () {
describe('Stores custom RPC history', () => {
const customRpcUrls = [
- 'https://mainnet.infura.io/1',
- 'https://mainnet.infura.io/2',
- 'https://mainnet.infura.io/3',
- 'https://mainnet.infura.io/4',
+ 'http://127.0.0.1:8545/1',
+ 'http://127.0.0.1:8545/2',
+ 'http://127.0.0.1:8545/3',
+ 'http://127.0.0.1:8545/4',
]
customRpcUrls.forEach(customRpcUrl => {
@@ -1349,7 +1349,7 @@ describe('MetaMask', function () {
await delay(regularDelayMs)
// only recent 3 are found and in correct order (most recent at the top)
- const customRpcs = await findElements(driver, By.xpath(`//span[contains(text(), 'https://mainnet.infura.io/')]`))
+ const customRpcs = await findElements(driver, By.xpath(`//span[contains(text(), 'http://127.0.0.1:8545/')]`))
assert.equal(customRpcs.length, customRpcUrls.length)
})