From 0db4ba1086f56422752dd4b9e3754a273d23a866 Mon Sep 17 00:00:00 2001 From: Thomas Date: Thu, 18 Jan 2018 08:10:53 -0800 Subject: chromedriver, changed extension id(might need zip/crx file) --- test/e2e/func.js | 1 + test/e2e/metamask.spec.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'test/e2e') 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`) -- cgit v1.2.3