aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2019-04-13 09:38:59 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2019-04-13 09:38:59 +0900
commit9fe09eba97e962b96088f2b79a8364d51972b58a (patch)
tree2035d3ca86da02d746a31e4d6ec79416e72ec8d2
parentdbbd6d704eacd4c4ab7c1b139c0060225f14d982 (diff)
Follow the master in lanthan
-rw-r--r--e2e/console.test.js4
-rw-r--r--e2e/mark.test.js2
-rw-r--r--e2e/navigate.test.js4
-rw-r--r--e2e/scroll.test.js2
-rw-r--r--e2e/tab.test.js2
-rw-r--r--e2e/zoom.test.js2
6 files changed, 8 insertions, 8 deletions
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]