aboutsummaryrefslogtreecommitdiffstats
path: root/test/e2e
diff options
context:
space:
mode:
authorThomas <tmashuang@gmail.com>2018-01-19 00:10:53 +0800
committerThomas <tmashuang@gmail.com>2018-01-19 00:10:53 +0800
commit0db4ba1086f56422752dd4b9e3754a273d23a866 (patch)
tree1d7d42f6947846dca06f0da85a418bf2df5fd86d /test/e2e
parentd317f7aaab2a9d4fe179fc8c7b89416fc5f36fb1 (diff)
downloadtangerine-wallet-browser-0db4ba1086f56422752dd4b9e3754a273d23a866.tar
tangerine-wallet-browser-0db4ba1086f56422752dd4b9e3754a273d23a866.tar.gz
tangerine-wallet-browser-0db4ba1086f56422752dd4b9e3754a273d23a866.tar.bz2
tangerine-wallet-browser-0db4ba1086f56422752dd4b9e3754a273d23a866.tar.lz
tangerine-wallet-browser-0db4ba1086f56422752dd4b9e3754a273d23a866.tar.xz
tangerine-wallet-browser-0db4ba1086f56422752dd4b9e3754a273d23a866.tar.zst
tangerine-wallet-browser-0db4ba1086f56422752dd4b9e3754a273d23a866.zip
chromedriver, changed extension id(might need zip/crx file)
Diffstat (limited to 'test/e2e')
-rw-r--r--test/e2e/func.js1
-rw-r--r--test/e2e/metamask.spec.js2
2 files changed, 2 insertions, 1 deletions
diff --git a/test/e2e/func.js b/test/e2e/func.js
index 50363ade3..733225565 100644
--- a/test/e2e/func.js
+++ b/test/e2e/func.js
@@ -1,3 +1,4 @@
+require('chromedriver')
const webdriver = require('selenium-webdriver')
exports.delay = function delay (time) {
diff --git a/test/e2e/metamask.spec.js b/test/e2e/metamask.spec.js
index fc748fe18..cf4cd0b52 100644
--- a/test/e2e/metamask.spec.js
+++ b/test/e2e/metamask.spec.js
@@ -15,7 +15,7 @@ describe('Metamask popup page', function () {
driver = buildWebDriver(extPath)
await driver.get('chrome://extensions-frame')
const elems = await driver.findElements(By.xpath(
- '//*[@id="jepnlelaaflcpibhckpebdcijgfdfleo"]'
+ '//*[@id="fmmjaglpijbgopejlfapbkhhbnaagbpj"]'
))
const extensionId = await elems[0].getAttribute('id')
await driver.get(`chrome-extension://${extensionId}/popup.html`)