test - e2e - extensionUri should point to home.html

feature/default_network_editable
kumavis 7 years ago
parent 93a2e28705
commit 4773a7f3ec
  1. 4
      test/e2e/func.js

@ -42,13 +42,13 @@ async function setupBrowserAndExtension ({ browser, extPath }) {
if (browser === 'chrome') {
driver = buildChromeWebDriver(extPath)
extensionId = await getExtensionIdChrome(driver)
extensionUri = `chrome-extension://${extensionId}/popup.html`
extensionUri = `chrome-extension://${extensionId}/home.html`
} else if (browser === 'firefox') {
driver = buildFirefoxWebdriver()
await installWebExt(driver, extPath)
await delay(700)
extensionId = await getExtensionIdFirefox(driver)
extensionUri = `moz-extension://${extensionId}/popup.html`
extensionUri = `moz-extension://${extensionId}/home.html`
} else {
throw new Error(`Unknown Browser "${browser}"`)
}

Loading…
Cancel
Save