aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWhymarrh Whitby <whymarrh.whitby@gmail.com>2018-05-15 00:27:58 +0800
committerWhymarrh Whitby <whymarrh.whitby@gmail.com>2018-05-15 00:27:58 +0800
commit4e91fc863987fa002aa4184316282ebac9945735 (patch)
treefacda02e268576ddbf266ae6b548d92cb37ecd3b
parent6afd169e603fead364aa3608c90e6e8a20fcb0dc (diff)
downloadtangerine-wallet-browser-4e91fc863987fa002aa4184316282ebac9945735.tar
tangerine-wallet-browser-4e91fc863987fa002aa4184316282ebac9945735.tar.gz
tangerine-wallet-browser-4e91fc863987fa002aa4184316282ebac9945735.tar.bz2
tangerine-wallet-browser-4e91fc863987fa002aa4184316282ebac9945735.tar.lz
tangerine-wallet-browser-4e91fc863987fa002aa4184316282ebac9945735.tar.xz
tangerine-wallet-browser-4e91fc863987fa002aa4184316282ebac9945735.tar.zst
tangerine-wallet-browser-4e91fc863987fa002aa4184316282ebac9945735.zip
e2e: Adjust the extension ID query for newer Chrome versions
-rw-r--r--test/e2e/chrome/metamask.spec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/e2e/chrome/metamask.spec.js b/test/e2e/chrome/metamask.spec.js
index 87ccf8a83..b17d4c818 100644
--- a/test/e2e/chrome/metamask.spec.js
+++ b/test/e2e/chrome/metamask.spec.js
@@ -291,7 +291,7 @@ describe('Metamask popup page', function () {
})
async function getExtensionId () {
- const extension = await driver.executeScript('return document.querySelector("extensions-manager").shadowRoot.querySelector("extensions-view-manager extensions-item-list").shadowRoot.querySelector("#container > div.items-container > extensions-item:nth-child(2)").getAttribute("id")')
+ const extension = await driver.executeScript('return document.querySelector("extensions-manager").shadowRoot.querySelector("extensions-view-manager extensions-item-list").shadowRoot.querySelector("extensions-item:nth-child(2)").getAttribute("id")')
return extension
}