diff --git a/e2e/console.test.js b/e2e/console.test.js index a7c6c63..6f6341f 100644 --- a/e2e/console.test.js +++ b/e2e/console.test.js @@ -20,7 +20,7 @@ const newApp = () => { }; -describe("zoom test", () => { +describe("console test", () => { const port = 12321; let http; let firefox; @@ -31,7 +31,7 @@ describe("zoom test", () => { before(async() => { firefox = await lanthan.firefox(); - await firefox.session.installAddon(path.join(__dirname, '..')); + await firefox.session.installAddonFromPath(path.join(__dirname, '..')); session = firefox.session; browser = firefox.browser; http = newApp().listen(port); diff --git a/e2e/mark.test.js b/e2e/mark.test.js index 8f350b7..8716c1e 100644 --- a/e2e/mark.test.js +++ b/e2e/mark.test.js @@ -29,7 +29,7 @@ describe("mark test", () => { http = newApp().listen(port); firefox = await lanthan.firefox(); - await firefox.session.installAddon(path.join(__dirname, '..')); + await firefox.session.installAddonFromPath(path.join(__dirname, '..')); session = firefox.session; browser = firefox.browser; }); diff --git a/e2e/navigate.test.js b/e2e/navigate.test.js index 5c4e2d4..62be469 100644 --- a/e2e/navigate.test.js +++ b/e2e/navigate.test.js @@ -43,7 +43,7 @@ const newApp = () => { return app; }; -describe("zoom test", () => { +describe("navigate test", () => { const port = 12321; let http; @@ -59,7 +59,7 @@ describe("zoom test", () => { 'browser.startup.homepage': `http://127.0.0.1:${port}#home`, } }); - await firefox.session.installAddon(path.join(__dirname, '..')); + await firefox.session.installAddonFromPath(path.join(__dirname, '..')); session = firefox.session; browser = firefox.browser; }); diff --git a/e2e/scroll.test.js b/e2e/scroll.test.js index 32b0012..0ce3ec6 100644 --- a/e2e/scroll.test.js +++ b/e2e/scroll.test.js @@ -28,7 +28,7 @@ describe("scroll test", () => { http = newApp().listen(port); firefox = await lanthan.firefox(); - await firefox.session.installAddon(path.join(__dirname, '..')); + await firefox.session.installAddonFromPath(path.join(__dirname, '..')); session = firefox.session; }); diff --git a/e2e/tab.test.js b/e2e/tab.test.js index 39338aa..16d61ae 100644 --- a/e2e/tab.test.js +++ b/e2e/tab.test.js @@ -28,7 +28,7 @@ describe("tab test", () => { before(async() => { firefox = await lanthan.firefox(); - await firefox.session.installAddon(path.join(__dirname, '..')); + await firefox.session.installAddonFromPath(path.join(__dirname, '..')); session = firefox.session; browser = firefox.browser; http = newApp().listen(port); diff --git a/e2e/zoom.test.js b/e2e/zoom.test.js index e8e586e..186f67f 100644 --- a/e2e/zoom.test.js +++ b/e2e/zoom.test.js @@ -16,7 +16,7 @@ describe("zoom test", () => { before(async() => { firefox = await lanthan.firefox(); - await firefox.session.installAddon(path.join(__dirname, '..')); + await firefox.session.installAddonFromPath(path.join(__dirname, '..')); session = firefox.session; browser = firefox.browser; tab = (await browser.tabs.query({}))[0]