diff options
Diffstat (limited to 'e2e/contents/zoom.test.js')
-rw-r--r-- | e2e/contents/zoom.test.js | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/e2e/contents/zoom.test.js b/e2e/contents/zoom.test.js index c2e787f..c7efc93 100644 --- a/e2e/contents/zoom.test.js +++ b/e2e/contents/zoom.test.js @@ -1,16 +1,14 @@ -import { expect } from "chai"; 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 { CLIENT_URL } from '../web-server/url'; -const SERVER_URL = "localhost:11111/"; - -describe("tab test", () => { +describe("zoom test", () => { let targetWindow; let targetTab; before(() => { - return windows.create(SERVER_URL).then((win) => { + return windows.create(CLIENT_URL).then((win) => { targetWindow = win; }); }); @@ -20,7 +18,7 @@ describe("tab test", () => { }); beforeEach(() => { - return tabs.create(targetWindow.id, SERVER_URL).then((tab) => { + return tabs.create(targetWindow.id, CLIENT_URL).then((tab) => { targetTab = tab; }); }); |