diff options
author | Thomas <thomas.b.huang@gmail.com> | 2018-05-08 22:03:17 +0800 |
---|---|---|
committer | Thomas <thomas.b.huang@gmail.com> | 2018-05-08 22:03:17 +0800 |
commit | f7a3d8887cf7e6fd198e3143825f0f8a50765376 (patch) | |
tree | 905ad9da976b7d665c427b2ca78430b0623ac477 /test/e2e | |
parent | 228e06110d3fe90c0f42c1166dbe5573bf5a4043 (diff) | |
download | tangerine-wallet-browser-f7a3d8887cf7e6fd198e3143825f0f8a50765376.tar tangerine-wallet-browser-f7a3d8887cf7e6fd198e3143825f0f8a50765376.tar.gz tangerine-wallet-browser-f7a3d8887cf7e6fd198e3143825f0f8a50765376.tar.bz2 tangerine-wallet-browser-f7a3d8887cf7e6fd198e3143825f0f8a50765376.tar.lz tangerine-wallet-browser-f7a3d8887cf7e6fd198e3143825f0f8a50765376.tar.xz tangerine-wallet-browser-f7a3d8887cf7e6fd198e3143825f0f8a50765376.tar.zst tangerine-wallet-browser-f7a3d8887cf7e6fd198e3143825f0f8a50765376.zip |
Update to extension Id path for new chrome
Diffstat (limited to 'test/e2e')
-rw-r--r-- | test/e2e/chrome/metamask.spec.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/e2e/chrome/metamask.spec.js b/test/e2e/chrome/metamask.spec.js index f901290b6..f49664646 100644 --- a/test/e2e/chrome/metamask.spec.js +++ b/test/e2e/chrome/metamask.spec.js @@ -39,12 +39,12 @@ describe('Metamask popup page', function () { }) it(`selects MetaMask's extension id and opens it in the current tab`, async function () { - // // For latest Chrome version (when they updated the extension view) - // // Use piercing CSS selector /deep/ to access the extension id in the Shadow Dom - // const elems = await driver.findElements(By.css('* /deep/ extensions-item')) - // extensionId = await elems[1].getAttribute('id') - const elems = await driver.findElements(By.css('.extension-list-item-wrapper')) + // For latest Chrome version (when they updated the extension view) + // Use piercing CSS selector /deep/ to access the extension id in the Shadow Dom + const elems = await driver.findElements(By.css('* /deep/ extensions-item')) extensionId = await elems[1].getAttribute('id') + // const elems = await driver.findElements(By.css('.extension-list-item-wrapper')) + // extensionId = await elems[1].getAttribute('id') await driver.get(`chrome-extension://${extensionId}/popup.html`) await delay(500) }) |