diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2018-05-14 20:57:39 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-14 20:57:39 +0900 |
commit | e9a6fb85583a891cba2683f2abb05f34e13bff43 (patch) | |
tree | f9879006fc6475a1cf9fd98bffd1b9541f5aa4c9 /e2e/contents/zoom.test.js | |
parent | c6c885345e212bedc2723e9105488d3e5fe9f8be (diff) | |
parent | a8d3de42434153d90eebdcceb536ce0537c9167f (diff) |
Merge pull request #392 from ueokande/e2e-testing
Add e2e test cases
Diffstat (limited to 'e2e/contents/zoom.test.js')
-rw-r--r-- | e2e/contents/zoom.test.js | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/e2e/contents/zoom.test.js b/e2e/contents/zoom.test.js index 10b7cca..c7efc93 100644 --- a/e2e/contents/zoom.test.js +++ b/e2e/contents/zoom.test.js @@ -1,15 +1,14 @@ import * as windows from "../ambassador/src/client/windows"; import * as tabs from "../ambassador/src/client/tabs"; import * as keys from "../ambassador/src/client/keys"; - -const SERVER_URL = "localhost:11111/"; +import { CLIENT_URL } from '../web-server/url'; describe("zoom test", () => { let targetWindow; let targetTab; before(() => { - return windows.create(SERVER_URL).then((win) => { + return windows.create(CLIENT_URL).then((win) => { targetWindow = win; }); }); @@ -19,7 +18,7 @@ describe("zoom test", () => { }); beforeEach(() => { - return tabs.create(targetWindow.id, SERVER_URL).then((tab) => { + return tabs.create(targetWindow.id, CLIENT_URL).then((tab) => { targetTab = tab; }); }); |