aboutsummaryrefslogtreecommitdiff
path: root/e2e/contents/scroll.test.js
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2018-05-13 12:17:09 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2018-05-13 12:17:09 +0900
commitd844440a30a2ae6ddce0ff59af6c7572041f9bb4 (patch)
tree089bbc4df9b43233602ede5c2ebe0072fb3be31d /e2e/contents/scroll.test.js
parente17399c4df35d5cd55300e9555240818eae5cf2c (diff)
Fix debug web-server on e2e testing
Diffstat (limited to 'e2e/contents/scroll.test.js')
-rw-r--r--e2e/contents/scroll.test.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/e2e/contents/scroll.test.js b/e2e/contents/scroll.test.js
index 0a896b3..9410343 100644
--- a/e2e/contents/scroll.test.js
+++ b/e2e/contents/scroll.test.js
@@ -2,8 +2,7 @@ import * as windows from "../ambassador/src/client/windows";
import * as tabs from "../ambassador/src/client/tabs";
import * as keys from "../ambassador/src/client/keys";
import * as scrolls from "../ambassador/src/client/scrolls";
-
-const SERVER_URL = "localhost:11111";
+import { CLIENT_URL } from '../web-server/url';
describe("scroll test", () => {
let targetWindow;
@@ -12,7 +11,7 @@ describe("scroll test", () => {
before(() => {
return windows.create().then((win) => {
targetWindow = win;
- return tabs.create(targetWindow.id, SERVER_URL);
+ return tabs.create(targetWindow.id, CLIENT_URL + '/scroll');
}).then((tab) => {
targetTab = tab;
});