diff options
chromedriver, changed extension id(might need zip/crx file)
Diffstat (limited to 'test')
-rw-r--r-- | test/e2e/func.js | 1 | ||||
-rw-r--r-- | test/e2e/metamask.spec.js | 2 |
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`) |