1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-23 02:10:12 +01:00

Update test:screens to newest chrome extension list

This commit is contained in:
Thomas 2018-05-08 07:30:05 -07:00
parent 6c9b303dbd
commit d59105299a

View File

@ -39,7 +39,7 @@ async function captureAllScreens() {
const extPath = path.resolve('dist/chrome')
driver = buildWebDriver(extPath)
await driver.get('chrome://extensions-frame')
const elems = await driver.findElements(By.css('.extension-list-item-wrapper'))
const elems = await driver.findElements(By.css('* /deep/ extensions-item'))
const extensionId = await elems[1].getAttribute('id')
await driver.get(`chrome-extension://${extensionId}/home.html`)
await delay(500)